From dfaf384309d523a30bedcb9fe6da1074bafbe990 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Mon, 29 Apr 2013 13:25:29 -0700 Subject: [PATCH] Track change to JSSE provider Change-Id: I130b137f8ba62a3cf1b915dcf6a0cf3dc25043eb --- core/dex_preopt.mk | 2 +- core/tasks/cts.mk | 3 ++- target/product/core.mk | 1 + target/product/core_minimal.mk | 1 + target/product/mini.mk | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/dex_preopt.mk b/core/dex_preopt.mk index 2d26b33c8..0c9904a07 100644 --- a/core/dex_preopt.mk +++ b/core/dex_preopt.mk @@ -4,7 +4,7 @@ #################################### # TODO: replace it with device's BOOTCLASSPATH -DEXPREOPT_BOOT_JARS := core:okhttp:core-junit:bouncycastle:ext:framework:telephony-common:voip-common:mms-common:android.policy:services:apache-xml +DEXPREOPT_BOOT_JARS := core:conscrypt:okhttp:core-junit:bouncycastle:ext:framework:telephony-common:voip-common:mms-common:android.policy:services:apache-xml DEXPREOPT_BOOT_JARS_MODULES := $(subst :, ,$(DEXPREOPT_BOOT_JARS)) DEXPREOPT_BUILD_DIR := $(OUT_DIR) diff --git a/core/tasks/cts.mk b/core/tasks/cts.mk index 6e05b1876..9154f32cf 100644 --- a/core/tasks/cts.mk +++ b/core/tasks/cts.mk @@ -81,6 +81,7 @@ $(hide) java -Xmx256M \ endef CORE_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,core,,COMMON) +CONSCRYPT_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,conscrypt,,COMMON) BOUNCYCASTLE_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,bouncycastle,,COMMON) APACHEXML_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,apache-xml,,COMMON) OKHTTP_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,okhttp,,COMMON) @@ -88,7 +89,7 @@ SQLITEJDBC_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,sqlite-jd JUNIT_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,core-junit,,COMMON) CORETESTS_INTERMEDIATES :=$(call intermediates-dir-for,JAVA_LIBRARIES,core-tests,,COMMON) -GEN_CLASSPATH := $(CORE_INTERMEDIATES)/classes.jar:$(BOUNCYCASTLE_INTERMEDIATES)/classes.jar:$(APACHEXML_INTERMEDIATES)/classes.jar:$(OKHTTP_INTERMEDIATES)/classes.jar:$(JUNIT_INTERMEDIATES)/classes.jar:$(SQLITEJDBC_INTERMEDIATES)/javalib.jar:$(CORETESTS_INTERMEDIATES)/javalib.jar +GEN_CLASSPATH := $(CORE_INTERMEDIATES)/classes.jar:$(CONSCRYPT_INTERMEDIATES)/classes.jar:$(BOUNCYCASTLE_INTERMEDIATES)/classes.jar:$(APACHEXML_INTERMEDIATES)/classes.jar:$(OKHTTP_INTERMEDIATES)/classes.jar:$(JUNIT_INTERMEDIATES)/classes.jar:$(SQLITEJDBC_INTERMEDIATES)/javalib.jar:$(CORETESTS_INTERMEDIATES)/javalib.jar CTS_CORE_XMLS := \ $(CTS_TESTCASES_OUT)/android.core.tests.libcore.package.dalvik.xml \ diff --git a/target/product/core.mk b/target/product/core.mk index c0ab6e0be..5285ba8d3 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -82,6 +82,7 @@ ifeq ($(WITH_HOST_DALVIK),true) PRODUCT_PACKAGES += \ apache-xml-hostdex \ bouncycastle-hostdex \ + conscrypt-hostdex \ core-hostdex \ okhttp-hostdex \ libcrypto \ diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk index 96a8592b4..4f4623cf3 100644 --- a/target/product/core_minimal.mk +++ b/target/product/core_minimal.mk @@ -38,6 +38,7 @@ PRODUCT_PACKAGES += \ cacerts \ com.android.location.provider \ com.android.location.provider.xml \ + conscrypt \ core \ core-junit \ dalvikvm \ diff --git a/target/product/mini.mk b/target/product/mini.mk index 16a2b8f4d..a1f6317e4 100644 --- a/target/product/mini.mk +++ b/target/product/mini.mk @@ -72,6 +72,7 @@ PRODUCT_PACKAGES += \ cacerts \ com.android.location.provider \ com.android.location.provider.xml \ + conscrypt \ core \ core-junit \ dalvikvm \