aboutsummaryrefslogtreecommitdiffstats
path: root/cc/installer.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/installer.go')
-rw-r--r--cc/installer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/installer.go b/cc/installer.go
index 92076e50..027d191b 100644
--- a/cc/installer.go
+++ b/cc/installer.go
@@ -69,7 +69,7 @@ func (installer *baseInstaller) installDir(ctx ModuleContext) android.OutputPath
if !ctx.Host() && !ctx.Arch().Native {
dir = filepath.Join(dir, ctx.Arch().ArchType.String())
}
- if installer.location == InstallInData && ctx.useVndk() {
+ if installer.location == InstallInData && ctx.vndk() {
dir = filepath.Join(dir, "vendor")
}
return android.PathForModuleInstall(ctx, dir, installer.subDir, installer.Properties.Relative_install_path, installer.relative)