History log of /external/vogar/src/vogar/android/InstallApkTask.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0585c04e4930e6811cb7322f522bb0b807991da7 07-Jun-2017 Igor Murashkin <iam@google.com> android: Add support for 1.8 javac and desugar

Using --toolchain jdk will now pass the correct dx minimum api level
(enabling it to use default methods, method handles, etc).

Vogar also now calls desugar before dx to convert invoke-dynamic lambdas
into anonymous inner class lambdas (because Android does not have
a LambdaMetafactory).

Test: art/tools/run-libcore-tests.sh --mode=host
Test: art/tools/run-libcore-tests.sh --mode=device
Test: vogar --toolchain jdk --mode activity --no-multidex libcore/luni/src/test/java/libcore/java/lang/ShortTest.java
Test: vogar --toolchain jdk --benchmark --mode device libcore/benchmarks/src/benchmarks/InvokeInterface.java
Test: java -cp ${ANDROID_BUILD_TOP}/out/host/linux-x86/framework/vogar-tests.jar org.junit.runner.JUnitCore vogar.AllTests
Bug: 36902714
Bug: 37461882
Change-Id: I9553e8304c269cd7e4e2b989729d785852e85f4e
/external/vogar/src/vogar/android/InstallApkTask.java
388fcad5269758e893c6982fa9e4c2fbb474460a 14-Feb-2017 Neil Fuller <nfuller@google.com> Adding multidex support to vogar

--multidex now exists to pass the necessary flags from vogar to
dx / Jack for (native) multi-dex. This flag is true by default
but can be disabled with --no-multidex.

Primary testing was to run the command line below with a
.jack that Jack is reporting as over the 65k limit with
--no-multidex / --multidex.

vogar --classpath out/target/product/angler/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.jack \
libcore.java.lang.StringTest

The change was confirmed with convoluted manual testing for
--toolchain jdk --language J17 (legacy case using dx).

Also, the vogar tests were run:
java -cp ${ANDROID_BUILD_TOP}/out/host/linux-x86/framework/vogar-tests.jar \
org.junit.runner.JUnitCore vogar.AllTests

Bug: 35308152
Test: See above
Change-Id: I90527a92f11d4d38bbcaff98cd11427ae489ee2b
/external/vogar/src/vogar/android/InstallApkTask.java
4b2e7ab15323b2b057e8bb7b0cf361bb2ab880e0 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
Change-Id: I74bb393b30970bdf1288d4408e13f5c0959a93ea
/external/vogar/src/vogar/android/InstallApkTask.java
328ef3e5167b8f08057aecf67fd4a0b353d9358c 30-Sep-2015 Rayhaan Jaufeerally <rayhaan@google.com> Add support for debugging app activity in Vogar.

This change adds support to debug app activities by adding the
debuggable option to the container application manifest, and
waiting for DDMS to connect before proceeding to run the user
specified code. In particular this change adds a --debug-app
command line flag to vogar because the --debug option requires
a port (which is unused in this scenario, using DDMS instead).

Bug: 20877308

Change-Id: Ia48600f24f9a9c52dc5a8aa72b1fb5fae90a9576
/external/vogar/src/vogar/android/InstallApkTask.java
f83be5e4273263df2bb9ef609946b911695b3996 02-Dec-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Use tasks everywhere.

I still need to smash together the 'Run' and 'Vogar' classes; this is an intermediate step on the way to removing miniguice DI from vogar.

git-svn-id: http://vogar.googlecode.com/svn/trunk@263 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/android/InstallApkTask.java