Use ART_MODULE_BUILD_FROM_SOURCE instead soong config variable
When product configuration is converted to Starlark, soong config
variables will be stored in a dictionary and won't be able to be
specified directly on the command line. Use a regular variable
that controls the soong config variable.
Bug: 220940864
Test: Presubmits
Change-Id: I5622d9e626e2cf84afe67cd2a214530e64cefc3e
diff --git a/build/SoongConfig.bp b/build/SoongConfig.bp
index 657f136..a37721d 100644
--- a/build/SoongConfig.bp
+++ b/build/SoongConfig.bp
@@ -2,8 +2,9 @@
// https://android.googlesource.com/platform/build/soong/+/master/README.md#soong-config-variables
// The source_build variable in the art_module namespace is used to enable the
-// apex, sdk, and module_exports modules that make up the ART Module by setting
-// SOONG_CONFIG_art_module_source_build in make.
+// apex, sdk, and module_exports modules that make up the ART Module by calling
+// $(call soong_config_set,art_module,source_build,true) in make. (which is
+// set to the value of the ART_MODULE_BUILD_FROM_SOURCE variable)
// TODO(b/172480617): Clean up when ART source is no longer in the platform
// manifest.
soong_config_bool_variable {