diff --git a/core/dex_preopt.mk b/core/dex_preopt.mk index 88945727f..00c009321 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:mms-common:android.policy:services:apache-xml +DEXPREOPT_BOOT_JARS := core:conscrypt:okhttp:core-junit:bouncycastle:ext:framework:telephony-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 022c4f149..aae2fec2a 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -51,6 +51,7 @@ PRODUCT_PACKAGES += \ cacerts \ com.android.location.provider \ com.android.location.provider.xml \ + conscrypt \ core \ core-junit \ dalvikvm \ @@ -142,6 +143,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/mini.mk b/target/product/mini.mk index a97cbcbe9..da2fc31ba 100644 --- a/target/product/mini.mk +++ b/target/product/mini.mk @@ -71,6 +71,7 @@ PRODUCT_PACKAGES += \ cacerts \ com.android.location.provider \ com.android.location.provider.xml \ + conscrypt \ core \ core-junit \ dalvikvm \