Allow Host cc_object and cc_toolchain_library am: 967c6a9b87

am: c97c4626b9

Change-Id: Iccd01ddbe3d83e44ca92dfbfe7c80ffb1003fb7e
This commit is contained in:
Dan Willemsen 2016-11-18 03:15:32 +00:00 committed by android-build-merger
commit 1d91ced506
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,
}