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