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:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user