Allow Host cc_object and cc_toolchain_library am: 967c6a9b87
am: c97c4626b9
Change-Id: Iccd01ddbe3d83e44ca92dfbfe7c80ffb1003fb7e
This commit is contained in:
commit
1d91ced506
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue