No description
Find a file
Colin Cross 69d85288cb Rearrange java library outputs
Jack can silently handle using a java library as a static java
library by merging in the java library dex file.  This causes
problems when switching to javac, because dex doesn't support
dex merging with multidex enabled?

Make the output files consistent between java libraries and static
java libraries.  Java libraries will now produce:
classes-pre-proguard.jar: the classes before proguard processing
classes.jar: the final jar file containing classes before dexing
javalib.jar: a jar containing classes.dex

Static java libraries will eventually only produce
classes-pre-proguard.jar and classes.jar.  All inter-library
linking is done with classes.jar, so a java library can be
used as a static java library.

There are too many dependencies outside the build system that
expect javalib.jar to exist for static and host java libraries,
so for now continue to build a javalib.jar that is a copy of
classes.jar.

Test: m -j ANDROID_COMPILE_WITH_JACK=false java
Test: m -j java
Bug: 36901093
Bug: 36902714
Change-Id: I6730e2d3ec38004874265b2a690442dec57b33f4
(cherry picked from commit 941b682099)
2017-04-11 10:01:28 -07:00
core Rearrange java library outputs 2017-04-11 10:01:28 -07:00
target Add 'vndservice' to default builds. 2017-04-07 10:49:22 -07:00
tests Add TARGET_PLATFORM_VERSION to lunch 2017-03-23 09:44:08 -07:00
tools Add USE_FILESLIST_GO to switch to fileslist.go 2017-03-28 13:19:03 -07:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
Android.mk Add new Android.mk to handle repo move 2016-06-16 15:30:19 -07:00
buildspec.mk.default Add TARGET_PLATFORM_VERSION to lunch 2017-03-23 09:44:08 -07:00
CleanSpec.mk Refactor sanitized library on-disk layout - Make. 2017-03-31 17:22:14 -07:00
envsetup.sh Merge "Small fixes for environment variables." am: fd0cb496b1 am: 37f3a728a0 2017-03-24 16:23:45 +00:00