aboutsummaryrefslogtreecommitdiffstats
path: root/cc/cc.go
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-04-11 03:24:59 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-04-11 03:25:00 +0000
commit12b3117e2bd881e4f5996f6ef8016454174d325e (patch)
tree8bc634c227d22ef9f0cd10715e4d0707f49afd34 /cc/cc.go
parent0417699bbbd4151711e09925f3c72cbf3b8e81a5 (diff)
parent538b454c3df9b95a5db8e8b4d11838a40339f4f9 (diff)
downloadbuild_soong-12b3117e2bd881e4f5996f6ef8016454174d325e.tar.gz
build_soong-12b3117e2bd881e4f5996f6ef8016454174d325e.tar.bz2
build_soong-12b3117e2bd881e4f5996f6ef8016454174d325e.zip
Merge "Implement vendor as a synonym of proprietary" into oc-dev
Diffstat (limited to 'cc/cc.go')
-rw-r--r--cc/cc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/cc.go b/cc/cc.go
index 3ed1d7e1..8ef606f6 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -389,7 +389,7 @@ func (ctx *moduleContextImpl) sdkVersion() string {
}
func (ctx *moduleContextImpl) vndk() bool {
- return ctx.ctx.Os() == android.Android && ctx.ctx.Proprietary() && ctx.ctx.DeviceConfig().CompileVndk()
+ return ctx.ctx.Os() == android.Android && ctx.ctx.Vendor() && ctx.ctx.DeviceConfig().CompileVndk()
}
func (ctx *moduleContextImpl) selectedStl() string {