Merge "Set appcompat system properties flag if userdebug/eng" into main am: 7de8a01cc1

Original change: https://android-review.googlesource.com/c/platform/build/+/3107744

Change-Id: Iffb914e72be4c1c69bd59f5b2caec5aad28e55f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Nate Myren 2024-05-31 01:38:56 +00:00 committed by Automerger Merge Worker
commit c39dc6a8d7

View file

@ -105,8 +105,10 @@ $(call add_soong_config_var_value,ANDROID,release_binder_death_recipient_weak_fr
$(call add_soong_config_var_value,ANDROID,release_package_libandroid_runtime_punch_holes,$(RELEASE_PACKAGE_LIBANDROID_RUNTIME_PUNCH_HOLES))
$(call add_soong_config_var_value,ANDROID,release_selinux_data_data_ignore,$(RELEASE_SELINUX_DATA_DATA_IGNORE))
$(call add_soong_config_var_value,ANDROID,release_write_appcompat_override_system_properties,$(RELEASE_WRITE_APPCOMPAT_OVERRIDE_SYSTEM_PROPERTIES))
ifneq (,$(filter eng userdebug,$(TARGET_BUILD_VARIANT)))
# write appcompat system properties on userdebug and eng builds
$(call add_soong_config_var_value,ANDROID,release_write_appcompat_override_system_properties,true)
endif
# Enable system_server optimizations by default unless explicitly set or if
# there may be dependent runtime jars.