From bcbcd65a99f8a40ffebac9494db5aa60c9dfff5e Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Fri, 20 Mar 2020 14:27:28 +0800 Subject: [PATCH] Add platform-wide sampling PGO option Test: build Bug: 79161490 Change-Id: Ibd30fffa0a97ca76155891f3aec8d7891226b9f1 --- core/soong_config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/soong_config.mk b/core/soong_config.mk index 631846a23..c91639c01 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -117,6 +117,8 @@ $(call add_json_bool, ClangCoverage, $(filter true,$(CLANG_C $(call add_json_list, CoveragePaths, $(COVERAGE_PATHS)) $(call add_json_list, CoverageExcludePaths, $(COVERAGE_EXCLUDE_PATHS)) +$(call add_json_bool, SamplingPGO, $(filter true,$(SAMPLING_PGO))) + $(call add_json_bool, ArtUseReadBarrier, $(call invert_bool,$(filter false,$(PRODUCT_ART_USE_READ_BARRIER)))) $(call add_json_bool, Binder32bit, $(BINDER32BIT)) $(call add_json_str, BtConfigIncludeDir, $(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR))