Lines Matching refs:m
126 func (m *headerModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
127 if String(m.properties.License) == "" {
131 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
133 srcFiles := android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs)
135 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From),
136 String(m.properties.To))
144 m.installPaths = append(m.installPaths, installPath)
147 if len(m.installPaths) == 0 {
148 ctx.ModuleErrorf("srcs %q matched zero files", m.properties.Srcs)
210 func (m *versionedHeaderModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
211 if String(m.properties.License) == "" {
215 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
217 fromSrcPath := android.PathForModuleSrc(ctx, String(m.properties.From))
218 toOutputPath := getCurrentIncludePath(ctx).Join(ctx, String(m.properties.To))
222 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From), String(m.properties.To))
225 m.installPaths = append(m.installPaths, installPath)
228 if len(m.installPaths) == 0 {
229 ctx.ModuleErrorf("glob %q matched zero files", String(m.properties.From))
330 func (m *preprocessedHeadersModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
331 if String(m.properties.License) == "" {
335 preprocessor := android.PathForModuleSrc(ctx, String(m.properties.Preprocessor))
336 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
338 srcFiles := android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs)
339 installDir := getCurrentIncludePath(ctx).Join(ctx, String(m.properties.To))
342 m.installPaths = append(m.installPaths, installPath)
355 if len(m.installPaths) == 0 {
356 ctx.ModuleErrorf("srcs %q matched zero files", m.properties.Srcs)