aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java_tools/buildjar/BUILD
Commit message (Collapse)AuthorAge
* 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
* 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
* Adds gen jar and manifest proto outputs.Gravatar Alex Humesky2015-07-10
| | | | | | | Adds a jar output to Java and Android rules which contains the class files for source files generated from Java annotation processors. For a java_binary foo, the jar will be foo-gen.jar, and for a java_library foo the jar will be libfoo-gen.jar, and similarly for Android. Also adds a binary serialized proto manifest file output to Java and Android rules which describes the contents of the output class jar of those rules, which is used to create the -gen.jar. See src/main/protobuf/java_compilation.proto. -- MOS_MIGRATED_REVID=97793715
* Emit a 'manifest' file containing information about the compiled sourcesGravatar Liam Miller-Cushon2015-06-17
| | | | | | | | | | | | For each compilation unit, JavaBuilder will record: -source path -package name -a list of top-level class names -whether the file was generated by an annotation processor -- MOS_MIGRATED_REVID=96158093
* Set-up travis OSX to compile using JDK 7Gravatar Damien Martin-Guillerez2015-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is introducing a few changes to use the Java compiler from errorprone: - add the --java_langtools flag to the shell tests so we do the tests with the same java compiler tooling than Bazel, and - added the langtools the bootclasspath of the JavaBuilder tests. - tagged some tests and deactivated them on travis OSX because they either requires Java 8 or a lot of disk space. To do the same change on a local install, one must: - change the source and target versions to 7 in the tools/jdk:toolchain target, - use the .travis/jdk7.WORKSPACE file instead of the default Bazel workspace (it contains a maven_jar refering to the errorprone's java compiler tools), and - set the JAVA_VERSION environent variable to "1.7". The .travis/build.sh script does just that when under OS X. -- Change-Id: Idb466cf47cf7df35a34fb0dd8d186628aae0cba7 Reviewed-on: https://bazel-review.googlesource.com/#/c/1520/ MOS_MIGRATED_REVID=96011123
* JavaBuilder can run as a Blaze worker process now.Gravatar Philipp Wollermann2015-06-10
| | | | | -- MOS_MIGRATED_REVID=95527889
* Bootstrapping tools using BazelGravatar Damien Martin-Guillerez2015-06-05
| | | | | | | | | | | | Added target to use java skylark rules to bootstrap JavaBuilder and SingleJar. Uses thoses target to bootstrap JavaBuilder and SingleJar and compiles all tools using Bazel. -- Change-Id: I5142917c8b31e04015fbab89382df36b4892d8c6 Reviewed-on: https://bazel-review.googlesource.com/#/c/1451/ MOS_MIGRATED_REVID=95281092
* Add a plugin to drop Error Prone-specific javacoptsGravatar Liam Miller-Cushon2015-05-18
| | | | | -- MOS_MIGRATED_REVID=93915666
* Added Eclipse project configuration for BazelGravatar Damien Martin-Guillerez2015-03-11
| | | | | | | | | | | | This add the eclipse project configuration. To use it, first do a `./bootstrap_test.sh all` then import the Eclipse project in the Bazel directory. On my mac using Eclipse Luna configured with a JDK 8 it still displays errors on truth's isEmpty() method on collections. We Might need to tweak a bit the java configuration for it to work nicely. -- MOS_MIGRATED_REVID=88321458
* Open-source ijar's testsGravatar Damien Martin-Guillerez2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88210083
* Open-sourcing BazelJavaCompiler.Gravatar Damien Martin-Guillerez2015-03-05
| | | | | | | This is a mock for java compilation. It can be used to do tests using the same configuration as when Bazel invoke javac. -- MOS_MIGRATED_REVID=87608177
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957