platform_build_soong/sdk
Jiyong Park 1613e5541f HostCross is an attribute of a Target, not OsType
A host target is considered as being cross-compiled when the target
can't run natively on the build machine. For example, linux_glibc/x86_64
is a non-cross target on a standard x86/Linux machine, but is a cross
host on Mac. Previously, whether cross or not was a static attribute of
an OsType. For example, Windows was always considered as cross host,
while linux_bionic was not. This becomes a problem when we support more
host targets like linux_bionic/arm64 which should be cross-host on
standard x86/Linux machines.

This change removes HostCross from the OsClass type and instead adds a
property HostCross to the Target type. When a target is being added, it
is initialized to true when the target can't run natively on the current
build machine.

Bug: 168086242
Test: m
Change-Id: Ic37c8db918873ddf324c86b12b5412952b0f2be2
2020-09-24 14:14:31 +09:00
..
Android.bp Soong package structure refactoring 2020-06-01 13:44:48 -07:00
bp.go Fix bug in error reporting when adding duplicate properties 2020-03-02 16:29:11 +00:00
bp_test.go Defer \n quoting generatedContents until creating the ninja rule 2020-05-11 22:59:25 +01:00
cc_sdk_test.go Propagate recovery_available property through to sdk snapshot 2020-09-11 16:09:28 +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-03-02 19:31:26 +00:00
java_sdk_test.go Remove framework-modules naming scheme 2020-09-11 16:09:15 +01:00
sdk.go Avoid creating APEX variant for sdk member 2020-07-24 11:10:10 +01:00
sdk_test.go Disable all SDK snapshot generation tests on mac. 2020-07-15 16:58:05 +01:00
testing.go HostCross is an attribute of a Target, not OsType 2020-09-24 14:14:31 +09:00
update.go HostCross is an attribute of a Target, not OsType 2020-09-24 14:14:31 +09:00