diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-02-05 18:37:12 +0000 |
---|---|---|
committer | David Chen <dzc@google.com> | 2016-02-05 20:54:04 +0000 |
commit | 0c1a8cfb0a928066602c09cccbf7fc995eecfbf6 (patch) | |
tree | c997c61785d34f02ec1750c979a10c47e05579cd /WORKSPACE | |
parent | 8378cd840122509fb88efdc49eb5663cad9c7fc4 (diff) |
Fix ./compile.sh when no android support is present
Tested by merging and ./compile.sh with and without the ANDROID_* environment variables.
Fixes #851.
--
MOS_MIGRATED_REVID=113962923
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -12,6 +12,17 @@ jsonnet_repositories() rust_repositories() sass_repositories() +# Bind to dummy targets if no android SDK/NDK is present. +bind( + name = "android_sdk_for_testing", + actual = "//:dummy", +) + +bind( + name = "android_ndk_for_testing", + actual = "//:dummy", +) + # In order to run the Android integration tests, run # scripts/workspace_user.sh and uncomment the next two lines. # load("/WORKSPACE.user", "android_repositories") |