Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb41879e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add BOARD_PERFSETUP_SCRIPT as a soong config variable" into main

parents 8afaf50f 90b90af5
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -167,3 +167,9 @@ $(call soong_config_set,bootclasspath,release_crashrecovery_module,$(RELEASE_CRA
# Enable Profiling module. Also used by platform_bootclasspath.
# Enable Profiling module. Also used by platform_bootclasspath.
$(call soong_config_set,ANDROID,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))
$(call soong_config_set,ANDROID,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))
$(call soong_config_set,bootclasspath,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))
$(call soong_config_set,bootclasspath,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))

# Add perf-setup build flag to soong
# Note: BOARD_PERFSETUP_SCRIPT location must be under platform_testing/scripts/perf-setup/.
ifdef BOARD_PERFSETUP_SCRIPT
  $(call soong_config_set,perf,board_perfsetup_script,$(notdir $(BOARD_PERFSETUP_SCRIPT)))
endif
+6 −0
Original line number Original line Diff line number Diff line
@@ -105,3 +105,9 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
    adb_debug.prop \
    adb_debug.prop \
    userdebug_plat_sepolicy.cil
    userdebug_plat_sepolicy.cil

# On eng or userdebug builds, build in perf-setup-sh by default.
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
    perf-setup-sh
endif