Merge "Create dexpreopt install dir"

This commit is contained in:
Treehugger Robot 2018-12-20 00:14:36 +00:00 committed by Gerrit Code Review
commit 894139e655
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ func writeScripts(global dexpreopt.GlobalConfig, module dexpreopt.ModuleConfig,
installDir := filepath.Join(filepath.Dir(module.BuildPath), "dexpreopt_install")
dexpreoptRule.Command().FlagWithArg("rm -rf ", installDir)
dexpreoptRule.Command().FlagWithArg("mkdir -p ", installDir)
for _, install := range dexpreoptRule.Installs() {
installPath := filepath.Join(installDir, install.To)