From 0c1a8cfb0a928066602c09cccbf7fc995eecfbf6 Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Fri, 5 Feb 2016 18:37:12 +0000 Subject: 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 --- WORKSPACE | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE index 76cbc6fcbd..609093fce4 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -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") -- cgit v1.2.3