aboutsummaryrefslogtreecommitdiffstats
path: root/android/arch.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-11-28 17:50:06 -0800
committerDan Willemsen <dwillemsen@google.com>2017-03-15 20:20:22 +0000
commit0e2d97b4b1d613ddd91f16fea9304c5f5d5d2517 (patch)
treeed863b28c53cebdc7d841b9e960bfa1fc7346574 /android/arch.go
parent7752bca25db99acf108ef469627b84cfd917d88e (diff)
downloadbuild_soong-0e2d97b4b1d613ddd91f16fea9304c5f5d5d2517.tar.gz
build_soong-0e2d97b4b1d613ddd91f16fea9304c5f5d5d2517.tar.bz2
build_soong-0e2d97b4b1d613ddd91f16fea9304c5f5d5d2517.zip
Stop making the ndk headers host-specific
This breaks when I enable a second host configuration for host bionic. Make non-arch modules !Device and !Host by adding "Generic" as the zero value. Make the SkipDeviceInstall config only apply to Device modules. Test: out/soong/build.ninja is identical expect for comments Change-Id: I6e2bd3814a9968554d3901a508d822d5c79d08a0
Diffstat (limited to 'android/arch.go')
-rw-r--r--android/arch.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/arch.go b/android/arch.go
index df50afa0..5a88f23d 100644
--- a/android/arch.go
+++ b/android/arch.go
@@ -217,7 +217,8 @@ type OsType struct {
type OsClass int
const (
- Device OsClass = iota
+ Generic OsClass = iota
+ Device
Host
HostCross
)