aboutsummaryrefslogtreecommitdiffstats
path: root/cc/androidmk.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-09-13 18:37:08 -0700
committerDan Willemsen <dwillemsen@google.com>2017-09-18 23:33:25 -0700
commit3e5bdf29ba6af25e7b82cf877db8e13b70d81512 (patch)
tree083bda03f48509955ea10ed1a1ad07a2ecd14946 /cc/androidmk.go
parent0c16293821e71d20c6e2a8dec394d169c2dc2372 (diff)
downloadandroid_build_soong-3e5bdf29ba6af25e7b82cf877db8e13b70d81512.tar.gz
android_build_soong-3e5bdf29ba6af25e7b82cf877db8e13b70d81512.tar.bz2
android_build_soong-3e5bdf29ba6af25e7b82cf877db8e13b70d81512.zip
Add cc_genrule
cc_genrule is the same as a normal genrule, but can depend on other cc modules (like cc_object). Test: mmma external/minijail Change-Id: I8df87665c7bdc76ce89c92755c054f967a818e57
Diffstat (limited to 'cc/androidmk.go')
-rw-r--r--cc/androidmk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/androidmk.go b/cc/androidmk.go
index fc45b7ad..2db9d86b 100644
--- a/cc/androidmk.go
+++ b/cc/androidmk.go
@@ -89,7 +89,7 @@ func (c *Module) AndroidMk() android.AndroidMkData {
}
c.subAndroidMk(&ret, c.installer)
- if c.vndk() && Bool(c.Properties.Vendor_available) {
+ if c.vndk() && Bool(c.VendorProperties.Vendor_available) {
// .vendor suffix is added only when we will have two variants: core and vendor.
// The suffix is not added for vendor-only module.
ret.SubName += vendorSuffix