aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-09-03 13:28:55 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-09-03 14:42:20 +0000
commit678ba23b556cd7be99c29276a212d1bd506c4fff (patch)
tree8e1b457d540715d0180b633188f6d0dff7f16c07 /WORKSPACE
parent494eca9cf1ad0b1baeebb8a1f05cd0f9b69d03fb (diff)
Add an integration test for Android rules.
Currently only building them is tested, not running them or mobile-install, but it's still a good start. -- MOS_MIGRATED_REVID=102237496
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE25
1 files changed, 25 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index b4ee4e467a..ff17d5f52c 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -55,3 +55,28 @@ new_http_archive(
sha256 = "0d471e672fac5a450ae5507b335fda2efc0b22ea9fb7f215c6a9c466dafa2661",
build_file = "tools/build_rules/rust/rust-darwin-x86_64.BUILD",
)
+
+# In order to run the Android integration tests, uncomment these rules, point
+# them to the Android NDK and the SDK, and point the bind rules under them
+# to @repository//:all.
+# new_local_repository(
+# name = "globbed_android_sdk",
+# path = "/usr/local/google/home/lberki/android/android-sdk-linux",
+# build_file = "BUILD.glob"
+# )
+#
+# new_local_repository(
+# name = "globbed_android_ndk",
+# path = "/usr/local/google/home/lberki/android/android-ndk",
+# build_file = "BUILD.glob"
+# )
+
+bind(
+ name = "android_sdk_for_testing",
+ actual = "//:dummy",
+)
+
+bind(
+ name = "android_ndk_for_testing",
+ actual = "//:dummy",
+)