Conditionally remove atb from bootclasspath
If REMOVE_ATB_FROM_BCP=true then this adds the framework-atb-backward-compatibility library to the bootclasspath. Otherwise, it adds the android.test.base library instead. Bug: 30188076 Test: build, flash and test manually and with FrameworkCoreTests Change-Id: I3c15c35724426a9cdeef398c5bc4f5176a8fc752
This commit is contained in:
parent
ebbbb5b1a2
commit
e2819d8456
|
@ -23,6 +23,7 @@ PRODUCT_PACKAGES += \
|
|||
appops \
|
||||
am \
|
||||
android.policy \
|
||||
android.test.base \
|
||||
android.test.mock \
|
||||
android.test.runner \
|
||||
app_process \
|
||||
|
@ -147,6 +148,12 @@ ifeq ($(REMOVE_OAHL_FROM_BCP),true)
|
|||
PRODUCT_PACKAGES += framework-oahl-backward-compatibility
|
||||
endif
|
||||
|
||||
# Add the compatibility library that is needed when android.test.base
|
||||
# is removed from the bootclasspath.
|
||||
ifeq ($(REMOVE_ATB_FROM_BCP),true)
|
||||
PRODUCT_PACKAGES += framework-atb-backward-compatibility
|
||||
endif
|
||||
|
||||
# Essential HAL modules
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.cas@1.0-service \
|
||||
|
|
|
@ -110,7 +110,6 @@ endif
|
|||
# The order of PRODUCT_BOOT_JARS matters.
|
||||
PRODUCT_BOOT_JARS := \
|
||||
$(TARGET_CORE_JARS) \
|
||||
android.test.base \
|
||||
ext \
|
||||
framework \
|
||||
telephony-common \
|
||||
|
@ -125,6 +124,12 @@ else
|
|||
PRODUCT_BOOT_JARS += org.apache.http.legacy.boot
|
||||
endif
|
||||
|
||||
ifeq ($(REMOVE_ATB_FROM_BCP),true)
|
||||
PRODUCT_BOOT_JARS += framework-atb-backward-compatibility
|
||||
else
|
||||
PRODUCT_BOOT_JARS += android.test.base
|
||||
endif
|
||||
|
||||
# The order of PRODUCT_SYSTEM_SERVER_JARS matters.
|
||||
PRODUCT_SYSTEM_SERVER_JARS := \
|
||||
services \
|
||||
|
|
|
@ -94,7 +94,6 @@ endif
|
|||
# The order matters
|
||||
PRODUCT_BOOT_JARS := \
|
||||
$(TARGET_CORE_JARS) \
|
||||
android.test.base \
|
||||
ext \
|
||||
framework \
|
||||
telephony-common \
|
||||
|
@ -109,6 +108,12 @@ else
|
|||
PRODUCT_BOOT_JARS += org.apache.http.legacy.boot
|
||||
endif
|
||||
|
||||
ifeq ($(REMOVE_OAHL_FROM_BCP),true)
|
||||
PRODUCT_BOOT_JARS += framework-atb-backward-compatibility
|
||||
else
|
||||
PRODUCT_BOOT_JARS += android.test.base
|
||||
endif
|
||||
|
||||
# The order of PRODUCT_SYSTEM_SERVER_JARS matters.
|
||||
PRODUCT_SYSTEM_SERVER_JARS := \
|
||||
services \
|
||||
|
|
Loading…
Reference in New Issue