History log of /external/vogar/src/vogar/commands/Jack.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f9c9be653924a100e81caf48db36c0a6bac71c52 21-Mar-2016 Sebastien Hertz <shertz@google.com> Fix Jack command-line

Provides min api level to Jack.

(cherry picked from commit 778cb7f7570a13a0e1e7ad62bea7d6f5bf954d9c)

Bug: 27371864
Change-Id: I2f75e0af0a7e7a0d52f0c1065c5e7249fbfdc566
/external/vogar/src/vogar/commands/Jack.java
8a0258e80032761f708d96d9f98fe57fa8774f3c 03-Mar-2016 Neil Fuller <nfuller@google.com> Add caching for Jack artifacts

Unfortunately, the .jack format is not "stable", meaning that
two .jack files produced from the source will vary and will be
cached unnecessarily (bug 27470894) leading to repeated jack
execution. Invoking jack on a prebuilt .jar file works better.

Bug: 26814204
Change-Id: Ifd242960cd4e94397790669d9b09a501e49272e4
/external/vogar/src/vogar/commands/Jack.java
51e82d0c6bd72bbf8a7428f7e8f0881337910e2c 11-Feb-2016 Neil Fuller <nfuller@google.com> Move to using jack for more things instead of dx

Use jack to create .dex.jar files for --mode=host and
--mode=device with --toolchain jack.

Also allow for .jack files on the classpath.

This is a quick-and-dirty change to keep things working for
Jack. Jack is required for the Java 8 work to proceed without
breaking the ART continuous build.

This change deliberately leaves the existing (toolchain=jdk)
untouched.

These changes are just intended to modify the --toolchain
jack behavior. --toolchain jdk should remain the same.

Bug: 27115876
Bug: 26753820
(cherry-picked from commit 4b2e7ab15323b2b057e8bb7b0cf361bb2ab880e0)

Change-Id: I02e7b7aa144f49e1fde8de16384b170be6f50cb0
/external/vogar/src/vogar/commands/Jack.java
207781e883c6e94f65be2bf1c8e653a5928b937c 08-Jan-2016 Neil Fuller <nfuller@google.com> Rudimentary vogar support for executing Java 8 tests

A few changes:

1) vogar can now take the (currently undocumented in --help) --language
flag. Values are J17 (the default) and JN. This makes it easier to compile
code for --mode jvm that uses Java 1.8 for comparison with the RI and also
allows us to drive Jack with either 1.7 / 1.8 flags.

2) Switch from "jill" to "jack" for translation from .jar to .jack. Also
added some simple timestamp checks to avoid continual regeneration of the
vogar.jack (which is slow).

Jack must be used for host and device ART modes.

For 1.8 code the latest (Carnac) version of Jack is required. To use it:
e.g.
JACK_VERSION=3.9.ALPHA vogar --mode host --toolchain jack \
libcore/testing/InterfaceMethodTest.java

or use:

JACK_VERSION=`basename prebuilts/sdk/tools/jacks/*ALPHA* | sed 's/^jack-//' | sed 's/.jar$//'`

--mode device to run on device

(cherry-picked from commit 007321d8750847105b873a38edb9d03d402a4022)

Change-Id: I3882f14033e7451bcf4ddd5d6ce323830684fd2e
/external/vogar/src/vogar/commands/Jack.java
78042b6b06d88f8a0a7b71e1c5f2cdfd06004e56 03-Dec-2015 Yi Kong <yikong@google.com> Changes to get vogar working on master

- Add core-oj to the list of boot-classpath libs.
- Tweaks to deal with the existence of the jack server on master.
We must now invoke the "jack" shell script, and fallback to jar
when for previous releases.

Bug: 25974639
Change-Id: Icaa7b5c9e7d70576ac592b7032f4af57b5e0aaed
/external/vogar/src/vogar/commands/Jack.java
fca99ba6a930cd7a36b1807c0201f49a80cadcf6 13-Jul-2015 Rayhaan Jaufeerally <rayhaan@google.com> Experimental support for jack on host mode.
This includes adding a --toolchain={jack,jdk} option which chooses what
to compile sources with. Currently only works with host mode and pending
on b/22382563 to be able to properly compile code with dependencies on
the surrounding package. This depends on the prebuilt jack jar file in
AOSP.

Change-Id: Id4d5eaa51318009fd8a147e4c548be3c62f9c5aa
/external/vogar/src/vogar/commands/Jack.java