diff options
author | Benoit Lamarche <benoitlamarche@google.com> | 2014-11-13 19:00:49 +0100 |
---|---|---|
committer | Benoit Lamarche <benoitlamarche@google.com> | 2014-11-13 19:00:49 +0100 |
commit | 5ca762c3ff974f7a269f70c7b3b46279cedddf20 (patch) | |
tree | 05070ded07254825d92d5e6d86c828cd42435126 /jack/src | |
parent | df3866f6007bcbb52bc9009ecd4f902c6c896efe (diff) | |
download | toolchain_jack-5ca762c3ff974f7a269f70c7b3b46279cedddf20.zip toolchain_jack-5ca762c3ff974f7a269f70c7b3b46279cedddf20.tar.gz toolchain_jack-5ca762c3ff974f7a269f70c7b3b46279cedddf20.tar.bz2 |
Add new options --import-res and --import-meta
Change-Id: I64e95cffe5785ed6176cc99d1a768696d007c5ed
Diffstat (limited to 'jack/src')
-rw-r--r-- | jack/src/com/android/jack/Options.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/jack/src/com/android/jack/Options.java b/jack/src/com/android/jack/Options.java index 14312a5..ebb51ce 100644 --- a/jack/src/com/android/jack/Options.java +++ b/jack/src/com/android/jack/Options.java @@ -225,10 +225,18 @@ public class Options { metaVar = "FILE") protected File jarjarRulesFile = null; - @Option(name = "--import", usage = "import the given file into the output (repeatable)", + @Option(name = "--import", usage = "import the given file into the output (repeatable)", metaVar = "FILE") protected List<File> jayceImport = new ArrayList<File>(); + @Option(name = "--import-res", + usage = "import the given file into the output as resource (repeatable)", metaVar = "FILE") + protected List<File> resImport = new ArrayList<File>(); + + @Option(name = "--import-meta", usage = "import the given file as meta (repeatable)", + metaVar = "FILE") + protected List<File> metaImport = new ArrayList<File>(); + @Option(name = "--dx-legacy", usage = "keep generation close to dx (default: on)", handler = ExplicitBooleanOptionHandler.class, metaVar = "[on | off]") protected boolean dxLegacy = true; |