| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113105947
|
|
|
|
|
|
|
|
| |
which is doing approximately the same thing dagger is doing, so is safe for the
same reasons.
--
MOS_MIGRATED_REVID=113054388
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
javac's bespoke zip implementation is now off by default:
https://bugs.openjdk.java.net/browse/JDK-7018859
--
MOS_MIGRATED_REVID=112600878
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112280234
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=112027454
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=110280330
|
|
|
|
|
|
|
| |
BlazeJavaBuilder.
--
MOS_MIGRATED_REVID=110278416
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=108622328
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106597904
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106493557
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105949508
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105054615
|
|
|
|
|
|
|
| |
BuildJar's JarHelper so that it too can be embedded.
--
MOS_MIGRATED_REVID=104539260
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104410793
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104407868
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104131197
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104112686
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101555261
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=100928168
|
|
|
|
|
|
|
| |
This test is taking more than 300s on the continous integration machine on GCE.
--
MOS_MIGRATED_REVID=100909674
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99775681
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
instead of just putting the message into an IOException.
This allows us to more fine-grainly consider printing just the error message (which is the right thing to do in case of compilation errors due to Java syntax errors, wrong command-line arguments, ...) or a stack trace (which is interesting in case the JavaBuilder really hit an IOException or something worse).
--
MOS_MIGRATED_REVID=97413024
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a -XepDisableWarningsInGeneratedCode flag, which if set suppressings
warnings from being emitted inside code annotation with @Generated. Error are
not affected.
Fixes #329
--
MOS_MIGRATED_REVID=97185343
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96365813
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now [new_]http_archive can be used for executables as well as "default
permission" (644) files.
This also gets rid of the Apache Commons Compress dependency entirely, which is
nice. Fixing this also exposed some bugs in how archives were being decompressed
(the same archive was being decompressed multiple times), which I also fixed by
making the decompressors SkyFunctions.
Fixes #238.
--
MOS_MIGRATED_REVID=95747810
|
|
|
|
|
|
|
|
|
| |
testing and support.
RELNOTES: Elements of ZipCombiner's API previously marked deprecated are removed.
--
MOS_MIGRATED_REVID=95543357
|
|
|
|
|
|
|
|
|
| |
JavaDoc strings, ...
I found having stack traces very helpful while I was debugging an issue where the JavaBuilder ran out of file handles and crashed, but only printed "Compilation failed: No more file handles" and didn't tell me which part of the code actually tried to open the file.
--
MOS_MIGRATED_REVID=95529141
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95527889
|
|
|
|
|
|
|
|
| |
If enabled, JavaBuilder will write a jar containing classes generated by
annotation processors to the given path.
--
MOS_MIGRATED_REVID=95470914
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94040936
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93915666
|
|
|
|
|
|
|
|
|
| |
This unifies some compilation set-up with the bazel JavaBuilder, and fixes a
bug that only manifested with javac 9 that prevents filemanager options (e.g.
'-d') from being handled correctly.
--
MOS_MIGRATED_REVID=93893036
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The -extdirs flag sets a search path to the directory containing the JDK's
extension classes, and should always be set explicitly when cross-compiling. If
it is unset, the ext directory of the host JDK will be used instead.
javac requires that -extdirs be a list of directories. The blaze --javac_extdir
flag takes the label of a filegroup with the 'path' attribute set, and passes
the directory path through to JavaBuilder.
RELNOTES: N/A
--
MOS_MIGRATED_REVID=93147656
|