Merge "Introduce AlwaysUsePrebuiltSdks"

This commit is contained in:
Jeongik Cha
2020-08-10 00:51:56 +00:00
committed by Gerrit Code Review
12 changed files with 59 additions and 45 deletions

View File

@@ -1799,7 +1799,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()
}