platform_build_soong/sdk
Martin Stjernholm caa47d7eed Disable all host OS variants except those explicitly included.
Necessary to avoid problems with implicitly enabled host OS'es, e.g.
linux_glibc getting enabled when we only supply a linux_bionic linker
in runtime-module-host-exports. That will then cause a non-functional
prebuilt to take precedence over source if the prebuilt is preferred.

We don't do this for device since we so far only support a single
device OS (android).

This introduces the notion that SDK member types can be host OS
dependent or not. That way java members with host prebuilts don't get
restricted to a specific host OS.

Test: m nothing
Test: build/soong/scripts/build-aml-prebuilts.sh runtime-module-host-exports
  Check that the generated Android.bp correctly disables the bionic
  linker prebuilt for linux_glibc.
Test: art/build/apex/runtests.sh
  on master-art with an updated runtime SDK snapshot
Test: art/tools/buildbot-build.sh {--host,--target}
  on master-art with an updated runtime SDK snapshot
Bug: 160349757
Change-Id: Idad7ef138cdbcbd209d390bf6c10ca8365d4619f
2020-08-03 21:06:50 +01: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 Disable all host OS variants except those explicitly included. 2020-08-03 21:06:50 +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 Avoid creating APEX variant for sdk member 2020-07-24 11:10:10 +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 Fix prebuilt mutator ordering in tests 2020-07-31 16:12:01 +01:00
update.go Disable all host OS variants except those explicitly included. 2020-08-03 21:06:50 +01:00