summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-01-07 10:21:31 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-07 10:21:31 +0000
commit6d4b5976ada19330b2f7c060b2a81675771d126c (patch)
treeaa86db8c5840228d4e822cfead45846253357433
parent6d45be3bc70875478d51efda6250971663201451 (diff)
parent75c094164ecc6ffaecd985b06edd60562fbf084b (diff)
downloadandroid_external_bouncycastle-6d4b5976ada19330b2f7c060b2a81675771d126c.tar.gz
android_external_bouncycastle-6d4b5976ada19330b2f7c060b2a81675771d126c.tar.bz2
android_external_bouncycastle-6d4b5976ada19330b2f7c060b2a81675771d126c.zip
am 75c09416: am 25324b6b: Merge "Build bouncycastle-hostdex only on linux hosts."
* commit '75c094164ecc6ffaecd985b06edd60562fbf084b': Build bouncycastle-hostdex only on linux hosts.
-rw-r--r--Android.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 86cd8d6..37a212a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -108,9 +108,10 @@ bouncycastle-proguard-deadcode: $(full_classes_compiled_jar) $(full_java_libs)
public java.lang.String getPaddingName(); \
}"
-# Conscrypt isn't built in the PDK, so this cannot be built because it has a
-# dependency on conscrypt-hostdex.
+# Conscrypt isn't built in the PDK or on non-linux OSes, so this cannot be built
+# because it has a dependency on conscrypt-hostdex.
ifneq ($(TARGET_BUILD_PDK),true)
+ ifeq ($(HOST_OS),linux)
include $(CLEAR_VARS)
LOCAL_MODULE := bouncycastle-hostdex
LOCAL_MODULE_TAGS := optional
@@ -121,6 +122,7 @@ ifneq ($(TARGET_BUILD_PDK),true)
LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)
+ endif # ($(HOST_OS),linux)
endif
include $(CLEAR_VARS)