Merge "Recommend soong_config_set instead of add_soong_config_var_value" am: b379a08eb6 am: 09b65c0bb6

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1949756

Change-Id: I0de4c0cb3ca4d30d1a1dcd80affa67f5da211dc8
This commit is contained in:
Cole Faust
2022-01-14 19:20:22 +00:00
committed by Automerger Merge Worker

View File

@@ -452,10 +452,9 @@ used. To specify that no properties should be amended for `soc_b`, you can set
The values of the variables can be set from a product's `BoardConfig.mk` file: The values of the variables can be set from a product's `BoardConfig.mk` file:
``` ```
$(call add_soong_config_namespace, acme) $(call soong_config_set,acme,board,soc_a)
$(call add_soong_config_var_value, acme, board, soc_a) $(call soong_config_set,acme,feature,true)
$(call add_soong_config_var_value, acme, feature, true) $(call soong_config_set,acme,width,200)
$(call add_soong_config_var_value, acme, width, 200)
``` ```
The `acme_cc_defaults` module type can be used anywhere after the definition in The `acme_cc_defaults` module type can be used anywhere after the definition in