aboutsummaryrefslogtreecommitdiffstats
path: root/cc/cc.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/cc.go')
-rw-r--r--cc/cc.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/cc/cc.go b/cc/cc.go
index 9b1f2203..9cc7dfa3 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -1510,17 +1510,12 @@ func vendorMutator(mctx android.BottomUpMutatorContext) {
mod := mctx.CreateVariations(vendorMode)
vendor := mod[0].(*Module)
vendor.Properties.UseVndk = true
- } else if prebuilt, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok {
+ } else if _, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok {
// Make vendor variants only for the versions in BOARD_VNDK_VERSION and
// PRODUCT_EXTRA_VNDK_VERSIONS.
mod := mctx.CreateVariations(vendorMode)
vendor := mod[0].(*Module)
vendor.Properties.UseVndk = true
- arches := mctx.DeviceConfig().Arches()
- if len(arches) == 0 || arches[0].ArchType.String() != prebuilt.arch() {
- vendor.Properties.PreventInstall = true
- vendor.Properties.HideFromMake = true
- }
} else if m.hasVendorVariant() && !vendorSpecific {
// This will be available in both /system and /vendor
// or a /system directory that is available to vendor.