aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java_tools
Commit message (Collapse)AuthorAge
* Rename proto dependencies to include a _java component in them.Gravatar Julio Merino2016-02-23
| | | | | | | | While doing this, homogenize the two dependencies on build.proto (via build_proto and build_proto_v2) into a single build_java_proto. -- MOS_MIGRATED_REVID=115328219
* Remove an unused field from AbstractPostProcessorGravatar Liam Miller-Cushon2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114985098
* Make effectively final fields finalGravatar Liam Miller-Cushon2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114984938
* Make effectively final fields finalGravatar Liam Miller-Cushon2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114984900
* Turn //tools/build_rules into a package.Gravatar Julio Merino2016-02-17
| | | | | | | | | This is in preparation for another change that will add a new helper script to the tools/build_rules directory, and such script requires a BUILD rule of its own. -- MOS_MIGRATED_REVID=114898083
* Fix pruning of annotation declaration fieldsGravatar Liam Miller-Cushon2016-02-17
| | | | | | | | Fields in annotation declarations are implicitly final, so are candidates for constant variables. -- MOS_MIGRATED_REVID=114878247
* Fix tree pruning bug with constructor delegationGravatar Liam Miller-Cushon2016-02-17
| | | | | | | | | | -relax disables checks in Resolve to catch constructors that do not explicitly delegate to a superclass constructor when no nullary superclass constructor exists. Now that we're not using -relax, those constructor calls have to be preserved. -- MOS_MIGRATED_REVID=114875860
* Marking more jdk8 tests.Gravatar Damien Martin-Guillerez2016-02-16
| | | | | | | Fixes #881. -- MOS_MIGRATED_REVID=114731500
* Mark turbine test as JDK 8Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | | | This should unbreak our JDK 7 builds. Fixes #881. -- MOS_MIGRATED_REVID=114537482
* Turbine, a tool for improving Java build performanceGravatar Liam Miller-Cushon2016-02-10
| | | | | | | | | Turbine compiles ijars from source, ignoring method bodies and relaxing error checks for performance. We can then do normal compilation against those ijars and move javac off the build's critical path. -- MOS_MIGRATED_REVID=114247125
* Refactor buildjar BUILD filesGravatar Liam Miller-Cushon2016-02-10
| | | | | -- MOS_MIGRATED_REVID=114223734
* Turbine tree prunerGravatar Liam Miller-Cushon2016-02-04
| | | | | | | | | Prunes AST nodes that are not required for header compilation: method bodies, class and instance initializers, and definitely non-constant field initializers. -- MOS_MIGRATED_REVID=113807661
* Turbine options parserGravatar Liam Miller-Cushon2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113806383
* Java readability review.Gravatar Andrew Pellegrini2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113651164
* Use labels in load statementsGravatar Damien Martin-Guillerez2016-02-02
| | | | | | | | | | | | This will fix some issue with loading skylark rules from @bazel_tools. Tested with ./compile.sh all and also a project that use pkg_tar from @bazel_tools (which is broken at HEAD). -- Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0 Reviewed-on: https://bazel-review.googlesource.com/2800 MOS_MIGRATED_REVID=113508661
* Report source position information for Error Prone crashesGravatar Liam Miller-Cushon2016-02-01
| | | | | -- MOS_MIGRATED_REVID=113492679
* Use correct file path separator.Gravatar Dmitry Lomov2016-01-29
| | | | | -- MOS_MIGRATED_REVID=113349046
* Change constructor of ConcatenateStrategy to public for better extensibilityGravatar Googler2016-01-27
| | | | | -- MOS_MIGRATED_REVID=113105947
* Add a strict dependencies exception for the GenerateWrapperModuleProcessor,Gravatar Googler2016-01-27
| | | | | | | | which is doing approximately the same thing dagger is doing, so is safe for the same reasons. -- MOS_MIGRATED_REVID=113054388
* Fix Ant XML writer when there is a test failure.Gravatar Damien Martin-Guillerez2016-01-22
| | | | | | | | | | The generated XML output was incorrect. See http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=ubuntu_15.10-x86_64/ws/bazel-testlogs/src/test/java/com/google/devtools/build/lib/shell_test/test.xml/*view*/ Fixes #812. -- MOS_MIGRATED_REVID=112776671
* Refactor DependencyModule#computeStrictClasspathGravatar Liam Miller-Cushon2016-01-21
| | | | | | | | | | so it can operate on lists of classpath entries, instead of pre-joined classpath strings. Also improve error for missing .jdeps inputs. -- MOS_MIGRATED_REVID=112634009
* Stop explicitly disabling useOptimizedZipGravatar Liam Miller-Cushon2016-01-21
| | | | | | | | javac's bespoke zip implementation is now off by default: https://bugs.openjdk.java.net/browse/JDK-7018859 -- MOS_MIGRATED_REVID=112600878
* Remove javac/testing from the public tree.Gravatar Lukacs Berki2016-01-19
| | | | | | | It is currently unused and messes up IDEs because it requires a few dependencies that are not in the source tree (most notably, jimfs) -- MOS_MIGRATED_REVID=112461226
* Set test_class for java_test test target where it is neededGravatar Damien Martin-Guillerez2016-01-19
| | | | | | | | | This make those test target compatible with --nolegacy_bazel_java_test. -- Change-Id: I2316c9aa53327b417ecce5fd5dab95ec726da11d Reviewed-on: https://bazel-review.googlesource.com/#/c/2690 MOS_MIGRATED_REVID=112446514
* Don't append the class output dir to the classpathGravatar Liam Miller-Cushon2016-01-15
| | | | | -- MOS_MIGRATED_REVID=112280234
* Remove explicit GC calls in javac persistent worker.Gravatar Googler2016-01-14
| | | | | | | | | Testing seems to have shown that the original reason for this being needed (running out of file handles due to unclosed file streams) has been fixed, meaning we don't need the GC workaround anymore. -- MOS_MIGRATED_REVID=112088923
* Open-source the JUnit test runner.Gravatar Damien Martin-Guillerez2016-01-13
| | | | | -- MOS_MIGRATED_REVID=112027454
* Adds ApkBuilder from the Android SDK to bazel's third_party with someGravatar Alex Humesky2016-01-11
| | | | | | | | | modifications to remove deprecation warnings, to create deterministic apks (removes timestamps), and to make calling ApkBuilder more convenient. RELNOTES: Timestamps within Android apks are removed to make apks deterministic. -- MOS_MIGRATED_REVID=111890659
* Open-source Java Builder test helpersGravatar Damien Martin-Guillerez2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110280330
* Make buildjar plugins tests depends on BazelJavaBuilder instead of ↵Gravatar Damien Martin-Guillerez2015-12-16
| | | | | | | BlazeJavaBuilder. -- MOS_MIGRATED_REVID=110278416
* Add a separate BUILD file for singlejar zip library.Gravatar Han-Wen Nienhuys2015-11-25
| | | | | -- MOS_MIGRATED_REVID=108622328
* Split off more BUILD files.Gravatar Han-Wen Nienhuys2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106597904
* Split off more BUILD files.Gravatar Han-Wen Nienhuys2015-10-28
| | | | | -- MOS_MIGRATED_REVID=106493557
* Replace "Google Inc" with "The Bazel Authors" in every copyright notice.Gravatar Lukacs Berki2015-10-21
| | | | | -- MOS_MIGRATED_REVID=105949508
* Rename protobuf targets to xxx_proto.Gravatar Han-Wen Nienhuys2015-10-09
| | | | | -- MOS_MIGRATED_REVID=105054615
* Add IdlClass to the embedded default android tools repository and rearrangeGravatar Alex Humesky2015-10-05
| | | | | | | BuildJar's JarHelper so that it too can be embedded. -- MOS_MIGRATED_REVID=104539260
* Fix Java 7 test suiteGravatar Damien Martin-Guillerez2015-10-02
| | | | | | | | | | | | | - Prevent test from JavaBuilder to be run (mark them as JDK8 only). - Hack to replace the JavaBuilder target so that test that needs JavaBuilder will depends on the pre-built binary version. Tested: bash -c 'export JAVA_VERSION=1.7; source scripts/ci/build.sh; bazel_build' (and verified that there is no build failure). We might still have failing tests (worker and runfiles) but the failure seems like flakiness. -- MOS_MIGRATED_REVID=104504123
* Update to javac r2973Gravatar Liam Miller-Cushon2015-10-01
| | | | | -- MOS_MIGRATED_REVID=104410793
* Opt out of ClientCodeWrappingGravatar Liam Miller-Cushon2015-10-01
| | | | | -- MOS_MIGRATED_REVID=104407868
* Use an isolated classloader for JavaBuilder pluginsGravatar Liam Miller-Cushon2015-09-30
| | | | | -- MOS_MIGRATED_REVID=104131197
* Fix JavaBuilder bug when the source files are empty.Gravatar Eddie Aftandilian2015-09-30
| | | | | -- MOS_MIGRATED_REVID=104112686
* Add Android IDL jar outputs.Gravatar Googler2015-09-28
| | | | | | | | | | These outputs are a jar and source jar for the results of aidl processing. This is used to add aidl output to IDEs separate from the source code, similar to annotation output (gen jars). -- MOS_MIGRATED_REVID=104024453
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Increase size of test timeout flaky on ci.bazel.ioGravatar Damien Martin-Guillerez2015-09-11
| | | | | | | | | See http://ci.bazel.io/job/Bazel/PLATFORM_NAME=darwin-x86_64/104/console process_wrapper_test is actually failing inside the timeout test so it is probably don't have enough time too. -- MOS_MIGRATED_REVID=102841728
* Make SingleJar remove the extended timestamp (0x5455) and InfoZip New Unix ↵Gravatar Lukacs Berki2015-09-01
| | | | | | | | | | | (0x7875) extra fields. This is important so that the output .zip files are actually hermetic. In particular, this caused problems with running the tests for singlejar on OS X Yosemite. Also add some defensive copying as a drive-by cleanup. -- MOS_MIGRATED_REVID=102026257
* Remove the callback that allowed excluding files from deletion.Gravatar Ulf Adams2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101555261
* Fix -proc:only after e927532Gravatar Liam Miller-Cushon2015-08-24
| | | | | | | | | | Don't expect FLOW events if the compile policy is set to stop before FLOW (e.g. with -proc:only). Fixes google/bazel#379 -- MOS_MIGRATED_REVID=101242866
* Fall back to transitive classpath for no.such.pkg errors.Gravatar Liam Miller-Cushon2015-08-21
| | | | | | | | | | | | | | | | With -XDshouldStopPolicyIfError=INIT (the default) and -XDcompilePolicy=byfile (not the default), javac will stop compiling after emitting no.such.pkg and before any missing symbol errors are reported. The reduced classpath builder needs to fall back to the transitive classpath in this case. This currently works because with -XDcompilePolicy=todo (the default), javac attributes compilation units even if they have with syntax errors to avoid "surprising existing users". [1] [1] http://hg.openjdk.java.net/jdk9/dev/langtools/file/7fd155b7041c/test/tools/javac/policy/test3/Test.java -- MOS_MIGRATED_REVID=101175706
* Remove debugging output.Gravatar Andrew Pellegrini2015-08-20
| | | | | -- MOS_MIGRATED_REVID=100928168
* Extend size of //src/java_tools/singlejar:zipTestsGravatar Damien Martin-Guillerez2015-08-18
| | | | | | | This test is taking more than 300s on the continous integration machine on GCE. -- MOS_MIGRATED_REVID=100909674