blob: 4a7dea992ea1f62a74f3370d0e94c02485281767 [file]
# Description:
# Package for compile module
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
package(
default_applicable_licenses = ["//:license"],
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"],
)