Files
build_soong/android
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
..
2020-09-18 12:41:31 -07:00
2018-07-22 21:18:45 -07:00
2019-10-18 18:28:00 +00:00
2020-07-16 12:50:11 -07:00
2020-07-16 12:50:11 -07:00
2020-06-04 01:26:16 +01:00
2020-01-22 16:54:18 -08:00
2020-07-28 09:51:15 -07:00
2019-12-18 08:19:10 -08:00
2019-12-18 08:19:10 -08:00
2020-01-24 16:43:40 -08:00
2020-07-28 09:51:15 -07:00
2020-09-08 15:12:10 +09:00
2020-06-15 09:46:31 -07:00
2020-09-10 07:56:03 -07:00
2020-06-15 09:46:31 -07:00
2020-06-15 09:46:31 -07:00
2019-12-18 08:19:10 -08:00
2020-06-26 10:36:18 -04:00