16k: Part II [make] add target page size parameter, Target_page_size_16k
Soong config will look for this parameter when configuring build
variables.
The targets with prefix "_16k_64" will set up Target_page_size_16k=true.
Bug: 266220505
Test: build
Merged-In: Ie57b86f6efb1420ee74621b89a55fade3fdc9679
Change-Id: Ie57b86f6efb1420ee74621b89a55fade3fdc9679
diff --git a/core/soong_config.mk b/core/soong_config.mk
index e6c4d64..2f38ebc 100644
--- a/core/soong_config.mk
+++ b/core/soong_config.mk
@@ -144,6 +144,7 @@
$(call add_json_bool, Malloc_not_svelte, $(call invert_bool,$(filter true,$(MALLOC_SVELTE))))
$(call add_json_bool, Malloc_zero_contents, $(call invert_bool,$(filter false,$(MALLOC_ZERO_CONTENTS))))
$(call add_json_bool, Malloc_pattern_fill_contents, $(MALLOC_PATTERN_FILL_CONTENTS))
+$(call add_json_bool, Target_page_size_16k, $(filter %_16k_64,$(TARGET_PRODUCT)))
$(call add_json_str, Override_rs_driver, $(OVERRIDE_RS_DRIVER))
$(call add_json_bool, UncompressPrivAppDex, $(call invert_bool,$(filter true,$(DONT_UNCOMPRESS_PRIV_APPS_DEXS))))