aboutsummaryrefslogtreecommitdiffstats
path: root/android/paths.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-06-03 01:50:47 +0000
committerColin Cross <ccross@android.com>2016-06-03 01:50:47 +0000
commitb9db480385745a9f42ea3f49a16877cb048960a9 (patch)
tree78705832794502be088258aaeda9efc9a2793188 /android/paths.go
parent54c7112c4325426eabda5fa96a8d3c4f61cb8cc7 (diff)
downloadbuild_soong-b9db480385745a9f42ea3f49a16877cb048960a9.tar.gz
build_soong-b9db480385745a9f42ea3f49a16877cb048960a9.tar.bz2
build_soong-b9db480385745a9f42ea3f49a16877cb048960a9.zip
Revert "Simplify arch target handling"
This reverts commit 6713fb26cbcadf525cd75e47d7d0cbc23d282b3e. Change-Id: Ic473cea2563b0b37dc08b0bc5d3a0ac8c4b6afe6
Diffstat (limited to 'android/paths.go')
-rw-r--r--android/paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/paths.go b/android/paths.go
index 35ed1801..910ebd28 100644
--- a/android/paths.go
+++ b/android/paths.go
@@ -629,7 +629,7 @@ func PathForModuleInstall(ctx ModuleContext, paths ...string) OutputPath {
}
outPaths = []string{"target", "product", ctx.AConfig().DeviceName(), partition}
} else {
- outPaths = []string{"host", ctx.Os().String() + "-x86"}
+ outPaths = []string{"host", ctx.HostType().String() + "-x86"}
}
if ctx.Debug() {
outPaths = append([]string{"debug"}, outPaths...)