diff --git a/cc/library.go b/cc/library.go index ff21cc3f6..092b17779 100644 --- a/cc/library.go +++ b/cc/library.go @@ -64,7 +64,7 @@ type LibraryProperties struct { Stubs struct { // Relative path to the symbol map. The symbol map provides the list of // symbols that are exported for stubs variant of this library. - Symbol_file *string `android:"path"` + Symbol_file *string `android:"path,arch_variant"` // List versions to generate stubs libs for. The version name "current" is always // implicitly added. @@ -75,7 +75,7 @@ type LibraryProperties struct { // implementation is made available by some other means, e.g. in a Microdroid // virtual machine. Implementation_installable *bool - } + } `android:"arch_variant"` // set the name of the output Stem *string `android:"arch_variant"` @@ -118,7 +118,7 @@ type LibraryProperties struct { // If this is an LLNDK library, properties to describe the LLNDK stubs. Will be copied from // the module pointed to by llndk_stubs if it is set. - Llndk llndkLibraryProperties + Llndk llndkLibraryProperties `android:"arch_variant"` // If this is a vendor public library, properties to describe the vendor public library stubs. Vendor_public_library vendorPublicLibraryProperties diff --git a/cc/llndk_library.go b/cc/llndk_library.go index 85c3edf8b..5ece78a83 100644 --- a/cc/llndk_library.go +++ b/cc/llndk_library.go @@ -30,7 +30,7 @@ var ( type llndkLibraryProperties struct { // Relative path to the symbol map. // An example file can be seen here: TODO(danalbert): Make an example. - Symbol_file *string + Symbol_file *string `android:"path,arch_variant"` // Whether to export any headers as -isystem instead of -I. Mainly for use by // bionic/libc.