Lines Matching refs:rule

55 	global *GlobalConfig, module *ModuleConfig) (rule *android.RuleBuilder, err error) {
63 rule = nil
70 rule = android.NewRuleBuilder(pctx, ctx)
77 profile = profileCommand(ctx, globalSoong, global, module, rule)
80 bootProfileCommand(ctx, globalSoong, global, module, rule)
95 dexpreoptCommand(ctx, globalSoong, global, module, rule, archIdx, profile, appImage, generateDM)
100 return rule, nil
131 module *ModuleConfig, rule *android.RuleBuilder) android.WritablePath {
137 rule.Command().Text("rm -f").Output(profilePath)
138 rule.Command().Text("touch").Output(profilePath)
141 cmd := rule.Command().
166 rule.Install(profilePath, profileInstalledPath)
172 module *ModuleConfig, rule *android.RuleBuilder) android.WritablePath {
178 rule.Command().Text("rm -f").Output(profilePath)
179 rule.Command().Text("touch").Output(profilePath)
182 cmd := rule.Command().
199 rule.Install(profilePath, profileInstalledPath)
205 module *ModuleConfig, rule *android.RuleBuilder, archIdx int, profile android.WritablePath,
239 rule.Command().FlagWithArg("mkdir -p ", filepath.Dir(odexPath.String()))
240 rule.Command().FlagWithOutput("rm -f ", odexPath)
255 rule.Command().Text("mkdir -p").Flag(filepath.Dir(dexPathHost.String()))
256 rule.Command().Text("cp -f").Input(module.DexPath).Output(dexPathHost)
260 rule.Command().
295 rule.Command().Textf(`target_sdk_version=%d`, AnySdkVersion)
297 rule.Command().Text(`target_sdk_version="$(`).
307 rule.Command().
322 cmd := rule.Command().
401 rule.Command().Text("cp -f").Input(vdexPath).Output(tmpPath)
402 rule.Command().Tool(globalSoong.SoongZip).
407 rule.Install(dmPath, dmInstalledPath)
456 rule.Install(appImagePath, appImageInstallPath)
463 rule.Install(odexPath, odexInstallPath)
464 rule.Install(vdexPath, vdexInstallPath)