aboutsummaryrefslogtreecommitdiffstats
path: root/cc/installer.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/installer.go')
-rw-r--r--cc/installer.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/installer.go b/cc/installer.go
index 92076e50..33f29f27 100644
--- a/cc/installer.go
+++ b/cc/installer.go
@@ -24,7 +24,7 @@ import (
type InstallerProperties struct {
// install to a subdirectory of the default install path for the module
- Relative_install_path string `android:"arch_variant"`
+ Relative_install_path *string `android:"arch_variant"`
}
type installLocation int
@@ -72,7 +72,8 @@ func (installer *baseInstaller) installDir(ctx ModuleContext) android.OutputPath
if installer.location == InstallInData && ctx.useVndk() {
dir = filepath.Join(dir, "vendor")
}
- return android.PathForModuleInstall(ctx, dir, installer.subDir, installer.Properties.Relative_install_path, installer.relative)
+ return android.PathForModuleInstall(ctx, dir, installer.subDir,
+ String(installer.Properties.Relative_install_path), installer.relative)
}
func (installer *baseInstaller) install(ctx ModuleContext, file android.Path) {