summaryrefslogtreecommitdiff
path: root/rust/image.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-12-16 10:20:23 -0800
committer Colin Cross <ccross@android.com> 2020-12-17 10:02:18 -0800
commita9c8c9f1457a3848ff0d2c6bcb3dfbe256c1b8d4 (patch)
tree4f8131e3064cad70d015689cfda55bc15e1c0cd2 /rust/image.go
parent95b07f2b59049dd4a539780ed0c91b8809ce97a9 (diff)
Call ctx.InstallFile for uninstallable cc modules
SkipInstall is actually primarily used to prevent making a module visible to Make, rename it and add new SkipInstall that actually skips installation without affecting Make. Call c.SkipInstall() for uninstallable cc modules to allow calling c.installer.install, which will collect PackagingSpecs for uninstallable cc modules, allowing them to be used by genrules. Bug: 124313442 Test: m checkbuild Change-Id: I8038ed5c6f05c989ac21ec06c4552fb3136b9a7a
Diffstat (limited to 'rust/image.go')
-rw-r--r--rust/image.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/image.go b/rust/image.go
index 4951d2b7b..af8c3b2fd 100644
--- a/rust/image.go
+++ b/rust/image.go
@@ -90,7 +90,7 @@ func (mod *Module) SetImageVariation(ctx android.BaseModuleContext, variant stri
vndkVersion := ctx.DeviceConfig().VndkVersion()
if vndkVersion != "current" && vndkVersion != "" && vndkVersion != m.Properties.VndkVersion {
m.Properties.HideFromMake = true
- m.SkipInstall()
+ m.HideFromMake()
}
}
}