kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/cxx/extractor/textproto/BUILD (about)

     1  package(features = ["layering_check"])
     2  
     3  cc_binary(
     4      name = "textproto_extractor",
     5      srcs = ["textproto_extractor.cc"],
     6      visibility = ["//visibility:public"],
     7      deps = [
     8          ":textproto_schema",
     9          "//kythe/cxx/common:file_utils",
    10          "//kythe/cxx/common:index_writer",
    11          "//kythe/cxx/common:init",
    12          "//kythe/cxx/common:kzip_writer",
    13          "//kythe/cxx/common:path_utils",
    14          "//kythe/cxx/extractor/proto:lib",
    15          "//kythe/cxx/indexer/proto:search_path",
    16          "//kythe/proto:analysis_cc_proto",
    17          "//kythe/proto:storage_cc_proto",
    18          "@com_google_absl//absl/flags:flag",
    19          "@com_google_absl//absl/flags:parse",
    20          "@com_google_absl//absl/flags:usage",
    21          "@com_google_absl//absl/log",
    22          "@com_google_absl//absl/log:check",
    23          "@com_google_absl//absl/strings",
    24      ],
    25  )
    26  
    27  cc_library(
    28      name = "textproto_schema",
    29      srcs = ["textproto_schema.cc"],
    30      hdrs = ["textproto_schema.h"],
    31      visibility = ["//kythe/cxx/indexer/textproto:__pkg__"],
    32      deps = [
    33          "@com_google_absl//absl/strings",
    34      ],
    35  )
    36  
    37  cc_test(
    38      name = "textproto_schema_test",
    39      srcs = ["textproto_schema_test.cc"],
    40      deps = [
    41          ":textproto_schema",
    42          "//third_party:gtest",
    43          "//third_party:gtest_main",
    44      ],
    45  )