96320dfff8
Currently, if the same library is specified for multiple of native_libs, native_shared_libs, and native_static_libs for different arch/oses, there can be a few errors: 1. specifying a .so file as `srcs` within a cc_prebuilt_library rather than being specified only for shared 2. the final type of prebuilt library is dependent on the arch/os This change introduces: * an ability for a member type to override the type for specified properties * checks for a library being used with incompatible member types * basing linkage nesting on the member type in addition to variants This will ensure that the correct library type is used, regardless of the order of iteration over oses/arches, and support nesting linkages where necessary but only one linkage variant exists. Test: soong tests Test: CI Change-Id: I81dee013b09b99c34ca6c18f9cfcc12ee56d33d1 |
||
---|---|---|
.. | ||
Android.bp | ||
bootclasspath_fragment_sdk_test.go | ||
bp.go | ||
bp_test.go | ||
build_release.go | ||
build_release_test.go | ||
cc_sdk_test.go | ||
compat_config_sdk_test.go | ||
exports.go | ||
exports_test.go | ||
java_sdk_test.go | ||
license_sdk_test.go | ||
member_trait.go | ||
member_trait_test.go | ||
member_type.go | ||
sdk.go | ||
sdk_test.go | ||
systemserverclasspath_fragment_sdk_test.go | ||
testing.go | ||
update.go |