Allow Host cc_object and cc_toolchain_library
In preparation for LinuxBionic. Bug: 31559095 Test: out/soong/build.ninja is identical Change-Id: I8e4631ccc3ad5161d76871a43f31d5a4ecbd39c0
This commit is contained in:
parent
00fcbde401
commit
967c6a9b87
|
@ -36,7 +36,7 @@ type objectLinker struct {
|
|||
}
|
||||
|
||||
func objectFactory() (blueprint.Module, []interface{}) {
|
||||
module := newBaseModule(android.DeviceSupported, android.MultilibBoth)
|
||||
module := newBaseModule(android.HostAndDeviceSupported, android.MultilibBoth)
|
||||
module.linker = &objectLinker{
|
||||
baseLinker: NewBaseLinker(),
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ func (*toolchainLibraryDecorator) linkerDeps(ctx BaseModuleContext, deps Deps) D
|
|||
}
|
||||
|
||||
func toolchainLibraryFactory() (blueprint.Module, []interface{}) {
|
||||
module, library := NewLibrary(android.DeviceSupported, false, true)
|
||||
module, library := NewLibrary(android.HostAndDeviceSupported, false, true)
|
||||
toolchainLibrary := &toolchainLibraryDecorator{
|
||||
libraryDecorator: library,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue