summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2017-04-27 11:40:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-04-27 11:40:07 +0000
commitf41404045a695ff78c60276b40d0c84cc221ebee (patch)
tree349684151adf550926b49883ed282bef53694529
parent237249bbe11c4a963e5711e15f20f70b0ed40728 (diff)
parent4b64ed991b23dc1215ce10fce69c3e2595dd34b7 (diff)
downloadnative-f41404045a695ff78c60276b40d0c84cc221ebee.tar.gz
Merge "Update installd to new compiler filters."
-rw-r--r--cmds/installd/dexopt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp
index 0d89da4b05..84ef675d80 100644
--- a/cmds/installd/dexopt.cpp
+++ b/cmds/installd/dexopt.cpp
@@ -328,11 +328,11 @@ static void run_dex2oat(int zip_fd, int oat_fd, int input_vdex_fd, int output_vd
bool have_dex2oat_compiler_filter_flag;
if (skip_compilation) {
- strcpy(dex2oat_compiler_filter_arg, "--compiler-filter=verify-none");
+ strcpy(dex2oat_compiler_filter_arg, "--compiler-filter=extract");
have_dex2oat_compiler_filter_flag = true;
have_dex2oat_relocation_skip_flag = true;
} else if (vm_safe_mode) {
- strcpy(dex2oat_compiler_filter_arg, "--compiler-filter=interpret-only");
+ strcpy(dex2oat_compiler_filter_arg, "--compiler-filter=quicken");
have_dex2oat_compiler_filter_flag = true;
} else if (compiler_filter != nullptr &&
strlen(compiler_filter) + strlen("--compiler-filter=") <