summaryrefslogtreecommitdiff
path: root/cc/installer.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/installer.go')
-rw-r--r--cc/installer.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/cc/installer.go b/cc/installer.go
index f95b49346..e551c63e2 100644
--- a/cc/installer.go
+++ b/cc/installer.go
@@ -25,10 +25,6 @@ import (
type InstallerProperties struct {
// install to a subdirectory of the default install path for the module
Relative_install_path *string `android:"arch_variant"`
-
- // Install output directly in {partition}/, not in any subdir. This is only intended for use by
- // init_first_stage.
- Install_in_root *bool `android:"arch_variant"`
}
type installLocation int
@@ -70,11 +66,6 @@ func (installer *baseInstaller) installDir(ctx ModuleContext) android.InstallPat
if ctx.toolchain().Is64Bit() && installer.dir64 != "" {
dir = installer.dir64
}
-
- if installer.installInRoot() {
- dir = ""
- }
-
if ctx.Target().NativeBridge == android.NativeBridgeEnabled {
dir = filepath.Join(dir, ctx.Target().NativeBridgeRelativePath)
} else if !ctx.Host() && ctx.Config().HasMultilibConflict(ctx.Arch().ArchType) {
@@ -119,7 +110,3 @@ func (installer *baseInstaller) relativeInstallPath() string {
func (installer *baseInstaller) makeUninstallable(mod *Module) {
mod.ModuleBase.MakeUninstallable()
}
-
-func (installer *baseInstaller) installInRoot() bool {
- return Bool(installer.Properties.Install_in_root)
-}