Lines Matching refs:f
87 func (f *hostSnapshot) DepsMutator(ctx android.BottomUpMutatorContext) {
88 f.AddDeps(ctx, dependencyTag)
90 func (f *hostSnapshot) installFileName() string {
91 return f.Name() + ".zip"
95 func (f *hostSnapshot) CreateMetaData(ctx android.ModuleContext, fileName string) android.OutputPat…
149 func (f *hostSnapshot) GenerateAndroidBuildActions(ctx android.ModuleContext) {
151 depsZipFile := android.PathForModuleOut(ctx, f.Name()+"_deps.zip").OutputPath
152 modsZipFile := android.PathForModuleOut(ctx, f.Name()+"_mods.zip").OutputPath
153 f.outputFile = android.PathForModuleOut(ctx, f.installFileName()).OutputPath
155 f.installDir = android.PathForModuleInstall(ctx)
157 f.CopyDepsToZip(ctx, f.GatherPackagingSpecs(ctx), depsZipFile)
164 Text("**/*:" + proptools.ShellEscape(f.installDir.String()))
166 metaZipFile := f.CreateMetaData(ctx, f.Name()+"_meta.zip")
170 Output(f.outputFile).
174 builder.Build("manifest", fmt.Sprintf("Adding manifest %s", f.installFileName()))
175 ctx.InstallFile(f.installDir, f.installFileName(), f.outputFile)
180 func (f *hostSnapshot) AndroidMkEntries() []android.AndroidMkEntries {
183 OutputFile: android.OptionalPathForPath(f.outputFile),
184 DistFiles: android.MakeDefaultDistFiles(f.outputFile),
187 entries.SetString("LOCAL_MODULE_PATH", f.installDir.String())
188 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", f.installFileName())