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/runtime/oat_file_assistant.cc b/runtime/oat_file_assistant.cc index 8554fa2..b19ace5 100644 --- a/runtime/oat_file_assistant.cc +++ b/runtime/oat_file_assistant.cc
@@ -530,7 +530,7 @@ class_path = OatFile::kSpecialSharedLibrary; } argv.push_back(class_path); - if (runtime->IsDebuggable()) { + if (runtime->IsJavaDebuggable()) { argv.push_back("--debuggable"); } runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv);