diff options
author | Jean-Philippe Halimi <jean-philippe.halimi@intel.com> | 2015-03-23 14:09:48 +0100 |
---|---|---|
committer | Jean-Philippe Halimi <jean-philippe.halimi@intel.com> | 2015-03-30 11:24:10 +0200 |
commit | 3d329d7bbc1e04e9d1a9999f7785469d2ac88fc4 (patch) | |
tree | da69f318ff9a044c3a6f3acdd880cc1345ac3ec8 /dex2oat | |
parent | d0056ceab8a78d5cfc0b4e06bce548b2d1cf1fef (diff) | |
download | art-3d329d7bbc1e04e9d1a9999f7785469d2ac88fc4.zip art-3d329d7bbc1e04e9d1a9999f7785469d2ac88fc4.tar.gz art-3d329d7bbc1e04e9d1a9999f7785469d2ac88fc4.tar.bz2 |
ART: Adds a help message for parallel compilation
This patch adds a message for the "j" option of dex2oat in order to explicit
its usage.
Change-Id: I5a50e52b38f579f9956ad92a7daaf77bfa4c893f
Signed-off-by: Jean-Philippe Halimi <jean-philippe.halimi@intel.com>
Diffstat (limited to 'dex2oat')
-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 dfea783..06a3d3f 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -109,6 +109,11 @@ NO_RETURN static void Usage(const char* fmt, ...) { UsageError("Usage: dex2oat [options]..."); UsageError(""); + UsageError(" -j<number>: specifies the number of threads used for compilation."); + UsageError(" Default is the number of detected hardware threads available on the"); + UsageError(" host system."); + UsageError(" Example: -j12"); + UsageError(""); UsageError(" --dex-file=<dex-file>: specifies a .dex, .jar, or .apk file to compile."); UsageError(" Example: --dex-file=/system/framework/core.jar"); UsageError(""); |