forked from openkylin/platform_build
Make PRODUCT_BOOT_JARS and PRODUCT_UPDATABLE_BOOT_JARS disjoint.
This is to unify boot jars with system server jars:
PRODUCT_SYSTEM_SERVER_JARS and PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS
do not overlap.
Test: aosp_walleye-userdebug boots
Exempt-From-Owner-Approval: cherry-pick.
Bug: 146363577
Change-Id: Ief8994cc34cb6f7951051313dd66a1334a3a73b4
Merged-In: Ief8994cc34cb6f7951051313dd66a1334a3a73b4
(cherry picked from commit 19ed3a0db7
)
This commit is contained in:
parent
77ffb564a9
commit
36101543e9
|
@ -265,9 +265,9 @@ ifdef PRODUCT_DEFAULT_DEV_CERTIFICATE
|
|||
endif
|
||||
|
||||
$(foreach pair,$(PRODUCT_UPDATABLE_BOOT_JARS), \
|
||||
$(if $(findstring $(call word-colon,2,$(pair)),$(PRODUCT_BOOT_JARS)),, \
|
||||
$(error Every jar in PRODUCT_UPDATABLE_BOOT_JARS must also be in PRODUCT_BOOT_JARS, \
|
||||
$(call word-colon,2,$(pair)) is not) \
|
||||
$(if $(findstring $(call word-colon,2,$(pair)),$(PRODUCT_BOOT_JARS)), \
|
||||
$(error A jar in PRODUCT_UPDATABLE_BOOT_JARS must not be in PRODUCT_BOOT_JARS, \
|
||||
but $(call word-colon,2,$(pair)) is) \
|
||||
) \
|
||||
)
|
||||
|
||||
|
|
|
@ -138,6 +138,7 @@ $(call add_json_bool, UncompressPrivAppDex, $(call invert_bool,$(fi
|
|||
$(call add_json_list, ModulesLoadedByPrivilegedModules, $(PRODUCT_LOADED_BY_PRIVILEGED_MODULES))
|
||||
|
||||
$(call add_json_list, BootJars, $(PRODUCT_BOOT_JARS))
|
||||
$(call add_json_list, UpdatableBootJars, $(PRODUCT_UPDATABLE_BOOT_JARS))
|
||||
|
||||
$(call add_json_bool, VndkUseCoreVariant, $(TARGET_VNDK_USE_CORE_VARIANT))
|
||||
$(call add_json_bool, VndkSnapshotBuildArtifacts, $(VNDK_SNAPSHOT_BUILD_ARTIFACTS))
|
||||
|
|
|
@ -32,11 +32,7 @@ updatable_boot_jars := $(foreach pair,$(PRODUCT_UPDATABLE_BOOT_JARS),\
|
|||
#TODO(jiyong) merge art_boot_jars into updatable_boot_jars
|
||||
art_boot_jars := $(addsuffix .com.android.art.release,$(filter $(ART_APEX_JARS),$(PRODUCT_BOOT_JARS)))
|
||||
|
||||
platform_boot_jars := $(filter-out \
|
||||
$(ART_APEX_JARS)\
|
||||
$(foreach pair,$(PRODUCT_UPDATABLE_BOOT_JARS),$(call word-colon,2,$(pair))),\
|
||||
$(PRODUCT_BOOT_JARS)\
|
||||
)
|
||||
platform_boot_jars := $(filter-out $(ART_APEX_JARS),$(PRODUCT_BOOT_JARS))
|
||||
|
||||
built_boot_jars := $(foreach j, $(updatable_boot_jars) $(art_boot_jars) $(platform_boot_jars), \
|
||||
$(call intermediates-dir-for, JAVA_LIBRARIES, $(j),,COMMON)/classes.jar)
|
||||
|
|
|
@ -318,16 +318,12 @@ endif
|
|||
|
||||
# The order matters for runtime class lookup performance.
|
||||
PRODUCT_BOOT_JARS := \
|
||||
$(TARGET_CORE_JARS) \
|
||||
$(ART_APEX_JARS) \
|
||||
framework-minus-apex \
|
||||
ext \
|
||||
telephony-common \
|
||||
voip-common \
|
||||
ims-common \
|
||||
framework-sdkextensions \
|
||||
ike \
|
||||
updatable-media \
|
||||
framework-tethering
|
||||
|
||||
PRODUCT_UPDATABLE_BOOT_JARS := \
|
||||
com.android.conscrypt:conscrypt \
|
||||
|
|
Loading…
Reference in New Issue