Merge "Include hwasan lib and runtime on arm64 system images" am: ed97847d9a
Original change: https://android-review.googlesource.com/c/platform/build/+/2526599 Change-Id: Ibd72c47073253b10e45bcddfaaf8e24617dc02b4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
b98ff26c7d
3 changed files with 5 additions and 5 deletions
|
@ -1252,6 +1252,7 @@ define product-installed-files
|
||||||
$(if $(filter tests,$(tags_to_install)),$(call get-product-var,$(1),PRODUCT_PACKAGES_TESTS)) \
|
$(if $(filter tests,$(tags_to_install)),$(call get-product-var,$(1),PRODUCT_PACKAGES_TESTS)) \
|
||||||
$(if $(filter asan,$(tags_to_install)),$(call get-product-var,$(1),PRODUCT_PACKAGES_DEBUG_ASAN)) \
|
$(if $(filter asan,$(tags_to_install)),$(call get-product-var,$(1),PRODUCT_PACKAGES_DEBUG_ASAN)) \
|
||||||
$(if $(filter java_coverage,$(tags_to_install)),$(call get-product-var,$(1),PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE)) \
|
$(if $(filter java_coverage,$(tags_to_install)),$(call get-product-var,$(1),PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE)) \
|
||||||
|
$(if $(filter arm64,$(TARGET_ARCH) $(TARGET_2ND_ARCH)),$(call get-product-var,$(1),PRODUCT_PACKAGES_ARM64)) \
|
||||||
$(call auto-included-modules) \
|
$(call auto-included-modules) \
|
||||||
) \
|
) \
|
||||||
$(eval ### Filter out the overridden packages and executables before doing expansion) \
|
$(eval ### Filter out the overridden packages and executables before doing expansion) \
|
||||||
|
|
|
@ -36,6 +36,7 @@ _product_list_vars += PRODUCT_HOST_PACKAGES
|
||||||
_product_list_vars += PRODUCT_PACKAGES
|
_product_list_vars += PRODUCT_PACKAGES
|
||||||
_product_list_vars += PRODUCT_PACKAGES_DEBUG
|
_product_list_vars += PRODUCT_PACKAGES_DEBUG
|
||||||
_product_list_vars += PRODUCT_PACKAGES_DEBUG_ASAN
|
_product_list_vars += PRODUCT_PACKAGES_DEBUG_ASAN
|
||||||
|
_product_list_vars += PRODUCT_PACKAGES_ARM64
|
||||||
# Packages included only for eng/userdebug builds, when building with EMMA_INSTRUMENT=true
|
# Packages included only for eng/userdebug builds, when building with EMMA_INSTRUMENT=true
|
||||||
_product_list_vars += PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE
|
_product_list_vars += PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE
|
||||||
_product_list_vars += PRODUCT_PACKAGES_ENG
|
_product_list_vars += PRODUCT_PACKAGES_ENG
|
||||||
|
|
|
@ -296,11 +296,9 @@ PRODUCT_PACKAGES += \
|
||||||
system_manifest.xml \
|
system_manifest.xml \
|
||||||
system_compatibility_matrix.xml \
|
system_compatibility_matrix.xml \
|
||||||
|
|
||||||
# HWASAN runtime for SANITIZE_TARGET=hwaddress builds
|
PRODUCT_PACKAGES_ARM64 := libclang_rt.hwasan \
|
||||||
ifneq (,$(filter hwaddress,$(SANITIZE_TARGET)))
|
libclang_rt.hwasan.bootstrap \
|
||||||
PRODUCT_PACKAGES += \
|
libc_hwasan \
|
||||||
libclang_rt.hwasan.bootstrap
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Jacoco agent JARS to be built and installed, if any.
|
# Jacoco agent JARS to be built and installed, if any.
|
||||||
ifeq ($(EMMA_INSTRUMENT),true)
|
ifeq ($(EMMA_INSTRUMENT),true)
|
||||||
|
|
Loading…
Reference in a new issue