Merge "Recommend soong_config_set instead of add_soong_config_var_value" am: b379a08eb6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1949756 Change-Id: I31b01fcb7d5471867fbad75a5ed463581ded67eb
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user