kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/gcp/config/BUILD (about) 1 load("//tools:build_rules/shims.bzl", "go_library", "go_test") 2 3 package(default_visibility = ["//kythe:default_visibility"]) 4 5 go_library( 6 name = "config", 7 srcs = [ 8 "bazel.go", 9 "common.go", 10 "converter.go", 11 "gradle.go", 12 "maven.go", 13 ], 14 importpath = "kythe.io/kythe/go/extractors/gcp/config", 15 deps = [ 16 "//kythe/go/extractors/constants", 17 "//kythe/proto:repo_go_proto", 18 "@io_k8s_sigs_yaml//:yaml", 19 "@org_golang_google_api//cloudbuild/v1:cloudbuild", 20 "@org_golang_google_protobuf//encoding/protojson", 21 ], 22 ) 23 24 go_test( 25 name = "config_test", 26 srcs = ["converter_test.go"], 27 data = [ 28 ":testdatafiles", 29 "//kythe/extractors/gcp/examples:yaml_examples", 30 ], 31 library = ":config", 32 deps = [ 33 "//kythe/go/test/testutil", 34 ], 35 ) 36 37 filegroup( 38 name = "testdatafiles", 39 srcs = glob(["testdata/**"]), 40 )