aboutsummaryrefslogtreecommitdiffstats
path: root/cc/prebuilt.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-11-23 15:45:05 -0800
committerColin Cross <ccross@android.com>2016-11-29 15:29:34 -0800
commitbba99041dbe70a590f6c997bd488ae092fc0902d (patch)
tree3ca20d8d5053fecf00c25cdf1f3a5ed272b9761e /cc/prebuilt.go
parent0f3c72fa179a1a894f6985142d98a08639daf1df (diff)
downloadbuild_soong-bba99041dbe70a590f6c997bd488ae092fc0902d.tar.gz
build_soong-bba99041dbe70a590f6c997bd488ae092fc0902d.tar.bz2
build_soong-bba99041dbe70a590f6c997bd488ae092fc0902d.zip
Split cc_prebuilt_shared_library into static variants
Prebuilts must have every variant that their source module has, so split all cc_prebuilt_shared_library modules into both static and shared variants. Test: m -j checkbuild Change-Id: I3c32315227f779e832e041cfab604ff7402c7e13
Diffstat (limited to 'cc/prebuilt.go')
-rw-r--r--cc/prebuilt.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/prebuilt.go b/cc/prebuilt.go
index 4328df8a..0a545702 100644
--- a/cc/prebuilt.go
+++ b/cc/prebuilt.go
@@ -60,13 +60,14 @@ func (p *prebuiltLibraryLinker) link(ctx ModuleContext,
}
func prebuiltSharedLibraryFactory() (blueprint.Module, []interface{}) {
- module, library := NewLibrary(android.HostAndDeviceSupported, true, false)
+ module, library := NewLibrary(android.HostAndDeviceSupported, true, true)
module.compiler = nil
prebuilt := &prebuiltLibraryLinker{
libraryDecorator: library,
}
module.linker = prebuilt
+ module.installer = prebuilt
return module.Init()
}