| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
& util).
Bazel users that are using a different Guava version than the one in the
junitrunner jar are getting an IncompatibleClassChangeError. Rewriting
parts of junitrunner code so it won't depend on Guava anymore.
Continuing progress on issue #1150.
Removing most of Guava dependencies from junit.runner.sharding. A more
significant change regards rewriting Guava method
assertThat().containsExactlyElementsIn().
Also removing previous trailing spaces.
--
MOS_MIGRATED_REVID=129992951
|
|
|
|
|
|
|
| |
This is safer; newInstance on class objects bypasses exception checking.
--
MOS_MIGRATED_REVID=129976805
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bazel users that are using a different Guava version than the one in the
junitrunner jar are getting an IncompatibleClassChangeError. This CL rewrites
parts of junitrunner code so it won't depend on Guava anymore.
Continuing progress on issue #1150.
Removing most of Guava dependencies from junit.runner.model, more significant changes
include converting ImmutableMap/List to Map/List and converting Optional<>
objects to nullable objects, removing all nullable checks regarding them.
CL also removes previous trailing spaces and replaces LinkedList<> with
ArrayList<>.
--
MOS_MIGRATED_REVID=129960401
|
|
|
|
|
|
|
|
|
|
|
| |
Bazel users that are using a different Guava version than the one in the
junitrunner jar are getting an IncompatibleClassChangeError. This CL rewrites
parts of junitrunner code so it won't depend on Guava anymore.
Continuing progress on issue #1150. Removed Guava dependencies, except for
Supplier and Ticker, from junit.runner.junit4.
--
MOS_MIGRATED_REVID=129757029
|
|
|
|
|
|
|
|
|
|
| |
Bazel users that are using a different Guava version than the one in the
junitrunner jar are getting an IncompatibleClassChangeError. This CL rewrites
parts of junitrunner code so it won't depend on Guava anymore.
Starting progress on issue #1150. Removed Guava dependencies from junit.junit4.runner, junit.runner and junit.runner.internal.
--
MOS_MIGRATED_REVID=129735482
|
|
|
|
|
|
|
|
|
|
|
| |
a property without installing a different security manager.
This is required to run JUnit's tests in Blaze.
RELNOTES: Test targets can disable the JUnit4 test security manager via a property.
--
MOS_MIGRATED_REVID=129453237
|
|
|
|
|
|
|
| |
also remove unused 'enabled' bit.
--
MOS_MIGRATED_REVID=128823297
|
|
|
|
|
|
|
| |
Fixes #1570.
--
MOS_MIGRATED_REVID=128585415
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128476121
|
|
|
|
|
|
|
| |
This allows accommodating rules that generate jars using Aspects.
--
MOS_MIGRATED_REVID=128106284
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=128080654
|
|
|
|
|
|
|
|
|
|
|
| |
the owner of a jar.
The motivation is strict-deps checking for Aspected rules such as java_proto_library. With this additional information, JavaBuilder will be able to better tell the user which rule is missing in the 'deps' attribute of the target being built.
Note that the AspectParameters aren't passed right now, because (1) serializing them adds complexity and (2) they're unneeded for JavaBuilder right now.
--
MOS_MIGRATED_REVID=127993845
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127962492
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127957458
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127745971
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127576227
|
|
|
|
|
|
|
|
|
| |
-XX:TieredStopAtLevel=1 instead of -client, as the latter is ignored on 64-bit JVMs since at least JDK 6.
The new flags have been shown to cut down CPU time by 50% due to reduced time spent in JIT and improving overall run time for short running actions, some times also cutting them in half.
--
MOS_MIGRATED_REVID=127536578
|
|
|
|
|
|
|
| |
The classpaths get split during flag parsing, so joining them is unnecessary.
--
MOS_MIGRATED_REVID=127377219
|
|
|
|
|
|
|
| |
--
Change-Id: I4c9d749d2b4acb1254cd65efbabf4e6515924414
Reviewed-on: https://bazel-review.googlesource.com/#/c/3921/
MOS_MIGRATED_REVID=127074886
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126939078
|
|
|
|
|
|
|
|
|
|
|
| |
missing file to it.
We need to activate this check on presubmits
--
Change-Id: Ia95e92d3816ce92bb69bc0e2cf56e9c60b68d970
Reviewed-on: https://bazel-review.googlesource.com/#/c/3949/
MOS_MIGRATED_REVID=126404792
|
|
|
|
|
|
|
| |
don't have to work around the stupidity of CreateProcess().
--
MOS_MIGRATED_REVID=126049022
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125589653
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125449526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-XX:TieredStopAtLevel=1 instead of -client, as the latter is ignored on 64-bit JVMs since at least JDK 6.
The new flags have been shown to cut down CPU time by 50% due to reduced time spent in JIT and improving overall run time for short running actions, some times also cutting them in half.
Here's a benchmark of Bazel building itself, giving a nice 2-4x speedup:
./output/bazel clean && ./output/bazel build //src:bazel
Bazel before this change:
INFO: Elapsed time: 197.783s, Critical Path: 194.10s
INFO: Elapsed time: 198.928s, Critical Path: 195.65s
INFO: Elapsed time: 194.913s, Critical Path: 191.56s
Bazel before this change with --strategy=Javac=worker:
INFO: Elapsed time: 130.436s, Critical Path: 124.27s
INFO: Elapsed time: 116.114s, Critical Path: 112.30s
INFO: Elapsed time: 116.852s, Critical Path: 84.45s
Bazel with this change:
INFO: Elapsed time: 121.625s, Critical Path: 119.08s
INFO: Elapsed time: 119.401s, Critical Path: 115.80s
INFO: Elapsed time: 121.198s, Critical Path: 119.03s
Bazel with this change and --strategy=Javac=worker:
INFO: Elapsed time: 54.456s, Critical Path: 51.28s
INFO: Elapsed time: 53.272s, Critical Path: 51.09s
INFO: Elapsed time: 52.966s, Critical Path: 49.86s
Bazel with this change and --strategy=Javac=worker and stripping -XX:TieredStopAtLevel=1 from JVM flags when using workers:
INFO: Elapsed time: 61.599s, Critical Path: 58.93s
INFO: Elapsed time: 48.695s, Critical Path: 45.02s
INFO: Elapsed time: 46.874s, Critical Path: 43.91s
INFO: Elapsed time: 46.174s, Critical Path: 43.32s
(The latter is a possible optimization for workers and it's also nice to know that the limited tiered compilation does not hurt their performance.)
--
MOS_MIGRATED_REVID=125448089
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125160288
|
|
|
|
|
|
|
| |
Small steps towards #1150.
--
MOS_MIGRATED_REVID=125158135
|
|
|
|
|
|
|
| |
This should help with #1203.
--
MOS_MIGRATED_REVID=125154544
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
repositories
One interesting side effect of how this is implemented is that for external
repositories, bin/ and genfiles/ are combined. External repo output is under
bazel-out/local-fastbuild/repo_name for each repo.
Fixes #1262.
RELNOTES[INC]: Previously, an external repository would be symlinked into the
execution root at execroot/local_repo/external/remote_repo. This changes it to
be at execroot/remote_repo. This may break genrules/Skylark actions that
hardcode execution root paths. If this causes breakages for you, ensure that
genrules are using $(location :target) to access files and Skylark rules are
using http://bazel.io/docs/skylark/lib/File.html's path, dirname, etc.
functions.
--
MOS_MIGRATED_REVID=125095799
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=124008772
|
|
|
|
|
|
|
|
|
|
|
| |
functional. This will improve signal-to-noise ratio for Android and our
external users.
Specifically, disables ClassName, DepAnn, LongLiteralLowerCaseSuffix,
MultipleTopLevelClasses, and StaticAccessedFromInstance.
--
MOS_MIGRATED_REVID=123459006
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123431237
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123342439
|
|
|
|
|
|
|
| |
The generated sources are useful for debugging annotation processors.
--
MOS_MIGRATED_REVID=122683781
|
|
|
|
|
|
|
|
| |
This allows --experimental_java_header_compilation=true to be used with Bazel.
It is still off by default.
--
MOS_MIGRATED_REVID=121623213
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=121520005
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES: Bazel's workspace name is now io_bazel. If you are using Bazel's
source as an external repository, then you may want to update the name you're
referring to it as or you'll begin seeing warnings about name mismatches in your
code.
--
MOS_MIGRATED_REVID=120926179
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=120846643
|
|
|
|
|
|
|
|
|
| |
Prefer Writer to OutputStream to reduce the number of char/byte conversions,
and pass in a Writer for the persistent worker entry point instead of
redirecting stdout and stderr.
--
MOS_MIGRATED_REVID=120771072
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=120742339
|
|
|
|
|
|
|
|
| |
This is consistent with JavaBuilder. Some actions (e.g. resource compilations)
don't set these flags.
--
MOS_MIGRATED_REVID=120590777
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 790d2f6009d47fe92cf0cd92a1473bbf0141f32e.
*** Reason for rollback ***
Broke non-Bazel projects on ci.bazel.io
Fixes #1168
*** Original change description ***
Move the runfiles for external repositories to under the x.runfiles/ directory
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: All repositories are now directly under the x.runfiles directory in the runfiles tree (previously, external repositories were at x.runfiles/main-repo/external/other-repo. This simplifies handling remote repository runfiles considerably, but will break existing references to external repository runfiles....
***
--
MOS_MIGRATED_REVID=120535721
|
|
|
|
|
|
|
|
| |
Explicitly close the PrintWriter before exiting, calling write(String) on an
auto-flushing PrintWriter doesn't flush the output.
--
MOS_MIGRATED_REVID=120473105
|
|
|
|
|
|
|
| |
standard annotations.
--
MOS_MIGRATED_REVID=120351013
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Along the path, fix the build for JDK 7 and get rid of
most ugliness in the JDK 7 build. Now simply setting
JAVA_VERSION to 1.7 will build a JDK 7 compatible version.
Fixes #1159.
--
Change-Id: I9599283844a57d9e053f12d37445907f22a9232e
Reviewed-on: https://bazel-review.googlesource.com/#/c/3452
MOS_MIGRATED_REVID=120332747
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: All repositories are now directly under the x.runfiles directory in the runfiles tree (previously, external repositories were at x.runfiles/main-repo/external/other-repo. This simplifies handling remote repository runfiles considerably, but will break existing references to external repository runfiles.
---
Furthermore, if a Bazel project does not provide a workspace name in the WORKSPACE file, Bazel will now default to using __main__ as the workspace name (instead of "", as previously). The repository's runfiles will appear under x.runfiles/__main__/.
--
MOS_MIGRATED_REVID=120224534
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change disables --java_langtools, --javabuilder_top, --singlejar_top,
--genclass_top, and --ijar_top, and finishes replacing them with
java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}.
RELNOTES: Replace --java_langtools, --javabuilder_top, --singlejar_top,
--genclass_top, and --ijar_top with
java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
--
MOS_MIGRATED_REVID=120154954
|
|
|
|
|
|
|
| |
--
Change-Id: Ie4236fbadc63ef38f08783acc0162cf0dd4fe872
Reviewed-on: https://bazel-review.googlesource.com/3422
MOS_MIGRATED_REVID=120146252
|
|
|
|
|
|
|
| |
Fixes #1104.
--
MOS_MIGRATED_REVID=120098776
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=119421719
|