| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
TreeArtifacts.
--
MOS_MIGRATED_REVID=135485914
|
|
|
|
|
|
|
| |
It was unused in Bazel.
--
MOS_MIGRATED_REVID=135483937
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135483694
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135474598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks rules_go
Found by bisecting (bazel build src:bazel && cd ../rules_go && ../bazel/bazel-bin/src/bazel query 'tests(//...)')
See http://ci.bazel.io/job/rules_go/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/370/console
*** Original change description ***
Allow repositories to refer to the local repository by repo name
For example, if the main repository is named @foo, other repositories can refer
to targets in it as @foo//path/to:target (instead of @//path/to:target).
Fixes #1248.
--
MOS_MIGRATED_REVID=135471434
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"block-network" tag.
To block network access, you can set the "block-network" tag on a target like this:
genrule(
name = "no_access_to_network",
cmd = "curl http://www.bazel.io/this_will_fail",
tags = [ "block-network" ],
)
This is needed to fix a performance issue due to a bug in the Linux kernel: https://lkml.org/lkml/2014/8/28/656
RELNOTES[INC]: Sandboxed actions can access the network by default, unless their target has a "block-network" tag.
--
MOS_MIGRATED_REVID=135470811
|
|
|
|
|
|
|
| |
Move the REPL Skylark there.
--
MOS_MIGRATED_REVID=135467316
|
|
|
|
|
|
|
|
|
|
| |
instead of "and".
Also allow native rules to require declared providers on their
dependencies.
--
MOS_MIGRATED_REVID=135454750
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
[] hasn't released unknown commit yet.
We need to keep the old behavior until then.
*** Original change description ***
Stop consulting the environment for "originating user" information.
--
MOS_MIGRATED_REVID=135441115
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135422529
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
With this approach, the R.class winds up in the filtered jar because its origin isn't among the "normal" Java sources. I'll have to be a little smarter, but start with rolling this back.
*** Original change description ***
Support srcjar files in filtered gen jar.
If a java_library has any srcjar files in its sources
attribute, the output of these would be discarded.
To make it more robust, invert the jar filter to
keep everything *except* source artifact java files.
Previously, we would build a manifest containing all
the generated java files and use that to filter.
This should also be ever so slightly faster since
we can skip an action.
--
MOS_MIGRATED_REVID=135406849
|
|
|
|
|
|
|
|
|
|
|
| |
Older android_ide_common does not handle BCP 47,
so we update the code to handle that and remove
most of the workarounds. This also pulls in a
fix for 3-letter locales, unblocks resource
shrinking whitelisting, etc.
--
MOS_MIGRATED_REVID=135396457
|
|
|
|
|
|
|
|
|
|
| |
For example, if the main repository is named @foo, other repositories can refer
to targets in it as @foo//path/to:target (instead of @//path/to:target).
Fixes #1248.
--
MOS_MIGRATED_REVID=135382972
|
|
|
|
|
|
|
|
|
| |
the Bazel server.
RELNOTES[INC]: --command_port=-1 to use AF_UNIX for client/server communications is not supported anymore.
--
MOS_MIGRATED_REVID=135355673
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This returns an ActionsProvider. In the case where the rule does not emit any
more actions afterwards, the provider is equivalent to the one that gets passed
on to the rule's dependencies.
This may be useful for unit testing analysis-time helper functions that take
in ctx and have the side-effect of creating actions. In this use case, the
testing rule should be marked _skylark_testable=True, and its implementation
function should call the helper and then inspect the result of get_actions().
--
MOS_MIGRATED_REVID=135353411
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135353307
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a java_library has any srcjar files in its sources
attribute, the output of these would be discarded.
To make it more robust, invert the jar filter to
keep everything *except* source artifact java files.
Previously, we would build a manifest containing all
the generated java files and use that to filter.
This should also be ever so slightly faster since
we can skip an action.
--
MOS_MIGRATED_REVID=135351129
|
|
|
|
|
|
|
|
|
| |
...to produce 'build --action_env=' statements, not common ones. See also d59bcb633.
--
Change-Id: Ib0fc75ff8991650c43dd72300b3d92a6986b1165
Reviewed-on: https://bazel-review.googlesource.com/#/c/6493
MOS_MIGRATED_REVID=135350639
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135345929
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135345593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also implemented whole archive feature on Windows
1. Pulled action_configs and features from CppLinkActionConfigs.java
2. Deleted many features not working on Windows. (AFAIK)
including:
symbol_counts
output_execpath_flags_executable
global_whole_archive_open
runtime_root_flags
global_whole_archive_close
force_pic_flags
3. Added c++-link-interface-dynamic-library action config
Not sure there is such thing on Windows, but it's currently in MANDATORY_LINK_TARGET_TYPES
4. Added build variable "whole_archive_object_files_params"
5. Automatically detect if linker supports /WHOLEARCHIVE and use the corresponding build variable
--
Change-Id: I232798a0eb1a3291f972b313a81e678b0121d58c
Reviewed-on: https://bazel-review.googlesource.com/#/c/6414
MOS_MIGRATED_REVID=135342093
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a semantic change for Bazel, which now observes the --cpu flag when
looking up a Jvm. Use "-default" as a fallback to keep the change backwards
compatible.
RELNOTES[INC]: Bazel now uses the --cpu flag to look up Jvms; it falls back
to "default" if it can't find a Jvm matching the CPU value.
--
MOS_MIGRATED_REVID=135333759
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135331287
|
|
|
|
|
|
|
|
| |
The aspect tries to access an attribute on the idl
provider that doesn't exist yet.
--
MOS_MIGRATED_REVID=135310683
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135310637
|
|
|
|
|
|
|
|
|
|
| |
Remove DirtyKeyTracker and inflight node tracking as independent
progress tracking bits of code, and instead use an internal-facing
DirtyTrackingProgressReceiver wrapper of the user's
EvaluationProgressReceiver.
--
MOS_MIGRATED_REVID=135291924
|
|
|
|
|
|
|
| |
* This prevents a target from building if its name or any name in its dependencies is not a valid Swift module name.
--
MOS_MIGRATED_REVID=135270299
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135251634
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135241715
|
|
|
|
|
|
|
| |
Ideally, stdout would be line buffered, too, except that we sometimes pump large amounts of binary data through it, so line buffering would result in performance loss.
--
MOS_MIGRATED_REVID=135237450
|
|
|
|
|
|
|
|
| |
We test some JDK8 features only and it is not worth the bucket
to separate them now.
--
MOS_MIGRATED_REVID=135234490
|
|
|
|
|
|
|
| |
This exposes action inputs, outputs, argv, content, and substitutions (if applicable).
--
MOS_MIGRATED_REVID=135226123
|
|
|
|
|
|
|
| |
This test was polluting the output with a lot of errors.
--
MOS_MIGRATED_REVID=135222408
|
|
|
|
|
|
|
| |
Fixes #1885
--
MOS_MIGRATED_REVID=135219343
|
|
|
|
|
|
|
| |
--
Change-Id: I034fe094038a8fa62bcea3f410ae70174b947d79
Reviewed-on: https://bazel-review.googlesource.com/#/c/6432
MOS_MIGRATED_REVID=135210595
|
|
|
|
|
|
|
|
|
|
|
| |
...as required by Java 7.
Fixes #1884.
--
Change-Id: I8be740d02f24dc1e9abe6b9fcd45faf35e9a6167
Reviewed-on: https://bazel-review.googlesource.com/#/c/6431
MOS_MIGRATED_REVID=135210214
|
|
|
|
|
|
|
| |
--
Change-Id: If2cd06ba19e1035275f30c445a99af7a7c81e1d8
Reviewed-on: https://bazel-review.googlesource.com/#/c/6430
MOS_MIGRATED_REVID=135210119
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135208653
|
|
|
|
|
|
|
|
|
| |
classes
This is needed to let subclasses of @SkylarkModules have the same type() string as their superclass, without requiring a second annotation for the subclass (which would lead to redundant documentation being generated).
--
MOS_MIGRATED_REVID=135161653
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first step on a journey toward allowing commands to AbruptExit
wherever they please, similar to how the user can press Ctrl+C at any time
and we (should) bail out as fast as we can.
By interrupting the command's main thread, we at least offer the command
the ability to see that an error requiring a bail has happened, and it should
trigger at potentially more locations, rather than just between phases.
--
MOS_MIGRATED_REVID=135152330
|
|
|
|
|
|
|
| |
The first legacy glob that a package requires will, if this option is enabled, cause up to that many directories to be eagerly visited by a glob(['**']). The results are thrown away for memory reasons.
--
MOS_MIGRATED_REVID=135148361
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135144084
|
|
|
|
|
|
|
|
| |
The bug is due to hash collisions where an absolute identity comparison
is needed.
--
MOS_MIGRATED_REVID=134976540
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Blaze with this CL breaks ~all targets: "There is already a built-in attribute 'name' which cannot be overridden."
*** Original change description ***
Proper error messages when built-in rule attributes are overridden #1811
--
MOS_MIGRATED_REVID=134857179
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=134823021
|
|
|
|
|
|
|
|
| |
Crash was triggered by overriding a @SkylarkCallable without repeating the
annotation in the subclass's method.
--
MOS_MIGRATED_REVID=134797463
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=134793032
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The BuildEventStreamer will listen for BuildEvents and stream them
to the provided transports. It also ensures events are properly chained:
for unsolicited events, it will add progress events to chain them and
at the end of a build it closes all announced but not produced events
as aborted.
--
Change-Id: I623b582657573fe1288821c96f084e0ab0bca4d4
Reviewed-on: https://bazel-review.googlesource.com/#/c/6275
MOS_MIGRATED_REVID=134787541
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that stale outputs from prior builds do not remain
to confuse the compiler.
Fixes #1778.
--
Change-Id: I31b5c3e7e5970cf45c3ff10144ddfc73540ef9af
Reviewed-on: https://bazel-review.googlesource.com/6250
MOS_MIGRATED_REVID=134780501
|
|
|
|
|
|
|
|
|
|
|
|
| |
This restructures the way we set the default Spawn strategy so that each BlazeModule supplying a SpawnActionContext has an ActionContextConsumer that sets its own SpawnActionContext as the default, with the BazelRulesModule being put as the last module loaded in BazelMain, so that it can override that decision - it only does, if the user explicitly specifies a --spawn_strategy flag. IMHO this is a much saner approach than the older one.
So the flow is essentially this:
- StandaloneActionContextConsumer sets the default strategy to "standalone".
- SandboxActionContextConsumer sets the default strategy to "sandboxed", but only on Linux
- BazelRulesModule sets the default strategy to the value of the --spawn_strategy flag, if it is set.
--
MOS_MIGRATED_REVID=134770427
|