No description
Find a file
Brian Carlstrom 782695112d Unify target and host Java compilation
This changes tries to reconcile drift between
transform-java-to-classes.jar which is used to build java for the
target with transform-host-java-to-package which is used for the
host. Several packages such as libcore are built both ways and the
drift between these rules was making it hard to make common changes to
things such as warning options.

The new compile-javac definition tries to include as much as possible
from the two previous definitions. Some conflicts it sorts out:
- hardwired -g vs PRIVATE_JAVAC_DEBUG_FLAGS
- consistent order of arguments
- moving PRIVATE_JAVAC_FLAGS to end to allow override of arguments
- xlint_unchecked is always conditional based on LOCAL_WARNINGS_ENABLE

Now what differs between the two is clear in the
transform-java-to-classes and transform-host-java-to-package
definitions. Notable differences:
- the target case supplies a bootclasspath while the host case does not.
- .class files are cleaned up after jaring in the target case,
  but in the cost case they are left for the sake of the vm-tests target
  which expects them to be present. That should probably be fixed in the future.
- PRIVATE_EXTRA_JAR_ARGS used to package resources into the jar only
  happens for the host. Its handled by add-java-resources-to-package for the
  target after dxing.

Change-Id: I2fb28f688fbb632102ca63448c2ac911db0477ae
2010-12-13 11:29:58 -08:00
core Unify target and host Java compilation 2010-12-13 11:29:58 -08:00
libs/host Cygwin fix: Use new #if HAVE_STAT_ST_MTIM 2010-11-01 15:53:45 -07:00
target Add installd to PRODUCT_PACKAGES 2010-12-03 11:00:40 -08:00
tools resolved conflicts for merge of 1c4fe5aa to master 2010-12-06 16:36:53 -08:00
.gitignore add a .gitignore file to make git ignore *.pyc files 2010-01-22 10:23:45 -08:00
buildspec.mk.default am 1884d99a: am aee4daac: The java version changed, and we made envsetup automatically find the right JAVA_HOME. 2010-06-23 16:04:38 -07:00
CleanSpec.mk am 5c41c178: am 700b88e1: Pass device characteristic information through to aapt. 2010-10-08 14:36:43 -07:00
envsetup.sh am 0332f0ac: Truly default to the full config. 2010-10-22 12:12:52 -07:00