kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/cxx/common/indexing/BUILD (about) 1 load("//:visibility.bzl", "PUBLIC_VISIBILITY") 2 3 package( 4 default_visibility = ["//kythe:default_visibility"], 5 features = ["layering_check"], 6 ) 7 8 cc_library( 9 name = "output", 10 srcs = [ 11 "KytheGraphRecorder.cc", 12 ], 13 hdrs = [ 14 "KytheGraphRecorder.h", 15 "KytheOutputStream.h", 16 ], 17 features = [ 18 "-layering_check", # TODO: protocolbuffers/protobuf#10889 19 ], 20 visibility = ["//visibility:public"], 21 deps = [ 22 "//kythe/proto:analysis_cc_proto", 23 "//kythe/proto:common_cc_proto", 24 "//kythe/proto:storage_cc_proto", 25 "@com_google_absl//absl/memory", 26 "@com_google_absl//absl/strings", 27 "@com_google_absl//absl/strings:str_format", 28 "@com_google_protobuf//:protobuf", 29 ], 30 ) 31 32 cc_library( 33 name = "caching_output", 34 srcs = [ 35 "KytheCachingOutput.cc", 36 "MemcachedHashCache.cc", 37 ], 38 hdrs = [ 39 "KytheCachingOutput.h", 40 "MemcachedHashCache.h", 41 ], 42 features = [ 43 "-layering_check", # TODO: protocolbuffers/protobuf#10889 44 ], 45 visibility = [PUBLIC_VISIBILITY], 46 deps = [ 47 ":output", 48 "//external:libmemcached", 49 "//kythe/cxx/common:sha256_hasher", 50 "//kythe/proto:analysis_cc_proto", 51 "//kythe/proto:common_cc_proto", 52 "//kythe/proto:storage_cc_proto", 53 "@boringssl//:crypto", 54 "@com_google_absl//absl/log", 55 "@com_google_absl//absl/log:die_if_null", 56 "@com_google_absl//absl/memory", 57 "@com_google_absl//absl/strings", 58 "@com_google_absl//absl/strings:str_format", 59 "@com_google_protobuf//:protobuf", 60 ], 61 ) 62 63 cc_library( 64 name = "testlib", 65 hdrs = [ 66 "RecordingOutputStream.h", 67 ], 68 deps = [":output"], 69 )