platform_build_soong/sdk
Paul Duffin 2b5887a8f9 Sdk snapshot set compile_multilib per OsType
Previously, when an sdk snapshot only supported a single os type the
compile_multilib was set based on the multilib usages by the members
of that variant. After the change to support multiple os types per
snapshot the multilib setting was based on the multilib usages across
all the members of all sdk variants. That meant that if one os type
used only "64" and the other used "both" then they would both be
treated as "both" leading to missing variants when the snapshot was
unpacked.

This change tracks the multilib usages per os type and adds a property
for each one.

It intentionally changes a couple of tests:
1) Either by adding compile_multilib that is missing.
2) By targeting it at a specific os type instead of host.

The latter change is important to prevent the snapshot from being
used on a host platform (which will match the host target section)
but which is a different os type to the ones supported by the
snapshot.

Bug: 142935992
Bug: 153306490
Test: m nothing
Merged-In: I883919b644292c3d019db223bb4fd5c11b39591f
Change-Id: I883919b644292c3d019db223bb4fd5c11b39591f
2020-04-22 12:51:45 +01:00
..
bp.go Fix bug in error reporting when adding duplicate properties 2020-04-22 12:51:28 +01:00
bp_test.go Add support for transforming a property set after its contents 2020-04-22 12:51:25 +01:00
cc_sdk_test.go Sdk snapshot set compile_multilib per OsType 2020-04-22 12:51:45 +01:00
exports.go Restrict SdkMemberTypes that can be used with sdk/sdk_snapshot 2019-12-31 15:08:59 +00:00
exports_test.go Add CommonOS variant for sdk 2020-04-22 12:51:28 +01:00
java_sdk_test.go Output properties before sets in snapshot module 2020-04-22 12:51:40 +01:00
sdk.go Sdk snapshot set compile_multilib per OsType 2020-04-22 12:51:45 +01:00
sdk_test.go Support extracting common values from embedded structures 2020-04-22 12:51:38 +01:00
testing.go Support extracting common values from embedded structures 2020-04-22 12:51:38 +01:00
update.go Sdk snapshot set compile_multilib per OsType 2020-04-22 12:51:45 +01:00