Slice properties can be replaced
override_* in Soong requires a module to override certain properties of other module. In that case, values of a slice property (e.g. []string) should be replaced by the same property value in the overriding module. However, since proptools only supports Append and Prepend orders where the original values are kept for slice properties, the behavior couldn't be implemented. To support the use case, Replace order is introduced, in which case slice property values are completely replaced. For other types of properties, the Replace order behaves exactly the same as the Append order. Bug: 144338929 Test: m Change-Id: Iae9feda035177fe6a22e6e8319c0fdaa9e08e85e
Loading
Please register or sign in to comment