summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2021-01-12 11:34:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-12 11:34:36 +0000
commita3a97078a4f9fb381c074332b95207216215ec1b (patch)
treecf5b8f2f6e2e76a843b731f70ed27d2b82d820e3
parent05b65151d28c1d9d8355c90a7e0104dd5fa8ddeb (diff)
parent39c9c511cd7f9b9027497c0ba407ec11ee695557 (diff)
downloaddevice_generic_art-a3a97078a4f9fb381c074332b95207216215ec1b.tar.gz
device_generic_art-a3a97078a4f9fb381c074332b95207216215ec1b.tar.bz2
device_generic_art-a3a97078a4f9fb381c074332b95207216215ec1b.zip
Use the functions intended for adding Soong config variables. am: 39c9c511cd
Original change: https://android-review.googlesource.com/c/device/generic/art/+/1533263 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie3af54d3c13dc823ee24ad775425186907d31104
-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)