1load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") 2load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") 3 4licenses(["notice"]) 5 6go_library( 7 name = "respipe", 8 srcs = [ 9 "errors.go", 10 "path_emitter.go", 11 "res_io.go", 12 "streams.go", 13 ], 14 importpath = "src/tools/ak/res/respipe/respipe", 15 visibility = [ 16 "//src/tools/ak:__subpackages__", 17 "//src/tools/resource_extractor:__subpackages__", 18 "//tools/android/incremental:__subpackages__", 19 ], 20 deps = [ 21 "//src/tools/ak/res", 22 "//src/tools/ak/res/proto:res_data_go_proto", 23 "@org_golang_google_protobuf//proto", 24 ], 25) 26 27go_test( 28 name = "respipe_test", 29 size = "small", 30 srcs = [ 31 "errors_test.go", 32 "path_emitter_test.go", 33 "res_io_test.go", 34 "streams_test.go", 35 ], 36 embed = [":respipe"], 37 deps = [ 38 "//src/tools/ak/res", 39 "//src/tools/ak/res/proto:res_data_go_proto", 40 "@org_golang_google_protobuf//proto", 41 ], 42) 43