- 02 Mar, 2016 1 commit
-
-
Neil Fuller authored
This will allow us to convert icu4j-icudata / icu4j-icutzdata targets to "host" targets rather than "target" targets. Right now they are forcing Jack off just so they can use javac + jarjar (even though the resulting file is used on host). Bug: 27218410 Change-Id: I7062c698389d98b0dde5690280a9140c3b12cbf7
-
- 28 Sep, 2015 1 commit
-
-
Colin Cross authored
Ninja has an implicit dependency on the command being run, and kati will regenerate the ninja manifest if any read makefile changes, so there is no need to have dependencies on makefiles. This won't catch all the cases where LOCAL_ADDITIONAL_DEPENDENCIES contains a .mk file, because a few users of LOCAL_ADDITIONAL_DEPENDENCIES don't include base_rules.mk, but it will fix the most common ones. Bug: 23566977 Change-Id: I66de882421376303ab7233c8ce7274548f6b2199
-
- 02 Sep, 2015 1 commit
-
-
Ying Wang authored
- Added GLOBAL_JAVAC_DEBUG_FLAGS and merge it to PRIVATE_JAVACFLAGS/PRIVATE_JACK_FLAGS to get rid of PRIVATE_JAVAC_DEBUG_FLAGS/PRIVATE_JACK_DEBUG_FLAGS. - With Java rules out of base_rules.mk we can get rid of java_alternative_checked_module now. Change-Id: I1a14716c785e3d49330a75044107662ce96a9307
-
- 29 Aug, 2015 1 commit
-
-
Ying Wang authored
- Moved the target-only .aidl and .logtag rules to java.mk. - Moved the .proto rules, Java library dependency calculation, Java resource processing and Java-related target-specific and global variables setup to a new java_common.java, which is shared by both target and host Java modules. - Minor cleanup for the moved code. Bug: 23597357 Change-Id: Ic3eb72e26bb1a663e5739abe0a935f96b88bc352
-
- 02 Jun, 2015 1 commit
-
-
Yohann Roussel authored
Bug: 21099584 (cherry-picked from commit 5b2c6e26) Change-Id: I39aa1f24780c216e978ef743098ca7ac65b2962e
-
- 28 May, 2015 1 commit
-
-
Yohann Roussel authored
Bug: 21099584 Change-Id: I39aa1f24780c216e978ef743098ca7ac65b2962e
-
- 19 May, 2015 1 commit
-
-
Yohann Roussel authored
This allows to compile dex targeted java sources using Jack and Jill. Default is still to compile with the legacy toolchain. Default can be switched to the new toolchain by setting environement variable: export ANDROID_COMPILE_WITH_JACK=true Toolchain can also be forced for one module by defining LOCAL_JACK_ENABLED:=full # disabled, full, incremental in the mk portion defining the module. Jack execution environement can be controlled with: Global variable ANDROID_JACK_VM allow to change the jvm executing Jack. Global variable ANDROID_JACK_VM_ARGS allows to change default args given to the jvm. Global variable ANDROID_JACK_EXTRA_ARGS allows to define some default args to give to Jack LOCAL_JACK_VM_ARGS allows to override default args given to the jvm for the module. LOCAL_JACK_EXTRA_ARGS allows to override default args passed to Jack. This includes cherry-picks of the following changes: b4c49cba 22c3fa6d 138768c1 5dd3e1d3 83d5d040 8bc90fd2 14027470 0fbc9ff2 833b427d f9a27f45 28096669 37822c44 c6b44d43 d2a76c14 06744f60 95573d50 b8213916 2794e7b5 801f2c44 c76d99dc f528e132 76a5e0bd e25b3984 Partially, only Jack related parts werekept ec46a3b7 abee3a9f 77cbe10f daf07db4 b6bfb589 Ie all Jack related changes untill b6bfb589 except a96cc59a "Use Jack by default" Change-Id: If9d47ef1c4fd1e6765ad2a47d816c1ad3cfab0e3
-
- 18 Feb, 2015 1 commit
-
-
Yohann Roussel authored
Set LOCAL_BUILT_MODULE of static java libraries when Jack is enabled to classes.jack instead of javalib.jar. This allows that running mm in those libraries will build classes.jack instead of the jar. Change-Id: I96b4b227848e971df96331b3f0cc731e856be349
-
- 11 Nov, 2014 1 commit
-
-
Dan Albert authored
This should obviate much of the need for cleanspecs, and also make it unnecessary to continue adding LOCAL_ADDITIONAL_DEPENDENCIES for this sort of thing all over the tree. Change-Id: I97aa8fd280ae868a5f6364f8b7bf3c2fe235d6ce
-
- 24 May, 2014 1 commit
-
-
Jeff Brown authored
Allow LOCAL_JAR_PACKAGES to work on subpackages. Previously it only worked on top-level packages due to a bug in how the directories were recursively deleted. Add LOCAL_JAR_EXCLUDE_PACKAGES to allow specific subpackages to be excluded. This rule applies after LOCAL_JAR_PACKAGES has selected which packages to include. It may also be used independently. Change-Id: Ibd0e495be1a20c84b59c9da132e92100ef3f8705
-
- 30 Dec, 2013 1 commit
-
-
Ying Wang authored
To run emma on a host Java library, in the module definition use: LOCAL_EMMA_INSTRUMENT := true then run make with "EMMA_INSTRUMENT=true". Bug: 12178695 Change-Id: Ie31582b94f5c45381f534912e810f88d21dde9b2
-
- 25 Nov, 2013 1 commit
-
-
Narayan Kamath authored
We currently have two types of host libraries, those meant for the host VM (Sun, OpenJDK etc.) and those meant for a host dalvik build. The former need to be compiled against the host standard libraries and the latter need to be compiled against libcore. This change introduces two new build rules to complement the existing the existing host rules. BUILD_HOST_DALVIK_JAVA_LIBRARY : Build a java library for a host build of dalvik. Bootclasspath will be set to a host build of libcore. BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY : Build a static java library for a host build of dalvik. Bootclasspath will be set to a host build of libcore. This change also removes support for the LOCAL_BUILD_HOST_DEX flag, which is now unnecessary. bug: 8992787 (cherry picked from commit 0dd273a3) Change-Id: I3569fff8eaa4d26d55fcc317bd98471f55d74c14
-
- 07 Nov, 2013 1 commit
-
-
Narayan Kamath authored
We currently have two types of host libraries, those meant for the host VM (Sun, OpenJDK etc.) and those meant for a host dalvik build. The former need to be compiled against the host standard libraries and the latter need to be compiled against libcore. This change introduces two new build rules to complement the existing the existing host rules. BUILD_HOST_DALVIK_JAVA_LIBRARY : Build a java library for a host build of dalvik. Bootclasspath will be set to a host build of libcore. BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY : Build a static java library for a host build of dalvik. Bootclasspath will be set to a host build of libcore. This change also removes support for the LOCAL_BUILD_HOST_DEX flag, which is now unnecessary. bug: 8992787 Change-Id: I3569fff8eaa4d26d55fcc317bd98471f55d74c14
-
- 02 Oct, 2013 1 commit
-
-
Chris Wren authored
Change-Id: Ia4499d439ea23ee4d6707cfb005b7230c0a2374f
-
- 28 Aug, 2013 1 commit
-
-
Ying Wang authored
Change-Id: Ia04158c11381b6b1687b9d5c699a9ea8ae3cb317
-
- 15 Aug, 2013 1 commit
-
-
Ying Wang authored
Bug: 10330586 Change-Id: I6ddfca2ec986cf2c82b0942b7a5360508f095e9a
-
- 02 Aug, 2013 1 commit
-
-
Brian Carlstrom authored
Change-Id: I8be48114b43e46255977be1677b0c0bbccdf9163
-
- 05 Jun, 2013 1 commit
-
-
Torne (Richard Coles) authored
Changes to the jarjar rules file for a module were not causing rebuilds; add the missing dependency. Change-Id: Ib78fa708681cbc414218fe84cc2c4282c619f45f
-
- 27 Mar, 2013 1 commit
-
-
jeffhao authored
The host java files weren't being compiled with -g. (cherry-picked from 3a971f734060d19fc023ccf82e39d956a31b7cfb) Change-Id: I4274910c64ebf52ec955e30e800b34fc309db27b
-
- 30 Jan, 2013 1 commit
-
-
Ying Wang authored
To remove dup code; Also added two more umbrella targets: host, target. Change-Id: Ia6deed2940a26a31ad823fe54816840861f3fb72
-
- 03 Dec, 2012 1 commit
-
-
Ying Wang authored
Change-Id: Id516716eaa90534f1b51133d5fb97468e52802dd
-
- 26 Oct, 2012 2 commits
-
-
Joe Onorato authored
When a device java module was using the layers.txt files, and that device java module depenended on a host java module, when building the host java module, the layer checker tried to run and would fail, complaining about the host module. The problem was that since the value wasn't set for the host module, it would be inherited from its dependent module (a make "feature") and would cause the layer checker to run. So this change makes it explicitly set PRIVATE_JAVA_LAYERS_FILE for host java modules too. Change-Id: Ifbc085295d0995a2da5d6d63d8cb379ef2631cc4
-
Joe Onorato authored
When a device java module was using the layers.txt files, and that device java module depenended on a host java module, when building the host java module, the layer checker tried to run and would fail, complaining about the host module. The problem was that since the value wasn't set for the host module, it would be inherited from its dependent module (a make "feature") and would cause the layer checker to run. So this change makes it explicitly set PRIVATE_JAVA_LAYERS_FILE for host java modules too. Change-Id: Ifbc085295d0995a2da5d6d63d8cb379ef2631cc4
-
- 12 Oct, 2012 2 commits
-
-
Joe Onorato authored
(makes generating code easier) Change-Id: I1e2e882f7805dbfe4b726955eddc5ff8bc3e0005
-
Joe Onorato authored
(makes generating code easier) Change-Id: I1e2e882f7805dbfe4b726955eddc5ff8bc3e0005
-
- 27 Aug, 2012 1 commit
-
-
Ying Wang authored
Bug: 6892294 Change-Id: I3ff71ee3d7b9ccdfde6a5284cc350864fbffa71f Conflicts: core/package.mk
-
- 09 Aug, 2012 1 commit
-
-
Ying Wang authored
Bug: 6892294 Change-Id: I3ff71ee3d7b9ccdfde6a5284cc350864fbffa71f
-
- 16 Dec, 2011 1 commit
-
-
Ying Wang authored
Bug: 5448433 Instead of deferring the removal to building the app. In that case any R/Manifest classes in any static Java libraries will be deleted, no matter if they are generated from Android resource, or just source R.java/Manifest.java in the source tree by accident. Change-Id: I656f45e3cbc3796c5d4832363231480b3f1dc5b8
-
- 26 Jan, 2011 1 commit
-
-
Brian Carlstrom authored
Bug: 3086427 Change-Id: Ibe73dfa70d4c3d82968c43e74ced38cd74f60e0f
-
- 23 Sep, 2010 1 commit
-
-
Ying Wang authored
Change-Id: Ie374d3abf4c261b9c5e8b80ed464b4c6b1b52b42
-
- 10 Sep, 2010 1 commit
-
-
Ying Wang authored
Change-Id: I55df5e4051dbeb89a70d6d7b89fb6110f133d9d7
-
- 20 Jul, 2010 1 commit
-
-
Ying Wang authored
Change-Id: I1a868885e72c94c4b065723a8d6e890fce5ba1e0 http://b/issue?id=1444634
-
- 05 Feb, 2010 1 commit
-
-
Brian Carlstrom authored
The Dalvik core libraries team would like to start making warnings errors in certain packages by definition LOCAL_JAVACFLAGS. This will allow easier debuging of warnings in other packages by supplying "-Xlint:..." options.
-
- 04 Mar, 2009 2 commits
-
-
The Android Open Source Project authored
-
The Android Open Source Project authored
-
- 21 Oct, 2008 1 commit
-
-
The Android Open Source Project authored
-