summaryrefslogtreecommitdiff
path: root/app/java/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'app/java/BUILD')
-rw-r--r--app/java/BUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/java/BUILD b/app/java/BUILD
new file mode 100644
index 0000000..c19473f
--- /dev/null
+++ b/app/java/BUILD
@@ -0,0 +1,14 @@
+load("@build_bazel_rules_android//android:rules.bzl", "android_library", "android_binary")
+
+android_library(
+ name = "main",
+ srcs = glob(["src/*.java"]),
+ manifest = "AndroidManifest.xml",
+ resource_files = glob(["res/**"]),
+)
+
+android_binary(
+ name = "dnsproxy",
+ manifest = "AndroidManifest.xml",
+ deps = [":main"],
+)