commit | 433b79a9130df5f2375b9d3d7518c1f3fb84a467 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Mon Jan 30 20:54:45 2017 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Jan 30 20:54:45 2017 +0000 |
tree | dddc053886464b99be29b9ca69039d74d49605ca | |
parent | 81356645157af44152c7b7db383596b5cf3479b5 [diff] [blame] |
Revert "Revert "Make --debuggable rely on JIT code."" Fixed by https://android-review.googlesource.com/#/c/330165/ This reverts commit 81356645157af44152c7b7db383596b5cf3479b5. Change-Id: Ifb74e1cc90ab6dea621f7f54a00b540d6ccd0cf6
diff --git a/dex2oat/dex2oat_test.cc b/dex2oat/dex2oat_test.cc index e86e560..864ca76 100644 --- a/dex2oat/dex2oat_test.cc +++ b/dex2oat/dex2oat_test.cc
@@ -125,7 +125,7 @@ class_path = OatFile::kSpecialSharedLibrary; } argv.push_back(class_path); - if (runtime->IsDebuggable()) { + if (runtime->IsJavaDebuggable()) { argv.push_back("--debuggable"); } runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv);