aboutsummaryrefslogtreecommitdiff
path: root/tools/android/BUILD
diff options
context:
space:
mode:
authorAlex Humesky <ahumesky@google.com>2021-03-22 20:15:41 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-22 20:15:41 +0000
commitcf1903cf5c87759121c4d2fe9392e337046be8cc (patch)
tree4ff6434731886c36f5a6eef7606a7d31696542df /tools/android/BUILD
parent4853710de605fea0a612deade778402daf654353 (diff)
parenta59fc225f8a4c9cc21d903f2ca2dfef65e8fe7ac (diff)
downloadbazelbuild-rules_android-cf1903cf5c87759121c4d2fe9392e337046be8cc.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/bazelbuild-rules_android/+/1646589 Change-Id: I5a2b33b1ab8b8b696e26daab6719932011df6519
Diffstat (limited to 'tools/android/BUILD')
-rw-r--r--tools/android/BUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/android/BUILD b/tools/android/BUILD
index c0f554c..7c33f67 100644
--- a/tools/android/BUILD
+++ b/tools/android/BUILD
@@ -8,6 +8,18 @@ android_jar(
# TODO(b/175833857): This is a stub, should remove.
alias(
name = "merge_manifests",
- actual = "@androidsdk//:fail",
+ actual = ":fail",
visibility = ["//visibility:public"],
)
+
+genrule(
+ name = "gen_fail",
+ outs = ["fail.sh"],
+ cmd = "echo 'exit 1' > $@",
+ executable = 1,
+)
+
+sh_binary(
+ name = "fail",
+ srcs =[":fail.sh"],
+)