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:
Martin Stjernholm 2020-06-10 18:26:05 +00:00 committed by Automerger Merge Worker
commit 4a644cf9e5

View file

@ -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