Allow Host cc_object and cc_toolchain_library

am: 967c6a9b87

Change-Id: Ia4025f09a116e8e49ed009d7231be3d9beab0202
This commit is contained in:
Dan Willemsen 2016-11-18 03:13:02 +00:00 committed by android-build-merger
commit c97c4626b9
2 changed files with 2 additions and 2 deletions

View file

@ -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(),
}

View file

@ -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,
}