Lines Matching refs:l
86 func (l *logicalPartition) DepsMutator(ctx android.BottomUpMutatorContext) {
90 func (l *logicalPartition) installFileName() string {
91 return proptools.StringDefault(l.properties.Stem, l.BaseModuleName()+".img")
94 func (l *logicalPartition) GenerateAndroidBuildActions(ctx android.ModuleContext) {
110 for _, group := range l.properties.Groups {
114 sparsePartitions(l.properties.Default_group)
118 size := proptools.String(l.properties.Size)
130 if proptools.Bool(l.properties.Sparse) {
155 addPartitionsToGroup(l.properties.Default_group, "default")
157 for _, group := range l.properties.Groups {
181 l.output = android.PathForModuleOut(ctx, l.installFileName()).OutputPath
182 cmd.FlagWithOutput("--output=", l.output)
184 builder.Build("build_logical_partition", fmt.Sprintf("Creating %s", l.BaseModuleName()))
186 l.installDir = android.PathForModuleInstall(ctx, "etc")
187 ctx.InstallFile(l.installDir, l.installFileName(), l.output)
212 func (l *logicalPartition) AndroidMkEntries() []android.AndroidMkEntries {
215 OutputFile: android.OptionalPathForPath(l.output),
218 entries.SetString("LOCAL_MODULE_PATH", l.installDir.ToMakePath().String())
219 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", l.installFileName())
227 func (l *logicalPartition) OutputPath() android.Path {
228 return l.output
231 func (l *logicalPartition) SignedOutputPath() android.Path {
238 func (l *logicalPartition) OutputFiles(tag string) (android.Paths, error) {
240 return []android.Path{l.output}, nil