| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
This simplifies implementation of attr.* functions and helps make
declared provider implementation simpler.
--
PiperOrigin-RevId: 148867326
MOS_MIGRATED_REVID=148867326
|
|
|
|
|
|
|
|
|
|
| |
TestStrategy sometimes computed the runfiles directory separately from
the existing code in Runfiles. Now we always use the passed through value.
AFAICT, the two code paths were identical.
--
PiperOrigin-RevId: 148866489
MOS_MIGRATED_REVID=148866489
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148860690
MOS_MIGRATED_REVID=148860690
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148844518
MOS_MIGRATED_REVID=148844518
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148843788
MOS_MIGRATED_REVID=148843788
|
|
|
|
|
|
|
|
| |
out if DexArchiveAspect misses .jar files
--
PiperOrigin-RevId: 148835665
MOS_MIGRATED_REVID=148835665
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148827329
MOS_MIGRATED_REVID=148827329
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148816635
MOS_MIGRATED_REVID=148816635
|
|
|
|
|
|
|
|
| |
RELNOTES: Convert --use_action_cache to a regular option
--
PiperOrigin-RevId: 148804881
MOS_MIGRATED_REVID=148804881
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148795506
MOS_MIGRATED_REVID=148795506
|
|
|
|
|
|
|
|
| |
To make it more obvious that the JarOutputStream is closed (see #2538).
--
PiperOrigin-RevId: 148791125
MOS_MIGRATED_REVID=148791125
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148788906
MOS_MIGRATED_REVID=148788906
|
|
|
|
|
|
|
|
|
|
|
|
| |
The build event protocol now emits a BuildFinished event at the end of a build. The event is a child of the BuildStarted event.
The code changes were larger than expected, due to some refactoring in BuildEventStreamer. This was necessary as the BuildCompleteEvent now implements the BuildEvent interface and Guava's EventBus always invokes the most specialized subscriber method. Thus, the buildEvent(BuildEvent) and buildCompleted(BuildCompletedEvent) methods had to be merged.
--
Change-Id: Id0c2bd7220dc8ce03128b7126587e212ee8ce836
Reviewed-on: https://cr.bazel.build/9053
PiperOrigin-RevId: 148788582
MOS_MIGRATED_REVID=148788582
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
--
PiperOrigin-RevId: 148781019
MOS_MIGRATED_REVID=148781019
|
|
|
|
|
|
|
|
|
|
|
| |
fix #2438
Closes #2439.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2439
PiperOrigin-RevId: 148781010
MOS_MIGRATED_REVID=148781010
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ProgressInputStream provides unstructured information about progress
of downloading files in the form of Progress events. Add a new event
type, to be posted over the event bus, providing structured information
about the download progress.
--
Change-Id: Idbbaa4325ade356e65ef7ef1a40e66730216b6fe
Reviewed-on: https://cr.bazel.build/9113
PiperOrigin-RevId: 148772585
MOS_MIGRATED_REVID=148772585
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ijar will use Bazel's file handling logic so that
we don't have to maintain two implementations, and
don't have to copy this code to implement the
Windows/MSVC code path in
third_party/ijar/platform_utils.cc.
See https://github.com/bazelbuild/bazel/issues/2157
--
Change-Id: Iec327febb882aeaabae55216d0d06488f7c151ed
Reviewed-on: https://cr.bazel.build/9068
PiperOrigin-RevId: 148770951
MOS_MIGRATED_REVID=148770951
|
|
|
|
|
| |
PiperOrigin-RevId: 148768294
MOS_MIGRATED_REVID=148768294
|
|
|
|
|
|
|
|
|
|
| |
interfaces to support shared use with docker_build.
This also fixes "docker load -i <bazel output>", which was broken on newer clients due to a lack of tag data in manifest.json's RepoTags.
--
PiperOrigin-RevId: 148767383
MOS_MIGRATED_REVID=148767383
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Skyframe Evaluation, events reporting about progress are meant to be seen
immediately by the environment. More over, they are not to be replayed when
taking this SkyFunction out of cache. So change the custom implementation of the
StoredEventHandler in the SkyFunctionEnvironment to forward appropriately.
--
Change-Id: I30baf0088595ef684f16270f11668e980e65aa41
Reviewed-on: https://cr.bazel.build/9112
PiperOrigin-RevId: 148766400
MOS_MIGRATED_REVID=148766400
|
|
|
|
|
|
|
|
|
|
|
|
| |
platform-related constraints and values.
Part of ongoing work on #2219.
--
Change-Id: Ice370ee26469f4992faf72c0c95a1a3e51a9f9e7
Reviewed-on: https://cr.bazel.build/9091
PiperOrigin-RevId: 148758190
MOS_MIGRATED_REVID=148758190
|
|
|
|
|
|
|
|
| |
sandboxed process should have access to.
--
PiperOrigin-RevId: 148758110
MOS_MIGRATED_REVID=148758110
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148751928
MOS_MIGRATED_REVID=148751928
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory.
Fixes #2580.
--
Change-Id: I6e1271a9c1442819e956f7fcdcb5da535ed027db
Reviewed-on: https://cr.bazel.build/9110
PiperOrigin-RevId: 148751072
MOS_MIGRATED_REVID=148751072
|
|
|
|
|
|
|
|
| |
See https://github.com/bazelbuild/bazel/issues/2107
--
PiperOrigin-RevId: 148750327
MOS_MIGRATED_REVID=148750327
|
|
|
|
|
|
|
|
|
|
|
|
| |
To be cherry-picked for #2472.
Fixes #2605.
--
Change-Id: Idfd1bf264ceb696ca766268c8a16891476ee33b1
Reviewed-on: https://cr.bazel.build/9111
PiperOrigin-RevId: 148749784
MOS_MIGRATED_REVID=148749784
|
|
|
|
|
|
|
|
|
|
|
|
| |
updateInputs() and inputsKnown() non-overridable and removing setInputs().
This comes at the cost of adding a flag to every action instance that's not used for non-input-discovering actions, but I think that's a deal. Simpler APIs are good, mmmmkay?
Also fixed a few pre-existing issues in TestAction and ObjcCompileAction.
--
PiperOrigin-RevId: 148749734
MOS_MIGRATED_REVID=148749734
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148749485
MOS_MIGRATED_REVID=148749485
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148697913
MOS_MIGRATED_REVID=148697913
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
backend for SkyQueryEnvironment's implementation in order to achieve parallelism.
Advantages:
-New design has no flaws that the old design had.
-Code is structured so that deadlocks due to thread starvation are impossible (yup!).
Disadvantages:
-The meat of this change needs to all be in a single CL because every single QueryFunction and QueryExpression needs to be rewritten in the async style.
Still TODO:
-Fully embrace the async model in all QueryFunctions (e.g. 'rdeps', 'allpaths').
-Use concurrency in BlazeQueryEnvironment to achieve parallel evaluation for (non SkyQuery) 'blaze query' and genquery.
--
PiperOrigin-RevId: 148690279
MOS_MIGRATED_REVID=148690279
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A target's tags and output files are reported as part of
the TargetComplete event of the build event protocol (BEP).
The output files are grouped by their corresponding output
group. If an output file belongs to more than one output group
it appears once in each output group.
--
Change-Id: Ia37db68709850d8550e478dcc30064dc7366bd1b
Reviewed-on: https://cr.bazel.build/8955
PiperOrigin-RevId: 148667599
MOS_MIGRATED_REVID=148667599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
proto_library-dep-graph.png was generated from:
digraph mygraph {
node [shape=box];
"//src:zip_code.proto" [style="dashed"]
"//src:address.proto" [style="dashed"]
"//src:person.proto" [style="dashed"]
"//src:person_java_proto" [shape="ellipse"]
"//src:person_cc_proto" [shape="ellipse"]
"//src:person_java_proto"
"//src:person_java_proto" -> "//src:person_proto"
"//src:person_cc_proto"
"//src:person_cc_proto" -> "//src:person_proto"
"//src:person_proto"
"//src:person_proto" -> "//src:address_proto"
"//src:person_proto" -> "//src:person.proto"
"//src:person.proto"
"//src:address_proto"
"//src:address_proto" -> "//src:address.proto"
"//src:address_proto" -> "//src:zip_code_proto"
"//src:zip_code_proto"
"//src:zip_code_proto" -> "//src:zip_code.proto"
"//src:zip_code.proto"
"//src:address.proto"
}
--
PiperOrigin-RevId: 148664921
MOS_MIGRATED_REVID=148664921
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a test based on our Python rules that makes sure that this actually
fixes the issue. Thanks to @duggelz for the suggestion. It seems like
our Python rules are the only place that actually provides an
EmptyFilesSupplier to Runfiles, so there's probably no simpler way to
test this behavior in an integration test.
Fix #1458. Fix #2394.
--
PiperOrigin-RevId: 148656193
MOS_MIGRATED_REVID=148656193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* We already have native python rules, so the skylark
ones are no longer unnecessary now
* Leaving `load skylark rules` statement in the example
may be misleading for newcomers
Testing done:
* re-compile bazel
* use it to build example folder and run py target
``` shell
./compile.sh compile /usr/bin/bazel
/home/yiyu/opt/bazel/output/bazel build //examples:all
/home/yiyu/opt/bazel/output/bazel run //examples/py:bin
```
--
Change-Id: Icd82afff2b74e77c0bcc80687b04225baf28f6ad
Reviewed-on: https://cr.bazel.build/9070
PiperOrigin-RevId: 148646895
MOS_MIGRATED_REVID=148646895
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148643993
MOS_MIGRATED_REVID=148643993
|
|
|
|
|
|
|
|
| |
...now that the ExtendedEventHandler can serve the same purpose.
--
PiperOrigin-RevId: 148640618
MOS_MIGRATED_REVID=148640618
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of writing from / reading to a string,
these variants take a buffer and a size.
These methods will be used from ijar.
See https://github.com/bazelbuild/bazel/issues/2157
--
PiperOrigin-RevId: 148635487
MOS_MIGRATED_REVID=148635487
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Determines whether an action cache loaded after bazel daemon shutdown is
accurate to prevent C++ recompilation. Demonstrates the validity of
a28b540 and should prevent future regressions in the input discovery
space for C++.
Closes #2586.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2586
PiperOrigin-RevId: 148634934
MOS_MIGRATED_REVID=148634934
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148632169
MOS_MIGRATED_REVID=148632169
|
|
|
|
|
|
|
|
| |
--
Change-Id: Ib75c9a2b86586efc07ff16dc44caa2e4f4e420c3
Reviewed-on: https://cr.bazel.build/9067
PiperOrigin-RevId: 148631186
MOS_MIGRATED_REVID=148631186
|
|
|
|
|
|
|
|
|
|
| |
This time, if the action discovers inputs, the extra action is made to depend on the outputs of the action so that by the time the extra action runs, the inputs of the original action are discovered. This avoids us having to think about the state the shadowed action may keep.
Yes, actions should not keep state, but they do. Such is life.
--
PiperOrigin-RevId: 148627715
MOS_MIGRATED_REVID=148627715
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148625618
MOS_MIGRATED_REVID=148625618
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds step by step documentation for remote caching feature and document how to run the remote
execution demo.
Fixes a small issue with interacting with WebDAV module of NGINX and Apache using --rest_cache_url
feature.
--
Change-Id: I5e98aa6707bf502eab0801ba637eae575ba26d42
Reviewed-on: https://cr.bazel.build/9031
PiperOrigin-RevId: 148546592
MOS_MIGRATED_REVID=148546592
|
|
|
|
|
|
|
|
| |
RELNOTES: More stable naming scheme for lambda classes in desugared android code
--
PiperOrigin-RevId: 148506830
MOS_MIGRATED_REVID=148506830
|
|
|
|
|
|
|
|
| |
J2ObjC source jar transpilation support.
--
PiperOrigin-RevId: 148501938
MOS_MIGRATED_REVID=148501938
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148488719
MOS_MIGRATED_REVID=148488719
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148484425
MOS_MIGRATED_REVID=148484425
|
|
|
|
|
|
|
|
| |
to generate extra action proto file.
--
PiperOrigin-RevId: 148479293
MOS_MIGRATED_REVID=148479293
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 148469323
MOS_MIGRATED_REVID=148469323
|
|
|
|
|
|
|
|
|
|
| |
Fixes #2587.
--
Change-Id: Ieaedd70c6b7561be3765fe41f81e3c3f388f9cc7
Reviewed-on: https://cr.bazel.build/9090
PiperOrigin-RevId: 148466063
MOS_MIGRATED_REVID=148466063
|