summaryrefslogtreecommitdiff
path: root/app/java/BUILD
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-04-29 10:07:00 +0200
committerDaniel Weipert <code@drogueronin.de>2023-04-29 10:07:00 +0200
commit2259ae916239a3e6a84226583edc610a578cb98e (patch)
treefe439e1985b795832d4cad62c583b21dc6cfc832 /app/java/BUILD
initial commit
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"],
+)