Merge "Fix duplicate install targets from sdk variants in --skip-make mode." am: d297b77e84
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1322698 Change-Id: I7e02972d34498ce7cf83376c0976aae02770833e
This commit is contained in:
commit
4a644cf9e5
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ func sdkMutator(ctx android.BottomUpMutatorContext) {
|
|||
|
||||
if ctx.Config().UnbundledBuild() {
|
||||
modules[0].(*Module).Properties.HideFromMake = true
|
||||
modules[0].(*Module).Properties.PreventInstall = true
|
||||
} else {
|
||||
modules[1].(*Module).Properties.SdkAndPlatformVariantVisibleToMake = true
|
||||
modules[1].(*Module).Properties.PreventInstall = true
|
||||
|
|
Loading…
Reference in a new issue