summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2020-12-18 02:26:27 +0000
committerMartin Stjernholm <mast@google.com>2020-12-18 02:26:27 +0000
commit39c9c511cd7f9b9027497c0ba407ec11ee695557 (patch)
treecf5b8f2f6e2e76a843b731f70ed27d2b82d820e3
parentba620309432b6ab9a7a7b37eb62ac221253e6c3b (diff)
downloaddevice_generic_art-39c9c511cd7f9b9027497c0ba407ec11ee695557.tar.gz
device_generic_art-39c9c511cd7f9b9027497c0ba407ec11ee695557.tar.bz2
device_generic_art-39c9c511cd7f9b9027497c0ba407ec11ee695557.zip
Use the functions intended for adding Soong config variables.
Test: m Bug: 172480615 Change-Id: I04ead1eed802747aa7eea5c7b354d7cc3d05c40f
-rw-r--r--BoardConfigCommon.mk5
-rw-r--r--art_module/art_module.mk5
2 files changed, 4 insertions, 6 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 2dd5ec3..e741375 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -31,6 +31,5 @@ TARGET_FLATTEN_APEX := true
# tree.
# TODO(b/174997203): Clean this up when there is a better way to switch between
# prebuilts and sources.
-SOONG_CONFIG_NAMESPACES += art_module
-SOONG_CONFIG_art_module += source_build
-SOONG_CONFIG_art_module_source_build := true
+$(call add_soong_config_namespace,art_module)
+$(call add_soong_config_var_value,art_module,source_build,true)
diff --git a/art_module/art_module.mk b/art_module/art_module.mk
index 4366345..d8074ed 100644
--- a/art_module/art_module.mk
+++ b/art_module/art_module.mk
@@ -20,6 +20,5 @@
# tree.
# TODO(b/174997203): Clean up the art_module_* products when there is a better
# way to switch between prebuilts and sources.
-SOONG_CONFIG_NAMESPACES += art_module
-SOONG_CONFIG_art_module += source_build
-SOONG_CONFIG_art_module_source_build := true
+$(call add_soong_config_namespace,art_module)
+$(call add_soong_config_var_value,art_module,source_build,true)