Optionally include afdo_profiles.mk if available
Previously, the product var is defined in pixel product config only. This breaks SDK finalization for udc (google3/configs/wireless/android/busytown/platform/git_udc/git_udc-release.gcl). In SDK finalization, we need to ensure performance/usage of libraries are consistent across all builds that don't set SKIP_ABI_CHECKS. This CL optionally includes the afdo_profiles if available so that afdo is on all products by default. Ignore-AOSP-First: The topic has internal-only CLs Test: CI Bug: 276672785 Change-Id: I2cc51412de141c4e6ad69f49cef378121e0b3b87
This commit is contained in:
@@ -40,7 +40,6 @@ _product_list_vars += PRODUCT_PACKAGES_DEBUG_ASAN
|
||||
_product_list_vars += PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE
|
||||
_product_list_vars += PRODUCT_PACKAGES_ENG
|
||||
_product_list_vars += PRODUCT_PACKAGES_TESTS
|
||||
_product_list_vars += PRODUCT_AFDO_PROFILES
|
||||
|
||||
# The device that this product maps to.
|
||||
_product_single_value_vars += PRODUCT_DEVICE
|
||||
|
@@ -12,6 +12,8 @@ endif
|
||||
include $(BUILD_SYSTEM)/art_config.mk
|
||||
include $(BUILD_SYSTEM)/dex_preopt_config.mk
|
||||
|
||||
-include vendor/google_data/pgo_profile/sampling/afdo_profiles.mk
|
||||
|
||||
ifeq ($(WRITE_SOONG_VARIABLES),true)
|
||||
|
||||
# Create soong.variables with copies of makefile settings. Runs every build,
|
||||
|
Reference in New Issue
Block a user