summaryrefslogtreecommitdiff
path: root/JavaLibrary.bp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Remove libcore Make based droiddoc target." am: adf0160abdNan Zhang2018-03-211-0/+15
|\| | | | | | | | | | | am: 899c09d9ac Change-Id: I2e33bdc56b29a5b3922acebf3b589d988f91267a
| * Remove libcore Make based droiddoc target.Nan Zhang2018-03-201-0/+15
| | | | | | | | | | | | Test: m -j core-docs, and check the outputs. Bug: b/70351683 Change-Id: Ib3c12863a18855880add1673ae4bef365823d936
* | Merge "Add filegroups used in api-stubs generation." am: 353da92a1fNan Zhang2018-03-091-0/+7
|\| | | | | | | | | | | am: e7ca67fdf6 Change-Id: Ic2cc5a9d350f27857169d2e80c534f8e4686210a
| * Add filegroups used in api-stubs generation.Nan Zhang2018-03-021-0/+7
| | | | | | | | | | | | Bug: b/70351683 Test: m api-stubs-doc Change-Id: I6902eefcead830e1c5fe89dc198dbdae75ba3e5d
* | Merge "Replace droiddoc.custom_template_dir" am: e04dc3f7ad am: 9c8913b246Dan Willemsen2018-03-011-1/+1
|\| | | | | | | | | | | am: 5000f5dd06 Change-Id: I6877eefd07a821e73ff180fcceeaae398f108a42
| * Merge "Replace droiddoc.custom_template_dir"Dan Willemsen2018-03-011-1/+1
| |\
| | * Replace droiddoc.custom_template_dirDan Willemsen2018-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | With an explicit module instead of a full path. Test: m core-docs Change-Id: I0eb71e496f4de402016d887361702e7a4ff2c64e
* | | Merge "Fix bug that was failed to create Null annotations." am: 5e9e1f9e86 ↵Nan Zhang2018-02-281-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | am: fe69da06ec am: 94ae0b79be Change-Id: I028a5b3dd71fa258b9366cb9589e33e02eecdf96
| * | Fix bug that was failed to create Null annotations.Nan Zhang2018-02-271-3/+3
| |/ | | | | | | | | | | | | | | | | | | Test: m out/soong/.intermediates/libcore/gen-ojluni-jaif-annotated-srcs/gen/ojluni_jaif_annotated_srcs.srcjar && unzip the .srcjar && diff each generated java file with the annotated class at out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/java/lang/ Bug: b/70351683 Change-Id: Ia4ec1b93c1800a108cfe42a2344a98349cf4cbd0
* | Merge "Add Soong target for convert libcore droiddocs." am: 3e7e1d5399 am: ↵Nan Zhang2018-02-221-0/+50
|\| | | | | | | | | | | | | | | e85a88e5b9 am: 24e7d3a9c1 Change-Id: I0e7541e602672066c62cb81e09458caccfcb3d4e
| * Add Soong target for convert libcore droiddocs.Nan Zhang2018-02-211-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | And make annotated_ojluni_files generation as genrule The droiddoc gen for frameworks depends on: LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) framework_docs_LOCAL_GENERATED_SOURCES come from ojluni_annotate_output. In order to use ojluni_annotate_output in Soong properly, make the annotated ojluni srcs generation as genrule in Soong. Test: m -j checkbuild and check out srcjar content. Bug: b/70351683 Change-Id: Ie2682625288bc86c9845177e94c765d591495db3
* | Merge "Libcore: Suppress @MissingOverride warnings" am: c52e3e0778 am: ↵Andreas Gampe2018-02-211-0/+5
|\| | | | | | | | | | | | | | | 0f589df474 am: 9df33661e3 Change-Id: I8dd004cc5bd4f5149d142bb7341a5af3d0924560
| * Libcore: Suppress @MissingOverride warningsAndreas Gampe2018-02-201-0/+5
| | | | | | | | | | | | | | | | For now, suppress these, until upstream cleans up their code. Bug: 73499927 Test: m javac-check RUN_ERROR_PRONE=true Change-Id: Id4cbdaa5996c7ad14c38070421bbe4e1eafef2ba
* | Blacklist core-libart classes from jacoco instrumentation.Pete Gillin2018-02-131-0/+6
| | | | | | | | | | | | | | | | | | This enables us to enable instrumentation and get coverage of all other classes in core-libart. Bug: 73157713 Test: `cts-tradefed run cts-dev -m CtsLibcoreTestCases --test-arg com.android.compatibility.testtype.LibcoreTest:coverage:true` on a build with EMMA_INSTRUMENT=true and EMMA_INSTRUMENT_FRAMEWORK=true Change-Id: Ie82300c4ab4a6bfedb30679cf23706158a9c050a
* | Reduce jacoco blacklist for libcore to the bare minimum.Pete Gillin2018-01-301-2/+10
| | | | | | | | | | | | | | Bug: 64836607 Test: `cts-tradefed run cts-dev -m CtsLibcoreTestCases --test-arg com.android.compatibility.testtype.LibcoreTest:coverage:true` on a build with EMMA_INSTRUMENT=true and EMMA_INSTRUMENT_FRAMEWORK=true Change-Id: Iefa49f49709d5182211a872845b9def6b7bae18a
* | Change jacoco filter wildcard parameters under libcore.Nan Zhang2018-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | originally: .* -> /**/*.class now: .* -> /*.class .** -> /**/*.clas Test: m -j checkbuild Bug: b/71889972 Change-Id: Ia58854797c8ccb49f876a123a7666364eec73640
* | Further reduce jacoco blacklist for libcore.Pete Gillin2018-01-241-7/+0
| | | | | | | | | | | | | | | | | | | | This takes advantage of the reduction in runtime dependencies of the instrumentation code in http://ag/3505896. It reduces the number of blacklisted classes in java.util from 10 to 3. Bug: 64836607 Test: `cts-tradefed run cts-dev -m CtsLibcoreTestCases --test-arg com.android.compatibility.testtype.LibcoreTest:coverage:true` on a build with EMMA_INSTRUMENT=true and EMMA_INSTRUMENT_FRAMEWORK=true Change-Id: I87971e18d5b8168edecc1aea2e8614ce3ebef2df
* | Reduce jacoco blacklist for libcore.Pete Gillin2018-01-231-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | This takes advantage of the reduction in runtime dependencies of the instrumentation code in http://ag/3492180. Notably, it unblacklists the whole of java.io, java.nio and its subpackages, java.util.concurrent, and much of java.util. Only parts of java.util and the whole of java.lang remain blacklisted. Bug: 64836607 Test: `cts-tradefed run cts-dev -m CtsLibcoreTestCases --test-arg com.android.compatibility.testtype.LibcoreTest:coverage:true` on a build with EMMA_INSTRUMENT=true and EMMA_INSTRUMENT_FRAMEWORK=true Change-Id: Iec791a5d31e0e265e666b3b1110298822e49fd53
* | Switch coverage of core-oj from whitelist to blacklist.Pete Gillin2018-01-101-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the coverage build of core-oj from whitelisting java.sql.* for instrumentation to blacklisting the packages which are found (by trial-and-error) to contain classes invoked during the instrumentation code and so cause an infite loop. The blacklist still covers about 3/4 of core-oj packages. Blacklisting at a finer granularity will improve that. Bug: 64836607 Test: `cts-tradefed run cts-dev -m CtsLibcoreTestCases --test-arg com.android.compatibility.testtype.LibcoreTest:coverage:true` on a build with EMMA_INSTRUMENT=true and EMMA_INSTRUMENT_FRAMEWORK=true Change-Id: Iecb412bfd2171265e038ddebaeaf7256413beaf8
* | Restrict jacoco coverage for core-oj to java.sql.Pete Gillin2017-12-191-0/+5
|/ | | | | | | | | | This allows us to turn on coverage for the library without creating cycles that brick the device. We'll add more classes and packages over time, enabling for java.sql works as a proof-of-concept. Bug: 64836607 Test: `cts-tradefed run cts-dev -m CtsLibcoreTestCases --test-arg com.android.compatibility.testtype.LibcoreTest:coverage:true` on a build with EMMA_INSTRUMENT=true and EMMA_INSTRUMENT_FRAMEWORK=true Change-Id: I1d38b70db14aa607e1e61d5336e28db4b3a3a075
* Follow rename of dex_preopt to dex_preopt.enabledColin Cross2017-12-051-2/+6
| | | | | | | | | I54a4b1de697a08be20ab65d2a5dc43ce0046692d renamed dex_preopt to dex_preopt.enabled to make room for more properties under dex_preopt. Test: m checkbuild Change-Id: If976a116e4cc332dd00784b4179b9043faf86edf
* Remove obsolete TODOColin Cross2017-10-311-9/+0
| | | | | | | | | A TODO was left during conversion to add extra javac flags when PRODUCT_MINIMIZE_JAVA_DEBUG_INFO was set. It is no longer necessary because those flags are set for all java modules now. Test: m checkbuild Change-Id: Ib5fdcc208d86f0b6ef9abde0664d101693f89ae4
* Revert "Revert "Add makefile targets for ojluni jaif-annotated source files.""Colin Cross2017-10-301-0/+1
| | | | | | | | | | | | This reverts commit 554d65461915e1f9d2197a13d4ef39fa9964c809. This reapplies I9571a7841cbcc2790891352e0efc69327484736b with additional fixes for absolute OUT_DIR. Bug: 64930165 Bug: 68375156 Test: m checkbuild Test: m docs Change-Id: Iabb6689559752932f7e9a9bfb3c6d1077e844b1f
* Revert "Add makefile targets for ojluni jaif-annotated source files."Colin Cross2017-10-271-1/+0
| | | | | | | | This reverts commit eb55e5c38f1c374897a60f17627a153480e608bd. Reason for revert: Broke builds with absolute OUT_DIR, I'll reapply with a fix. Change-Id: Ie7cf38cb097bf9665e6e745707b705be24b77605
* Add makefile targets for ojluni jaif-annotated source files.Przemyslaw Szczepaniak2017-10-261-0/+1
| | | | | | | | | Second attempt, this time with fixed list of targets in blueprints and with less broken python code. Test: make docs Bug: 64930165 Change-Id: I9571a7841cbcc2790891352e0efc69327484736b
* Move some libcore test modules to soongColin Cross2017-10-201-0/+71
| | | | | | | | | This moves some of the libcore test-related modules to Soong. There are still a few that cannot be moved due to missing dependencies or features. Test: m checkbuild Change-Id: I7397177f44ddcb7608c251f5183f807fc6601816
* Add system modulesColin Cross2017-10-161-2/+34
| | | | | | | | | This is the first step towards compiling with EXPERIMENTAL_USE_OPENJDK9=true. Bug: 63986449 Test: m EXPERIMENTAL_USE_OPENJDK9=true Change-Id: I8ece7f6d27c2292f42bd18a0106b2bae2e7bed73
* Move hostdex libraries to soongColin Cross2017-10-091-0/+3
| | | | | | | | | | | Soong will automatically copy the final javalib.jar to a host module with a -hostdex suffix if hostdex: true is set. core-all and core-lambda-stubs don't need a hostdex module, they are never dexed. Bug: 67600882 Test: m -j checkbuild Change-Id: I9708307026abca398b6117572e1f3fed735a1b2e
* Revert "Revert "Convert libcore java to Android.bp""Colin Cross2017-09-281-0/+142
| | | | | | | | | | | This reverts commit 9762264100d81d3dd653cbca2996b288c52f9546. Jack is disabled everywhere now. This reapplies I20a0f0327172bc51db47c7c56ccc806e20cf1244 with updates for changes to Soong and to add sources to the core-lambda-stubs jar. Test: m -j checkbuild Change-Id: I77c9dc558bc6c0f3833b1b79a0707c498e560628
* Revert "Convert libcore java to Android.bp"Colin Cross2017-09-211-141/+0
| | | | | | | | This reverts commit 70d863fdc17969b4638caf830d0567adc20a6100. Reason for revert: Broke the few remaining builds that still use jack Change-Id: I437d583cf33d68e6d8fa3367e1ea54848b56e05b
* Convert libcore java to Android.bpColin Cross2017-09-211-0/+141
See build/soong/README.md for more information. Test: m -j checkbuild Test: classes.dex for core-oj is identical Test: classes.dex for core-libart only has extra bridge methods (b/65645120) Change-Id: I0f81937dcc6efba87e7f61b2d5840b18068cd587