diff options
Diffstat (limited to 'anttasks')
-rw-r--r-- | anttasks/src/com/android/ant/DexExecTask.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/anttasks/src/com/android/ant/DexExecTask.java b/anttasks/src/com/android/ant/DexExecTask.java index 9882fe9..3ccc87d 100644 --- a/anttasks/src/com/android/ant/DexExecTask.java +++ b/anttasks/src/com/android/ant/DexExecTask.java @@ -43,6 +43,7 @@ public class DexExecTask extends SingleDependencyTask { private String mDexedLibs; private boolean mVerbose = false; private boolean mNoLocals = false; + private boolean mForceJumbo = false; private List<Path> mPathInputs; private List<FileSet> mFileSetInputs; @@ -83,6 +84,10 @@ public class DexExecTask extends SingleDependencyTask { mNoLocals = nolocals; } + public void setForceJumbo(boolean forceJumbo) { + mForceJumbo = forceJumbo; + } + /** * Returns an object representing a nested <var>path</var> element. */ @@ -242,6 +247,10 @@ public class DexExecTask extends SingleDependencyTask { task.createArg().setValue("--verbose"); } + if (mForceJumbo) { + task.createArg().setValue("--force-jumbo"); + } + task.createArg().setValue("--output"); task.createArg().setValue(output); |