kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/cxx/extractor/proto/BUILD (about) 1 package(features = ["layering_check"]) 2 3 cc_binary( 4 name = "proto_extractor", 5 srcs = ["proto_extractor_main.cc"], 6 features = [ 7 "-layering_check", # TODO: protocolbuffers/protobuf#10889 8 ], 9 visibility = ["//visibility:public"], 10 deps = [ 11 ":lib", 12 "//kythe/cxx/common:init", 13 "//kythe/cxx/common:kzip_writer", 14 "//kythe/cxx/common:path_utils", 15 "//kythe/cxx/indexer/proto:search_path", 16 "//kythe/proto:analysis_cc_proto", 17 "@com_google_absl//absl/flags:parse", 18 "@com_google_absl//absl/flags:usage", 19 "@com_google_absl//absl/log", 20 "@com_google_absl//absl/log:check", 21 "@com_google_absl//absl/strings", 22 "@com_google_protobuf//:protobuf", 23 ], 24 ) 25 26 cc_library( 27 name = "lib", 28 srcs = ["proto_extractor.cc"], 29 hdrs = ["proto_extractor.h"], 30 features = [ 31 "-layering_check", # TODO: protocolbuffers/protobuf#10889 32 ], 33 visibility = ["//kythe/cxx/extractor/textproto:__subpackages__"], 34 deps = [ 35 "//kythe/cxx/common:file_utils", 36 "//kythe/cxx/common:file_vname_generator", 37 "//kythe/cxx/common:index_writer", 38 "//kythe/cxx/common:lib", 39 "//kythe/cxx/common:path_utils", 40 "//kythe/cxx/indexer/proto:search_path", 41 "//kythe/proto:analysis_cc_proto", 42 "@com_google_absl//absl/log", 43 "@com_google_absl//absl/log:check", 44 "@com_google_absl//absl/strings", 45 "@com_google_protobuf//:protobuf", 46 "@com_google_protobuf//src/google/protobuf/compiler:importer", 47 "@com_google_protobuf//src/google/protobuf/io", 48 ], 49 )