diff options
Diffstat (limited to 'android/sdk.go')
-rw-r--r-- | android/sdk.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/android/sdk.go b/android/sdk.go index 873e08942..36afc3df2 100644 --- a/android/sdk.go +++ b/android/sdk.go @@ -342,9 +342,15 @@ type SdkMemberType interface { // // * The variant property structs are analysed to find exported (capitalized) fields which // have common values. Those fields are cleared and the common value added to the common - // properties. A field annotated with a tag of `sdk:"keep"` will be treated as if it + // properties. + // + // A field annotated with a tag of `sdk:"keep"` will be treated as if it // was not capitalized, i.e. not optimized for common values. // + // A field annotated with a tag of `android:"arch_variant"` will be allowed to have + // values that differ by arch, fields not tagged as such must have common values across + // all variants. + // // * The sdk module type populates the BpModule structure, creating the arch specific // structure and calls AddToPropertySet(...) on the properties struct to add the member // specific properties in the correct place in the structure. |