Separate HostOrDevice out of Arch
Take HostOrDevice out of Arch, and put it into AndroidModuleBase instead. Also separate out the host vs. device mutator from ArchMutator. This will make it possible for genrules to depend on a host tool, regardless of which host arches it is compiled for. Change-Id: I22bbfd28b65c3eebdfa101a712f90dd615148dc8
This commit is contained in:
@@ -75,6 +75,7 @@ func main() {
|
||||
ctx.RegisterModuleType("android_app", java.AndroidAppFactory)
|
||||
|
||||
// Mutators
|
||||
ctx.RegisterEarlyMutator("host_or_device", common.HostOrDeviceMutator)
|
||||
ctx.RegisterEarlyMutator("arch", common.ArchMutator)
|
||||
ctx.RegisterEarlyMutator("link", cc.LinkageMutator)
|
||||
ctx.RegisterEarlyMutator("test_per_src", cc.TestPerSrcMutator)
|
||||
|
Reference in New Issue
Block a user