Files
build_soong/android
Jiyong Park ad429d0cd2 SOONG_* variables are emitted only for the BuildOS variants
When HOST_OS=linux and HOST_CROSS_OS=linux_bionic, then a module enabled
for the target "linux" is mutated for both linux(linux_glibc) and
linux_bionic. Although this is WAI for most of the host modules, but
also causes duplocated SOONG_* variables from prebuilt_build_tools
modules. They are configured as HostSupportedNoCross, but linux_glibc
and linux_bionic are not considered as HostCross on the regular
linux/x86 machines, because it can run artifacts from both variants
natively.

Since the problem is at SOONG_* variables, not in the fact that
linux_bionic is not considered as HostCross, fixing the problem by
emitting the variable only for the variants whose OS is the same as the
build system OS (android.BuildOS).

Bug: N/A
Test: apply aosp/1512778, lunch mainline_sdk && m nothing.
out/soong/make_vars-mainline_sdk.mk doesn't have duplicated SOONG_*
variables.

Change-Id: Ieb51d180b7c1ee758e7a376a960a8c3b91c836c9
2020-12-17 19:31:17 +09:00
..
2020-11-19 11:20:05 -08:00
2020-11-19 11:20:05 -08:00
2020-12-11 19:54:16 +00:00
2020-06-04 01:26:16 +01:00
2020-10-22 10:26:26 -07:00
2020-12-03 23:36:57 -05:00
2020-01-24 16:43:40 -08:00
2020-12-07 12:27:50 -08:00
2020-12-01 16:22:16 -08:00
2020-12-03 23:36:57 -05:00
2020-12-03 23:36:57 -05:00