| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also enables Jack support to compile with the Java bootclasspath
when running over non-Android rules. This is akin to how normal javac
support works - android_ rules are compiled with android.jar, while
java_libraries are compiled with special flags but the normal compile
time bootclasspath.
As of this change, the android_jack attribute on android_sdk is now
deprecated, and has no further effect. Because it was always optional,
this isn't really much of a change, it just means that now it does
nothing even if you DO specify it.
Because Jack support is still experimental, this should have no effect
on most users.
RELNOTES[INC]: android_sdk now compiles android_jack on the fly from
android_jar, which means android_jar must be a jar and android_jack is
now deprecated. The Jack tools (jack, jill, resource_extractor) must
be specified.
--
MOS_MIGRATED_REVID=117386373
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117383853
|
|
|
|
|
|
|
| |
This will set the default value for the iOS SDK version configuration value. Users can override this by specifying ios_sdk_version themselves.
--
MOS_MIGRATED_REVID=117377043
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117375231
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
3a95f353704dc2f7061e2c0786c2459ac1db0fd1.
AbstractSet#removeAll has unexpected, yet oddly intentional (and documented), performance characteristics. Suppose we are evaluating 'set.removeAll(collection)' and 'collection.contains(x)' is 'O(e)'. Then 'set.removeAll(collection)' is 'O(set.size())' when 'set.size() <= collection.size()' and 'O(set.size()) * e' otherwise. When 'collection' is e.g. an ArrayList, 'e' is 'collection.size()' and so 'set.removeAll(collection)' is 'O(set.size() * collection.size())', which is bad.
This meant we had poor performance when the excludes patterns of a glob matched more files than the includes patterns.
Note that, while GlobCache#glob() *did* also use removeAll (potentially inefficiently), it was doing so for each list of exclude glob matches individually. So legacy globbing would have suboptimal performance for 'glob(includes=[i_1, i_2, ...i_k], excludes = [e_1, e_2, ..., e_j])' whenever the result of any e_i was larger than the union of all the includes matches. (But skyframe hybrid globbing has the performance issue when the union of the excludes matches is larger than the union of the includes matches, which is more likely to happen in practice.) I fixed this hypothetical problem too.
--
MOS_MIGRATED_REVID=117367755
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add flag --sandbox_add_path, which takes a list of additional paths as argument and mount these paths to sandbox. Fixes #884.
- mount target of /etc/resolv.conf if it is a symlink. Fixes #738.
RELNOTES:
- add flag --sandbox_add_path, which takes a list of additional paths as argument and mount these paths to sandbox.
- mount target of /etc/resolv.conf if it is a symlink.
--
MOS_MIGRATED_REVID=117364211
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117361388
|
|
|
|
|
|
|
| |
collectProguardSpecsFromAttribute work with attributes added by Aspects.
--
MOS_MIGRATED_REVID=117343880
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117340875
|
|
|
|
|
|
|
| |
--
Change-Id: Ib7d2e97a62fab06e47d3c1504f47c5e30933524e
Reviewed-on: https://bazel-review.googlesource.com/#/c/3073/
MOS_MIGRATED_REVID=117340155
|
|
|
|
|
|
|
| |
//third_party/protobuf.
--
MOS_MIGRATED_REVID=117336377
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117277091
|
|
|
|
|
|
|
|
|
| |
This makes it possible to isolate coverage runs for Apple platforms and perform a different set of operations.
RELNOTES:
--
MOS_MIGRATED_REVID=117269972
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117268295
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117262661
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117260412
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117238298
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One can now invoke native.bazel_version to get the version of Bazel from
the WORKSPACE file.
This can be used to do version check, for instance:
version.bzl:
def check_version(x):
if native.bazel_version < x:
fail("Current Bazel version is {}, expected at least {}".format(native.bazel_version, x))
WORKSPACE:
load("//:version.bzl", "check_bersion")
check_version("0.2")
Fixes #1014.
--
MOS_MIGRATED_REVID=117231557
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117202268
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117186609
|
|
|
|
|
|
|
|
|
|
|
| |
This was a leftover from the global cleanup change to replace
the usages of static final fields on Guava's CharMatcher with
their equivalent static factory methods.
--
Change-Id: I9ee765a2545eabdd01b00e4ea924801b7a88898a
Reviewed-on: https://bazel-review.googlesource.com/#/c/3060
MOS_MIGRATED_REVID=117160725
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117153381
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117139503
|
|
|
|
|
|
|
| |
preserve order of glob matches: Parallelize fetches of symlink file values, subdirectory globs, and subdirectory package lookup values. This should improve change pruning speed when we have to check a glob. It also keeps GlobFunction closer to the contract of Skyframe, because in order to avoid quadratic restarts, it wasn't checking for missing deps between getValue calls.
--
MOS_MIGRATED_REVID=117139471
|
|
|
|
|
|
|
| |
referenced from the crosstool without crossing package boundaries.
--
MOS_MIGRATED_REVID=117137594
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117123912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the experimental UI has the first properties we want to keep
in the long run, add a test asserting the following semantic
properties.
- Whenever only one action is running, it is shown somehow in the
progress bar.
- Completed actions should not be shown in the progress bar.
- The earliest-started still running action should be visible in
the progress bar.
While there, also drop the assumption in the ExperimentalStateTracker
that the ExecutionProgressReceiverAvailableEvent has to come before
any actions that has not been finished yet.
--
Change-Id: Ica52eb12546703e4f8f9d9c64928208621d19ced
Reviewed-on: https://bazel-review.googlesource.com/#/c/3048
MOS_MIGRATED_REVID=117121300
|
|
|
|
|
|
|
|
|
|
| |
Previously it was only collecting custom per-rule bootclasspaths (e.g. from
android_library, which uses android.jar instead of the default Java
bootclasspath). This allows the java.compilation_info.boot_classpath Skylark
provider to work for regular Java rules.
--
MOS_MIGRATED_REVID=117031832
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117018073
|
|
|
|
|
|
|
| |
java_toolchain.jvm_opts was being used instead of javac options.
--
MOS_MIGRATED_REVID=117016052
|
|
|
|
|
|
|
|
| |
This will avoid confusion with the normal Skylark rule context.
Also fixed indentation of cc_configure.bzl
--
MOS_MIGRATED_REVID=117011107
|
|
|
|
|
|
|
| |
Fixes #1030.
--
MOS_MIGRATED_REVID=117009021
|
|
|
|
|
|
|
|
|
| |
used to accept obc_binaries as well.
RELNOTES: You can no longer use objc_binary targets for the xctest_app attribute of an ios_test rule.
--
MOS_MIGRATED_REVID=117004358
|
|
|
|
|
|
|
| |
removed with unknown commit)
--
MOS_MIGRATED_REVID=117003728
|
|
|
|
|
|
|
| |
given application as there are cases where you want both.
--
MOS_MIGRATED_REVID=116998425
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116990273
|
|
|
|
|
|
|
|
|
|
| |
srcs instead of throwing an error.
Implicit exporting of the deps of an android_library rule that doesn't have srcs
is deprecated and will soon be removed.
--
MOS_MIGRATED_REVID=116988446
|
|
|
|
|
|
|
| |
...so the docs show up on hover in an IDE.
--
MOS_MIGRATED_REVID=116986129
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116980421
|
|
|
|
|
|
|
|
|
| |
Also added correct equals and hash for the SkylarkPath class.
Fixes #1015.
--
MOS_MIGRATED_REVID=116979400
|
|
|
|
|
|
|
| |
(especially with sharding).
--
MOS_MIGRATED_REVID=116975152
|
|
|
|
|
|
|
| |
It has been made obsolete by java_toolchain.jvm_flags.
--
MOS_MIGRATED_REVID=116884961
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Skylark rule context object has a runfiles method. This adds two
optional parameters to that method, "symlinks" and "root_symlinks",
that expose functionality from the underlying Runfiles java class.
With this functionality, one can construct links in the runfiles tree
where the source and destination of the link have different names
and/or relative directories. This might be useful for things like
AppEngine rules where a file in a subdirectory of the source tree
needs to appear in the root directory of the runfiles tree.
If either new parameter is used, the runfiles is subject to stricter
validity checking. This checking propagates to other runfiles that
depend on it.
RELNOTES: Added "root_symlinks" and "symlinks" parameters to Skylark
runfiles() method.
--
MOS_MIGRATED_REVID=116879064
|
|
|
|
|
|
|
| |
Simplify automatic entries creation.
--
MOS_MIGRATED_REVID=116866524
|
|
|
|
|
|
|
| |
OutOfMemoryError and have the JVM send Bazel a SIGUSR2 when it detects an OOM. This should help in certain pathological cases when Bazel GC thrashes for some time after an OOM has been detected.
--
MOS_MIGRATED_REVID=116819359
|
|
|
|
|
|
|
| |
execution are reported. Previously, we would not report the error unless the build was already failing and this error ended up being the root cause of the first failed top-level target.
--
MOS_MIGRATED_REVID=116767915
|
|
|
|
|
|
|
|
|
| |
Adds //third_party/java/j2objc:jre_emul.jar target, needed for a future update
to j2objc_library.
RELNOTES: J2ObjC updated to 1.0.1 release.
--
MOS_MIGRATED_REVID=116767453
|
|
|
|
|
|
|
|
|
|
| |
For backwards compatibility reasons, resources show up in both the
originating rule as well as the containing rule. Implementations can
check the :resources attribute to see if they should ignore their
resources.
--
MOS_MIGRATED_REVID=116698804
|
|
|
|
|
|
|
| |
fully implemented but still being guinea pigged.
--
MOS_MIGRATED_REVID=116694206
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116693888
|