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:
@@ -36,7 +36,7 @@ type objectLinker struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func objectFactory() (blueprint.Module, []interface{}) {
|
func objectFactory() (blueprint.Module, []interface{}) {
|
||||||
module := newBaseModule(android.DeviceSupported, android.MultilibBoth)
|
module := newBaseModule(android.HostAndDeviceSupported, android.MultilibBoth)
|
||||||
module.linker = &objectLinker{
|
module.linker = &objectLinker{
|
||||||
baseLinker: NewBaseLinker(),
|
baseLinker: NewBaseLinker(),
|
||||||
}
|
}
|
||||||
|
@@ -39,7 +39,7 @@ func (*toolchainLibraryDecorator) linkerDeps(ctx BaseModuleContext, deps Deps) D
|
|||||||
}
|
}
|
||||||
|
|
||||||
func toolchainLibraryFactory() (blueprint.Module, []interface{}) {
|
func toolchainLibraryFactory() (blueprint.Module, []interface{}) {
|
||||||
module, library := NewLibrary(android.DeviceSupported, false, true)
|
module, library := NewLibrary(android.HostAndDeviceSupported, false, true)
|
||||||
toolchainLibrary := &toolchainLibraryDecorator{
|
toolchainLibrary := &toolchainLibraryDecorator{
|
||||||
libraryDecorator: library,
|
libraryDecorator: library,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user