diff options
| author | 2017-05-01 17:06:55 +0000 | |
|---|---|---|
| committer | 2017-05-01 17:06:56 +0000 | |
| commit | 1f44d63d069b7690b3b082d35324c820d46c6b12 (patch) | |
| tree | 0e441ee26b569787b1258b9e622fd166c8835760 | |
| parent | a44d67e7ff3c0d3967f4e9a2d9d1d18c5701c7e7 (diff) | |
| parent | c8e3520f53630db66e4885549b8cb2c635916636 (diff) | |
Merge "ART: Don't let dex2oat compile image space"
| -rw-r--r-- | dex2oat/dex2oat.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 4cba36aef6..ea82133751 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -2406,6 +2406,8 @@ class Dex2Oat FINAL { if (!IsBootImage()) { raw_options.push_back(std::make_pair("-Xno-dex-file-fallback", nullptr)); } + // Never allow implicit image compilation. + raw_options.push_back(std::make_pair("-Xnoimage-dex2oat", nullptr)); // Disable libsigchain. We don't don't need it during compilation and it prevents us // from getting a statically linked version of dex2oat (because of dlsym and RTLD_NEXT). raw_options.push_back(std::make_pair("-Xno-sig-chain", nullptr)); |