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
This commit is contained in:
6
cc/cc.go
6
cc/cc.go
@@ -845,8 +845,10 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
|
||||
}
|
||||
|
||||
if tag == reuseObjTag {
|
||||
depPaths.Objs = depPaths.Objs.Append(cc.compiler.(libraryInterface).reuseObjs())
|
||||
return
|
||||
if l, ok := cc.compiler.(libraryInterface); ok {
|
||||
depPaths.Objs = depPaths.Objs.Append(l.reuseObjs())
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
if t, ok := tag.(dependencyTag); ok && t.library {
|
||||
|
Reference in New Issue
Block a user