Lines Matching full:installer

67 var _ installer = (*baseInstaller)(nil)
69 func (installer *baseInstaller) installerProps() []interface{} {
70 return []interface{}{&installer.Properties}
73 func (installer *baseInstaller) installDir(ctx ModuleContext) android.InstallPath {
74 dir := installer.dir
75 if ctx.toolchain().Is64Bit() && installer.dir64 != "" {
76 dir = installer.dir64
79 if installer.installInRoot() {
81 } else if installer.installInXbin() {
90 if installer.location == InstallInData && ctx.InVendorOrProduct() {
97 return android.PathForModuleInstall(ctx, dir, installer.subDir,
98 installer.relativeInstallPath(), installer.relative)
101 func (installer *baseInstaller) install(ctx ModuleContext, file android.Path) {
102installer.path = ctx.InstallFile(installer.installDir(ctx), file.Base(), file, installer.installDe…
105 func (installer *baseInstaller) installTestData(ctx ModuleContext, data []android.DataPath) {
106 installedData := ctx.InstallTestData(installer.installDir(ctx), data)
107 installer.installDeps = append(installer.installDeps, installedData...)
110 func (installer *baseInstaller) everInstallable() bool {
115 func (installer *baseInstaller) inData() bool {
116 return installer.location == InstallInData
119 func (installer *baseInstaller) inSanitizerDir() bool {
120 return installer.location == InstallInSanitizerDir
123 func (installer *baseInstaller) hostToolPath() android.OptionalPath {
127 func (installer *baseInstaller) relativeInstallPath() string {
128 return String(installer.Properties.Relative_install_path)
131 func (installer *baseInstaller) makeUninstallable(mod *Module) {
135 func (installer *baseInstaller) installInRoot() bool {
136 return Bool(installer.Properties.Install_in_root)
139 func (installer *baseInstaller) installInXbin() bool {
140 return Bool(installer.Properties.Install_in_xbin)