Add installd support to dex2oat
Change-Id: Id1a64403ccea7dc2c1e8b8340d33d383d4045a33
diff --git a/src/class_linker.cc b/src/class_linker.cc
index e3b30d7..01ba9af 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -584,7 +584,7 @@
dex_file_option_string += filename;
const char* dex_file_option = dex_file_option_string.c_str();
- std::string oat_file_option_string("--oat=");
+ std::string oat_file_option_string("--oat-file=");
oat_file_option_string += oat_filename;
const char* oat_file_option = oat_file_option_string.c_str();