diff options
Diffstat (limited to 'src/tools/ak/compile/BUILD')
-rw-r--r-- | src/tools/ak/compile/BUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/tools/ak/compile/BUILD b/src/tools/ak/compile/BUILD new file mode 100644 index 0000000..6b7f246 --- /dev/null +++ b/src/tools/ak/compile/BUILD @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") + +# Description: +# Package for compile module +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) + +go_binary( + name = "compile_bin", + srcs = ["compile_bin.go"], + deps = [ + ":compile", + "//src/common/golang:flagfile", + ], +) + +go_library( + name = "compile", + srcs = [ + "compile.go", + ], + importpath = "src/tools/ak/compile/compile", + deps = [ + "//src/common/golang:ziputils", + "//src/tools/ak:types", + ], +) + +go_test( + name = "compile_test", + size = "small", + srcs = [ + "compile_test.go", + ], + embed = [":compile"], +) |