diff options
author | Narayan Kamath <narayan@google.com> | 2015-01-06 17:41:21 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-01-06 17:44:53 +0000 |
commit | cc0dc62d4eff019fe918b9c1f7e34a076b2a6fa4 (patch) | |
tree | aa86db8c5840228d4e822cfead45846253357433 | |
parent | bd63be61caf85120ee69cda508a35580a230d57c (diff) | |
download | bouncycastle-cc0dc62d4eff019fe918b9c1f7e34a076b2a6fa4.tar.gz |
Build bouncycastle-hostdex only on linux hosts.
conscrypt is only buildable on linux and is a dependency.
Change-Id: If383eeab3c6dab95772c9a0fc46da9eabed3cd68
-rw-r--r-- | Android.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |