aboutsummaryrefslogtreecommitdiffstats
path: root/cc/mips_device.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-11-24 17:53:15 -0800
committerDan Willemsen <dwillemsen@google.com>2015-11-30 15:28:31 -0800
commit490fd4955747c9d3715954359d72937960f02a22 (patch)
tree3b4ae5b86149ee178f60c21faf65e03ad7e23a51 /cc/mips_device.go
parent3b336c20566becb20324e25deb52ee08d8b1f9f8 (diff)
downloadbuild_soong-490fd4955747c9d3715954359d72937960f02a22.tar.gz
build_soong-490fd4955747c9d3715954359d72937960f02a22.tar.bz2
build_soong-490fd4955747c9d3715954359d72937960f02a22.zip
Support cross-compiling Windows binaries on Linux
This defines another mutator between HostOrDevice and Arch that will expand host modules into a module for each host type (Darwin/Linux/Windows) that is currently being built. Change-Id: I4c8ac6b616c229f6bd45ad8a35902652fb6a4fff
Diffstat (limited to 'cc/mips_device.go')
-rw-r--r--cc/mips_device.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/mips_device.go b/cc/mips_device.go
index 52bc1ecf..c3372fe6 100644
--- a/cc/mips_device.go
+++ b/cc/mips_device.go
@@ -227,5 +227,5 @@ func mipsToolchainFactory(arch common.Arch) Toolchain {
}
func init() {
- registerToolchainFactory(common.Device, common.Mips, mipsToolchainFactory)
+ registerDeviceToolchainFactory(common.Mips, mipsToolchainFactory)
}