summaryrefslogtreecommitdiffstats
path: root/core/host_java_library.mk
Commit message (Collapse)AuthorAgeFilesLines
* build-with-colors: moar colorsChirayu Desai2015-10-061-2/+1
| | | | | | | | | | | | | | | | - rename CL_PFX and CL_INS to better match the colors they show. - add more colors. Output of: - most host stuff is yellow - most target stuff is green - installing/copying files is cyan - import/export includes and notice files is cyan - bootimage/recoveryimage is cyan - and some more colors in many places ;) Change-Id: I5532afa4ba608e0a7c408516dc9f912f9ca389f7
* Add support for RMTYPEDEF with JackYohann Roussel2015-05-281-1/+2
| | | | | Bug: 21099584 Change-Id: I39aa1f24780c216e978ef743098ca7ac65b2962e
* Change built module of static java librariesYohann Roussel2015-02-181-3/+3
| | | | | | | | | 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
* Make modules depend on their makefile.Dan Albert2014-11-111-2/+8
| | | | | | | | 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
* Support more precise package exclusion from JAR files.Jeff Brown2014-05-231-0/+1
| | | | | | | | | | | | 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
* Emma support for host Java libraries.Ying Wang2013-12-301-8/+50
| | | | | | | | | 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
* Rework the generation of host java libraries.Narayan Kamath2013-11-071-98/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* am 67107450: am d4b1d52b: support protos in host java librariesChris Wren2013-10-021-7/+24
|\ | | | | | | | | * commit '67107450fa0df245c6d1328c17a2af070aa537df': support protos in host java libraries
| * support protos in host java librariesChris Wren2013-10-021-7/+24
| | | | | | | | Change-Id: Ia4499d439ea23ee4d6707cfb005b7230c0a2374f
* | am 161aa74d: am 576e0146: Make it a fatal error if no source files for Java ↵Ying Wang2013-08-281-0/+3
|\ \ | |/ | | | | | | | | | | module. * commit '161aa74de6aaa03d67f9dac10b71f15ebe728b3c': Make it a fatal error if no source files for Java module.
| * Make it a fatal error if no source files for Java module.Ying Wang2013-08-281-0/+3
| | | | | | | | Change-Id: Ia04158c11381b6b1687b9d5c699a9ea8ae3cb317
* | Support to optionally run rmtypedefs.Ying Wang2013-08-141-1/+5
|/ | | | | Bug: 10330586 Change-Id: I6ddfca2ec986cf2c82b0942b7a5360508f095e9a
* am a3827c4b: am 840f9d0a: Merge "Remove BUILD_HOST_JAVA_LIBRARY dependency ↵Ying Wang2013-08-021-1/+1
|\ | | | | | | | | | | | | on aapt" * commit 'a3827c4b6c1a4c5a1618515ccb8fc6692837ee71': Remove BUILD_HOST_JAVA_LIBRARY dependency on aapt
| * Remove BUILD_HOST_JAVA_LIBRARY dependency on aaptBrian Carlstrom2013-08-011-1/+1
| | | | | | | | Change-Id: I8be48114b43e46255977be1677b0c0bbccdf9163
* | Add proper deps for jarjar rules files.Torne (Richard Coles)2013-06-051-1/+1
|/ | | | | | | Changes to the jarjar rules file for a module were not causing rebuilds; add the missing dependency. Change-Id: Ib78fa708681cbc414218fe84cc2c4282c619f45f
* resolved conflicts for merge of 9a3b17d1 to jb-mr2-devBrian Carlstrom2013-03-271-0/+2
|\ | | | | | | Change-Id: I7699f3c6ef3fcf1f16bbfff05f7b238328f8fbd6
| * Added local variable info output to javac command for host build.jeffhao2013-03-261-0/+2
| | | | | | | | | | | | | | | | The host java files weren't being compiled with -g. (cherry-picked from 3a971f734060d19fc023ccf82e39d956a31b7cfb) Change-Id: I4274910c64ebf52ec955e30e800b34fc309db27b
* | Refactor calculation LOCAL_CHECKED_MODULEYing Wang2013-01-301-0/+5
|/ | | | | | | To remove dup code; Also added two more umbrella targets: host, target. Change-Id: Ia6deed2940a26a31ad823fe54816840861f3fb72
* Autoadd core-hostdex if LOCAL_BUILD_HOST_DEX is trueYing Wang2012-12-031-0/+4
| | | | Change-Id: Id516716eaa90534f1b51133d5fb97468e52802dd
* Fix broken dependencies with the layers.txt files.Joe Onorato2012-10-261-0/+6
| | | | | | | | | | | | 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
* Respect LOCAL_ADDITIONAL_DEPENDENCIES for host java libraries.Joe Onorato2012-10-111-2/+4
| | | | | | (makes generating code easier) Change-Id: I1e2e882f7805dbfe4b726955eddc5ff8bc3e0005
* Automatically add Java resources carried by static Java libraries.Ying Wang2012-08-271-0/+1
| | | | | | | | | Bug: 6892294 Change-Id: I3ff71ee3d7b9ccdfde6a5284cc350864fbffa71f Conflicts: core/package.mk
* Remove the R/Manifest classes when building the static Java libraryYing Wang2011-12-151-0/+2
| | | | | | | | | | | 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
* Add LOCAL_JARJAR_RULES support for BUILD_HOST_JAVA_LIBRARYBrian Carlstrom2011-01-261-2/+22
| | | | | Bug: 3086427 Change-Id: Ibe73dfa70d4c3d82968c43e74ced38cd74f60e0f
* Fix private vars for host-dex rules.Ying Wang2010-09-231-4/+22
| | | | Change-Id: Ie374d3abf4c261b9c5e8b80ed464b4c6b1b52b42
* Support to build host dex.Ying Wang2010-09-101-0/+24
| | | | Change-Id: I55df5e4051dbeb89a70d6d7b89fb6110f133d9d7
* Add support for LOCAL_JAVACFLAGSBrian Carlstrom2010-02-051-0/+1
| | | | | | | 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.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+29
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-29/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+29