summaryrefslogtreecommitdiff
path: root/cc/sdk.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/sdk.go')
-rw-r--r--cc/sdk.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/sdk.go b/cc/sdk.go
index d05a04a12..a6f94afbb 100644
--- a/cc/sdk.go
+++ b/cc/sdk.go
@@ -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