Merge "Introduce AlwaysUsePrebuiltSdks" am: 6df337255c am: 497158434d

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1356666

Change-Id: I92deaf13c3c7c7ae684bd11d5bd5d575d264bfb1
This commit is contained in:
Jeongik Cha
2020-08-10 01:25:06 +00:00
committed by Automerger Merge Worker
12 changed files with 59 additions and 45 deletions

View File

@@ -1809,7 +1809,7 @@ func (module *SdkLibraryImport) Name() string {
func (module *SdkLibraryImport) createInternalModules(mctx android.DefaultableHookContext) {
// If the build is configured to use prebuilts then force this to be preferred.
if mctx.Config().UnbundledBuildUsePrebuiltSdks() {
if mctx.Config().AlwaysUsePrebuiltSdks() {
module.prebuilt.ForcePrefer()
}