• Home
  • Raw
  • Download

Lines Matching refs:rule

55 	global *GlobalConfig, module *ModuleConfig) (rule *android.RuleBuilder, err error) {
63 rule = nil
70 rule = android.NewRuleBuilder()
77 profile = profileCommand(ctx, globalSoong, global, module, rule)
80 bootProfileCommand(ctx, globalSoong, global, module, rule)
92 dexpreoptCommand(ctx, globalSoong, global, module, rule, archIdx, profile, appImage, generateDM)
97 return rule, nil
125 module *ModuleConfig, rule *android.RuleBuilder) android.WritablePath {
131 rule.Command().FlagWithOutput("touch ", profilePath)
134 cmd := rule.Command().
158 rule.Install(profilePath, profileInstalledPath)
164 module *ModuleConfig, rule *android.RuleBuilder) android.WritablePath {
170 rule.Command().FlagWithOutput("touch ", profilePath)
173 cmd := rule.Command().
190 rule.Install(profilePath, profileInstalledPath)
196 module *ModuleConfig, rule *android.RuleBuilder, archIdx int, profile android.WritablePath,
299 rule.Command().Text("mkdir -p").Flag(filepath.Dir(dexPathHost.String()))
300 rule.Command().Text("cp -f").Input(module.DexPath).Output(dexPathHost)
309 rule.Command().FlagWithArg("mkdir -p ", filepath.Dir(odexPath.String()))
310 rule.Command().FlagWithOutput("rm -f ", odexPath)
313 rule.Command().
317 rule.Command().
325 rule.Command().Text(`target_sdk_version="$(`).
332 rule.Command().Text(`target_sdk_version="$(`).
339 rule.Command().Textf(`dex_preopt_host_libraries="%s"`,
342 rule.Command().Textf(`dex_preopt_target_libraries="%s"`,
344 rule.Command().Textf(`conditional_host_libs_28="%s"`,
347 rule.Command().Textf(`conditional_target_libs_28="%s"`,
349 rule.Command().Textf(`conditional_host_libs_29="%s"`,
352 rule.Command().Textf(`conditional_target_libs_29="%s"`,
354 rule.Command().Text("source").Tool(globalSoong.ConstructContext).Input(module.DexPath)
365 cmd := rule.Command().
435 rule.Command().Text("cp -f").Input(vdexPath).Output(tmpPath)
436 rule.Command().Tool(globalSoong.SoongZip).
441 rule.Install(dmPath, dmInstalledPath)
490 rule.Install(appImagePath, appImageInstallPath)
497 rule.Install(odexPath, odexInstallPath)
498 rule.Install(vdexPath, vdexInstallPath)