blob: cd617c17c522407b3fa7b72c9a33f45859806085 [file] [log] [blame]
package(default_visibility = ["//kythe:default_visibility"])
load("//:visibility.bzl", "PUBLIC_VISIBILITY")
cc_library(
name = "cmdlib",
srcs = [
"kindex_tool_main.cc",
],
copts = [
"-Wno-non-virtual-dtor",
"-Wno-unused-variable",
"-Wno-implicit-fallthrough",
],
deps = [
"//external:zlib",
"//kythe/cxx/common:kzip_reader",
"//kythe/proto:analysis_cc_proto",
"//kythe/proto:buildinfo_cc_proto",
"//kythe/proto:cxx_cc_proto",
"//kythe/proto:filecontext_cc_proto",
"@com_github_gflags_gflags//:gflags",
"@com_github_google_glog//:glog",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
"@com_google_protobuf//:protobuf",
"@com_googlesource_code_re2//:re2",
],
)
cc_library(
name = "claimcmdlib",
srcs = [
"static_claim_main.cc",
],
copts = [
"-Wno-non-virtual-dtor",
"-Wno-unused-variable",
"-Wno-implicit-fallthrough",
],
deps = [
"//external:zlib",
"//kythe/cxx/common:lib",
"//kythe/cxx/extractor:index_pack",
"//kythe/proto:analysis_cc_proto",
"//kythe/proto:claim_cc_proto",
"//kythe/proto:filecontext_cc_proto",
"@com_github_gflags_gflags//:gflags",
"@com_github_google_glog//:glog",
"@com_google_absl//absl/strings:str_format",
"@com_google_protobuf//:protobuf",
],
)
cc_library(
name = "shucklib",
srcs = [
"shuck_main.cc",
],
copts = [
"-Wno-non-virtual-dtor",
"-Wno-unused-variable",
"-Wno-implicit-fallthrough",
],
deps = [
"//external:zlib",
"//kythe/cxx/extractor:index_pack",
"//kythe/proto:analysis_cc_proto",
"//kythe/proto:claim_cc_proto",
"@com_github_gflags_gflags//:gflags",
"@com_github_google_glog//:glog",
"@com_google_absl//absl/strings:str_format",
"@com_google_protobuf//:protobuf",
],
)
cc_binary(
name = "kindex_tool",
visibility = [PUBLIC_VISIBILITY],
deps = [
":cmdlib",
],
)
cc_binary(
name = "shuck",
deps = [
":shucklib",
],
)
cc_binary(
name = "static_claim",
deps = [
":claimcmdlib",
],
)
cc_binary(
name = "proto_metadata_plugin",
srcs = ["proto_metadata_plugin.cc"],
deps = [
"@com_github_google_glog//:glog",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:node_hash_map",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings",
"@com_google_protobuf//:protobuf",
"@com_google_protobuf//:protoc_lib",
],
)