diff options
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 66 |
1 files changed, 0 insertions, 66 deletions
@@ -54,31 +54,12 @@ cc_library( ) cc_library( - name = "upb_descriptor", - srcs = [ - "upb/descriptor/descriptor.upbdefs.c", - "upb/descriptor/reader.c", - ], - hdrs = [ - "upb/descriptor/descriptor.upbdefs.h", - "upb/descriptor/reader.h", - ], - copts = [ - "-std=c89", - "-pedantic", - "-Wno-long-long", - ], - deps = [":upb"], -) - -cc_library( name = "upb_pb", srcs = [ "upb/pb/compile_decoder.c", "upb/pb/decoder.c", "upb/pb/decoder.int.h", "upb/pb/encoder.c", - "upb/pb/glue.c", "upb/pb/textprinter.c", "upb/pb/varint.c", "upb/pb/varint.int.h", @@ -86,7 +67,6 @@ cc_library( hdrs = [ "upb/pb/decoder.h", "upb/pb/encoder.h", - "upb/pb/glue.h", "upb/pb/textprinter.h", ], copts = [ @@ -96,7 +76,6 @@ cc_library( ], deps = [ ":upb", - ":upb_descriptor", ], ) @@ -145,7 +124,6 @@ upb_amalgamation( amalgamator = ":amalgamate", libs = [ ":upb", - ":upb_descriptor", ":upb_pb", ":upb_json", ], @@ -223,7 +201,6 @@ cc_test( srcs = ["tests/test_cpp.cc"], deps = [ ":upb", - ":upb_descriptor", ":upb_pb", ":upb_test", ], @@ -315,23 +292,6 @@ lua_library( ) lua_cclibrary( - name = "lua/upb/table_c", - srcs = ["upb/bindings/lua/upb/table.c"], - luadeps = ["lua/upb_c"], - deps = ["upb"], -) - -lua_library( - name = "lua/upb/table", - srcs = ["upb/bindings/lua/upb/table.lua"], - luadeps = [ - "lua/upb", - "lua/upb/table_c", - ], - strip_prefix = "upb/bindings/lua", -) - -lua_cclibrary( name = "lua/upb/pb_c", srcs = ["upb/bindings/lua/upb/pb.c"], luadeps = ["lua/upb_c"], @@ -356,7 +316,6 @@ lua_library( ], luadeps = [ "lua/upb", - "lua/upb/table", ], strip_prefix = "tools", ) @@ -450,13 +409,6 @@ genrule( tools = ["@lua"], ) -proto_library( - name = "upb_descriptor_proto", - srcs = [ - "upb/descriptor/descriptor.proto", - ], -) - py_binary( name = "make_cmakelists", srcs = ["tools/make_cmakelists.py"], @@ -470,24 +422,6 @@ genrule( cmd = "$(location :make_cmakelists) $@" ) -genrule( - name = "copy_upb_descriptor_pb", - srcs = [":upb_descriptor_proto"], - outs = ["generated/upb/descriptor/descriptor.pb"], - cmd = "cp $< $@", -) - -genrule( - name = "generate_old_upbdefs", - srcs = ["generated/upb/descriptor/descriptor.pb"], - outs = [ - "generated/upb/descriptor/descriptor.upbdefs.h", - "generated/upb/descriptor/descriptor.upbdefs.c", - ], - cmd = "UPBC=$$PWD/$(location :lua_upbc); INFILE=$$PWD/$<; cd $(GENDIR)/generated && $$UPBC --generate-upbdefs $$INFILE", - tools = [":lua_upbc"], -) - proto_library( name = "google_descriptor_proto", srcs = [ |