Do not split struct properties based on soong_config_variables
https://r.android.com/3009280 has introduced the mechanism to modify the tag of the dist artifacts based on the soong_config_variable (i.e. based on the value of the build flag "RELEASE_HIDDEN_API_EXPORTABLE_STUBS" or the product variable "PRODUCT_HIDDEN_API_EXPORTABLE_STUBS"). In order to minimize duplication, the change has kept the common properties within the struct outside of the "soong_config_variables" block and only specified the affected (list of) struct properties (tag) in the "soong_config_variables" block. However, this is an unsupported feature in Soong and led to the default OutputFile (i.e. the output file when no tag is specified). In order to fix this, this change specifies all properties of the struct in the "soong_config_variables" block, with the cost of some duplication. Test: ABTD Bug: 333653043 Change-Id: If91099b3499894d5b1c284ace0e1f23c80b84051
Loading
Please register or sign in to comment