diff options
| -rw-r--r-- | dex2oat/dex2oat.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index b3e3ba68a0..d30f69764b 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -126,6 +126,11 @@ static std::string StrippedCommandLine() { continue; } + // The image format is dropped. + if (StartsWith(original_argv[i], "--image-format=")) { + continue; + } + // This should leave any dex-file and oat-file options, describing what we compiled. // However, we prefer to drop this when we saw --zip-fd. |