| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Certain annotation processors that generate references to transitive
dependencies are exempt from Strict Java Deps.
Dagger ensures that all references to transitive types are reachable via a
chain of direct dependencies specified in @Component interfaces. We don't
record dependencies inside dagger-generated code, since Dagger is already
enforcing strict dependencies. By not recording the deps we allow dependency
management tools to remove depednencies that are only needed transitively by
dagger.
This approach doesn't work in general, since processors may generate references
to transitive types that are not reachable via a chain of direct deps, and
which may be subject to pruning by the reduced classpath optimization.
This change causes strict deps to record dependencies (but not emit strict deps
errors) inside code generated by exempt annotation processors other than
Dagger.
--
MOS_MIGRATED_REVID=117882599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The //tools/defaults package exports the values of blaze flags, including
--java_langtools. That flag is being deprecated and the configuration moved
into the java_toolchain rule.
This change migrates from the //tools/defaults targets for Java tools to the
canonical versions of those tools.
Unlike the previous solution, the tools in the package are no longer affected
by the current build configuration (e.g. the value of --java_toolchain). If
that configurability becomes necessary again, we can achieve it using Skylark
(via the java.compilation_info.boot_classpath provider), or by expanding the
blaze query output for java_toolchain (as used in java_toolchain_content).
--
MOS_MIGRATED_REVID=117485737
|
|
|
|
|
|
|
|
| |
This prevents processors from seeing turbine's version of e.g. guava. javac is
still available becuase Blaze puts it on the bootstrap classpath.
--
MOS_MIGRATED_REVID=117363448
|
|
|
|
|
|
|
| |
//third_party/protobuf.
--
MOS_MIGRATED_REVID=117336377
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117151379
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116498132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Roll-forward of I3762e6be911b79a133a2959fce3a8bf34d183232 with fixes.
Otherwise it prints the wrong message when the target which is missing
a dependency is in a repository other than the default one.
Second try with the new test disabled for jdk7 because that uses an old,
fixed version of the code.
--
Change-Id: I7e16fa874066e1b63064662df42a98784fcae233
Reviewed-on: https://bazel-review.googlesource.com/#/c/3032/
MOS_MIGRATED_REVID=116248259
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks on Java 1.7
See http://ci.bazel.io/job/Bazel/385/.
*** Original change description ***
Canonicalize the name of the target itself for java indirect dep errors.
Otherwise it prints the wrong message when the target which is missing
a dependency is in a repository other than the default one.
--
MOS_MIGRATED_REVID=116164887
|
|
|
|
|
|
|
|
|
|
| |
Otherwise it prints the wrong message when the target which is missing
a dependency is in a repository other than the default one.
--
Change-Id: I3762e6be911b79a133a2959fce3a8bf34d183232
Reviewed-on: https://bazel-review.googlesource.com/#/c/2782/
MOS_MIGRATED_REVID=116128663
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115902893
|
|
|
|
|
|
|
|
| |
This target include all non tests targets of Bazel to do integration tests of
bootstrapping.
--
MOS_MIGRATED_REVID=115830741
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114985098
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114984938
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114984900
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Fields in annotation declarations are implicitly final, so are candidates for
constant variables.
--
MOS_MIGRATED_REVID=114878247
|
|
|
|
|
|
|
|
|
|
| |
-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
|
|
|
|
|
|
|
| |
Fixes #881.
--
MOS_MIGRATED_REVID=114731500
|
|
|
|
|
|
|
|
|
| |
This should unbreak our JDK 7 builds.
Fixes #881.
--
MOS_MIGRATED_REVID=114537482
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114223734
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113806383
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113492679
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113349046
|
|
|
|
|
|
|
|
| |
which is doing approximately the same thing dagger is doing, so is safe for the
same reasons.
--
MOS_MIGRATED_REVID=113054388
|
|
|
|
|
|
|
|
|
|
| |
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=110280330
|
|
|
|
|
|
|
| |
BlazeJavaBuilder.
--
MOS_MIGRATED_REVID=110278416
|
|
|
|
|
| |
--
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
|
|
|
|
|
| |
--
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
|