Simplify arch target handling
Soong's multi-architecture building has grown complex, with the combination of HostOrDevice+HostType+Arch necessary to determine how to build a variant of a module, and three separate mutators to split each into its variations. Combine HostOrDevice+HostType into Os, which will be Linux, Darwin, Windows, or Android. Store Os+Arch as a single Target. Change-Id: I92f2e2dac53617d595a35cc285d2bd348baa0fbd
This commit is contained in:
@@ -392,5 +392,5 @@ func armToolchainFactory(arch android.Arch) Toolchain {
|
||||
}
|
||||
|
||||
func init() {
|
||||
registerDeviceToolchainFactory(android.Arm, armToolchainFactory)
|
||||
registerToolchainFactory(android.Android, android.Arm, armToolchainFactory)
|
||||
}
|
||||
|
Reference in New Issue
Block a user