blob: 10d3c0e1412a9963f208ed6254668857c8703e21 [file] [log] [blame]
# Bazel (https://bazel.io/) BUILD file for apksig library and apksigner tool.
licenses(["notice"]) # Apache License 2.0
java_library(
name = "apksig",
srcs = glob([
"src/main/java/**/*.java",
]),
visibility = ["//visibility:public"],
)
java_binary(
name = "apksigner",
srcs = glob([
"src/apksigner/java/**/*.java",
]),
main_class = "com.android.apksigner.ApkSignerTool",
resources = glob([
"src/apksigner/java/**/*.txt",
]),
visibility = ["//visibility:public"],
deps = [":apksig"],
)
java_test(
name = "all",
srcs = glob([
"src/test/java/com/android/apksig/**/*.java",
]),
test_class = "com.android.apksig.AllTests",
deps = [":apksig"],
)