Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/oppia/bazel

a fast, scalable, multi-language and extensible build system
https://github.com/oppia/bazel

Reformat files to avoid distractions in downstream CLs

PiperOrigin-RevId: 263179786

c119bb87da500f25df082099e0cd627fc326ae64 authored over 5 years ago
Use --bes_upload_mode associated with the previous command when blocking on its completion in the subsequent command.

RELNOTES: None
PiperOrigin-RevId: 263171436

10a4160f7fbb7f878a484734f89622ddb4e58962 authored over 5 years ago
Fixes to --generate_base_classes_for_default_methods desugaring option

- Fix override preservation logic when run on interface companion classes
- Exclude some pre-inst...

35dbc885b98f07e0fd648c36241247e5f7ac186b authored over 5 years ago
Support --java_classpath=bazel in header compilation actions

this is guarded behind --experimental_java_header_input_pruning for roll-out.

PiperOrigin-RevId...

e2a0fd65b6f8b2629dcd745ed5bb6168fa29f366 authored over 5 years ago
Only set --processors once

this wasn't causing problems (turbine allows flags to be set multiple times),
but it's unnecessa...

dbc191e18e925504851c85e93b7d762634ea86c8 authored over 5 years ago
Clarify default visibility.

RELNOTES: Clarify default visibility.
PiperOrigin-RevId: 263151228

422cf780dcc8cc46171805244aa8ec967e08acce authored over 5 years ago
Remove reference to CriticalPathComputer so that garbage can be cleaned up after a build.

RELNOTES: None.

Closes #9160.

PiperOrigin-RevId: 263146101

9db9872965ba74ccb5957119d739c2be6a3569b0 authored over 5 years ago
Intern SkylarkProviderIdentifier across packages and RuleClasses.

A RuleClass advertises its providers by making available Sets of
SkylarkProviderIdentifier. For ...

32f12f2bb3d852d7545b16f4c3fbeb5bc838e387 authored over 5 years ago
Return JavaInfo from java proto aspects.

RELNOTES: None.
PiperOrigin-RevId: 263133003

ef8b6f68cc8ffd2e6523a894034ae383e87ec74c authored over 5 years ago
Reference the JSON profile as build tool log in the BEP.

RELNOTES: None

Closes #9159.

PiperOrigin-RevId: 263132427

522099d4907dd4c1baefbfaba656219b57f41892 authored over 5 years ago
Add more tolerance for missing deps in maybeHandleRegisteringNewlyDiscoveredDepsForDoneEntry if the evaluator permits such an inconsistency.

PiperOrigin-RevId: 263125555

bb54224bd9eb7b1974ae4b1bea329dcb0c6689bc authored over 5 years ago
Flip --incompatible_use_specific_tool_files.

See https://github.com/bazelbuild/bazel/issues/8531.

Closes #9126.

RELNOTES: The --incompatibl...

030ca7fb98c56bfc63f5dc9e61e6a89c4b274293 authored over 5 years ago
Flip --incompatible_make_thinlto_command_lines_standalone

Fixes #6791

RELNOTES: The --incompatible_make_thinlto_command_lines_standalone flag has been fl...

40c3ab341049c40ddda6bff8e9f433dab0fdd067 authored over 5 years ago
Fix race condition in CPU profiling.

Only happened in very short commands (like clean) and there very rarely.

RELNOTES: None
PiperOr...

3e213679130015e18fddbafa887d6095ed1b07ae authored over 5 years ago
Also enable action counting by default.

RELNOTES: None
PiperOrigin-RevId: 263112305

17bc247d74bcf86de1f8d8450f322c86e0860952 authored over 5 years ago
Only expand incompatible flag to build-like or query commands.

RELNOTES: None
PiperOrigin-RevId: 263112065

6653efbcc2611884af145c356cf77a35155c1bfb authored over 5 years ago
introduce --remote_default_exec_properties

--remote_default_exec_properties serves the same purpose as
--remote_default_platform properties...

6ec75ab6eccc8b8f2df569945b8b4ca2ea75c892 authored over 5 years ago
Unflip --incompatible_make_thinlto_command_lines_standalone for g3 integration tests

These integration tests use the production toolchain, which is not yet migrated.

RELNOTES: None...

ea07ad338cca759dce52dc50fb0a79c4bb6d3a01 authored over 5 years ago
Flip incompatible_disable_static_cc_toolchains

Fixes #8546

RELNOTES: --incompatible_disable_static_cc_toolchains has been flipped. See https:/...

68210daad7cd8e60830f8ae8de91f2ced5b7f3b1 authored over 5 years ago
Unflip --incompatible_use_specific_tool_files for g3 integration tests

These integration tests use the production toolchain, which is not yet migrated.

RELNOTES: None...

37cc1ac321a250fbefe12af89c431994155a861d authored over 5 years ago
Run more Android tests on Windows

Closes #9151.

PiperOrigin-RevId: 263025296

406915b1ff80ee42455f35ff5dbfde1ddbce3dfc authored over 5 years ago
Remove "experimental_skip_parsing_action" flag, which is not connected to

anything.

PiperOrigin-RevId: 263019282

a10b21fb8bcb3f08a85f12b49f41cde231360d18 authored over 5 years ago
Remove obsolete code for config splits

Bazel support was never launched, and aapt1 is already obsolete.

Most of the deleted logic (Spl...

c018f607c9b52d301841c4d0fd2d8771c711d299 authored over 5 years ago
Reuse same list-of-labels for all $test_runtime attributes' default value.

Add an explicit test that the same instance is used for the $test_runtime value across
native ru...

a32217f271e7ddd488d9501d0a4c87c3b9078a1a authored over 5 years ago
Fix missing link in Android docs.

RELNOTES:
PiperOrigin-RevId: 262987126

cf354635680d7e924dba9e59f03771049245836f authored over 5 years ago
Put all inputs in 'inputs' instead of 'tools'

'tools' is required to be a subset of 'inputs', and is only used by the worker
spawn strategy (w...

154f34634f2821911cf5f91257b74b6204b207bb authored over 5 years ago
Allow users to customize dynamic strategy by mnemonic using --dynamic_[local,remote]_strategy, which now takes mnemonic=value[,value,..].

RELNOTES: None.
PiperOrigin-RevId: 262961222

a14a722b080b03c6ced37dcdcd7e4bbe7e70c8e4 authored over 5 years ago
Remove redundant "useCompiledResourcesForMerge" flag.

It's (almost) always set internally for aapt2, but it's also only *used*
internally for aapt2. ...

f54c2aeec89e9de176815ce68a11f3f8dbe50c93 authored over 5 years ago
Add a fake cc_toolchain_config rule for our fake cc_toolchain to point to when Bazel doesn't need C++ toolchain configuration

The toolchain configuration rule we are currently relying on will be removed as part of #8546

R...

3fd51290edd9833920bf563d3504c38dbcc672a9 authored over 5 years ago
Add support for unresolved symlinks as outputs of actions.

Implemented by adding a bit to Artifact that tells if it is an unresolved symlink. In the latter...

2fc2e2b84aa378de68a8f3f87a2f22eb583a0df3 authored over 5 years ago
Miscellaneous cleanups for sanity/readability

* do not extend BiConsumer interface: it makes xrefs hard to follow
* structure deserialization ...

86998afbfb76c5b42c7cce92c4e1bb005da78781 authored over 5 years ago
Update legacy test to avoid calling obsolete code

PiperOrigin-RevId: 262948587

74311d6a48593a919702b64305ec2be8af285491 authored over 5 years ago
Fix a typo in toolchain definition

This toolchain corresponds to the cc_toolchain defined in BUILD.tpl: https://source.bazel.build/...

0eb7f218f5265a9922980e8eb307718b00776059 authored over 5 years ago
Refactor SimpleBlobStore#put

Split it into SimpleBlobStore#uploadFile and SimpleBlobStore#uploadBlob.
The return type changes...

36611c380323ca91986543d4970743bdf0a0efbd authored over 5 years ago
Split platform creation out of java_integration_test and simplify.

PiperOrigin-RevId: 262885000

137f969b40318b5941e594e5136290b65b89c197 authored over 5 years ago
Replace internal lingo in docs.

RELNOTES: None

Closes #9144.

PiperOrigin-RevId: 262872388

78e27f40c914edc0bb8a3a421e6932a9c193df6d authored over 5 years ago
Include tools as inputs to Turbine action

Per
https://github.com/bazelbuild/bazel/blob/b0e5636c50b0b77d51bfb75e07f64d543d2dab2f/src/main/j...

2419d4b2780fc68a0e501c1fab558b045eb054d3 authored over 5 years ago
[RPBB] Introduce a command line option `--resourcePathShortening`.

PiperOrigin-RevId: 262740855

b0e5636c50b0b77d51bfb75e07f64d543d2dab2f authored over 5 years ago
Tolerate missing deps in maybeHandleRegisteringNewlyDiscoveredDepsForDoneEntry if the evaluator permits such an inconsistency.

PiperOrigin-RevId: 262686794

3d95c7ee8087670336f28344b69d075b19283fb4 authored over 5 years ago
Clean up reduce classpath configuration handling

PiperOrigin-RevId: 262681884

31683e7a01324b1b4116c5cee74f18b9a50a442f authored over 5 years ago
Inline SpawnAction.Builder into JavaHeaderCompileActionBuilder

the builder reads better, but this is a requirement for using non-SpawnAction
action implementat...

b07a85e445ae143aa12152a9954ff9debfed9aa4 authored over 5 years ago
Automated rollback of commit 5d0dde0745a5f804aac1c52542f1ae91417d7e77.

*** Reason for rollback ***

Rollforward to default Bazel to use aapt2, and fix native tests to ...

c6022ee3d82c70cf233919b1ced4dcaa81e043c9 authored over 5 years ago
Automated rollback of commit 934ded76f6743813678f1acaf4f252e3408edc86.

PiperOrigin-RevId: 262650770

4e44b35b692f12c0ab99090f08b9d0ca5c5ca797 authored over 5 years ago
Run Android shell integration tests on Windows

Starting off with aapt_integration_test.

Closes #9119.

Change-Id: I1a103923c932a3e1ba0f9499c1b...

908b83658a43ffc3e1c789be5fc72b19cd79eda1 authored over 5 years ago
bazel syntax: lock down constructors of syntax nodes

Only the parser should create syntax nodes.

This is a preparatory step for having the parser pr...

e0c5e6283db0572b14be9c9df7db0bdddb0aabff authored over 5 years ago
Reintroduce a step that was accidentally dropped in https://github.com/bazelbuild/bazel/commit/ea971cb3855cb394fcdd1f160ee95b263995685c

PiperOrigin-RevId: 262640794

b3d6550993c37c3d9a007008c1897ebfd9ae22e7 authored over 5 years ago
fix miniature definition

Closes #9101.

PiperOrigin-RevId: 262640267

9c5c2425a86b55cd477928064537cd0581364527 authored over 5 years ago
Golden Tests for CL 260509698

PiperOrigin-RevId: 262632045

b491f3ee4471aff2255a636d6d8c231b86b740ba authored over 5 years ago
Allow module docstring to be generated in proto output in Stardoc Binary

Fixes https://github.com/bazelbuild/skydoc/issues/159.

RELNOTES: None.
PiperOrigin-RevId: 26263...

40e350ff4ac7f9d4f6754053b7ae0687adfbc122 authored over 5 years ago
Project import generated by Copybara and Update io_bazel_skydoc dependency

GIT_ORIGIN_REV_ID=2f1a5ab505ba501fdfeb9162defbb3b91da11e76
PiperOrigin-RevId: 262600001

c082f02ba2d07a97363596ed087c83e29a4582ed authored over 5 years ago
Make toolchain.toolchain configurable.

This attribute was previously non-configurable but as it turns out this restriction is not neces...

f17c9f2803760d6b0cad463e49dac347f414311e authored over 5 years ago
Partially roll back CL/261534671 -- only --subcommands should imply --materialize_param_files.

RELNOTES:
PiperOrigin-RevId: 262574442

332bc12a33c03282599bf14d4d04f461ad3f42e8 authored over 5 years ago
Add a static C++ toolchain configuration for freebsd

The toolchain configuration rule freebsd currently is relying on will be removed as part of #854...

5ee6d353af12f84c96138d5350da50d04f601f4f authored over 5 years ago
Rewrite AbstractSandboxSpawnRunner to use Subprocess

It was previously using Command. This change is in preparation for
merging the local sandboxed a...

71288e62330b5a8d3ba174112f4e7ed8fcf86558 authored over 5 years ago
Windows, refactor: move WindowsEscapeArg function

Move this function from the native
py/sh/java_binary launcher into the windows JNI
library.

The...

dcc80fb8b3952da51e9d924a50c9d80ddf4a4f32 authored over 5 years ago
Flip --incompatible_require_java_toolchain_header_compiler_direct

All downstream projects are green with the flag flipped.

Fixes #7990.

Closes #8973.

PiperOrig...

9bbe8395bfbeaa94be9a7fa11156a825b90a5509 authored over 5 years ago
Move --incompatible_disable_proto_source_root to the option graveyard.

And with it, the proto_library.proto_source_root attribute.

Good riddance.

Fixes #7153.

RELNO...

3e8364c1ec9842657ea60204a3df390d4b891362 authored over 5 years ago
Remove the flag experimental_java_common_create_provider_enabled_packages.

RELNOTES: None.
PiperOrigin-RevId: 262531954

760e1dd8b9caeed85a1c336cbe8901a3744508cc authored over 5 years ago
Remove most calls to ResourceManager.instance

This is in preparation for creating a new instance per build invocation.
The only remaining call...

fdced257db2dda40ea56f787faa03ab674cf56db authored over 5 years ago
Replace existing_rules with existing_rule in the maybe function

existing_rules needs to allocate a large dictionary. This can
lead to performance problems with ...

1828f0cdbad5076311bf8f44a40c5a502a21e317 authored over 5 years ago
Flip the flag --incompatible_do_not_emit_buggy_external_repo_import and move it to the option graveyard.

It breaks no downstream projects.

Fixes #8711.

RELNOTES: None.
PiperOrigin-RevId: 262526419

25bc4abbdf05cabb5ef3447cc95b3471c2e2a4bb authored over 5 years ago
Load java_import instead of java_library in third_party/protobuf/3.6.1/BUILD

Partial commit for third_party/*, see #9129.

Signed-off-by: iirina <[email protected]>

eab8ae8a33138f26abf25bd736065083d867ca44 authored over 5 years ago
Inject ResourceManager everywhere

This is in preparation for async local execution, for which we require a
thread pool. My plan is...

985a34ad056977dbd5be0528c68834a24d40c0b6 authored over 5 years ago
Windows: fix "bazel run" argument quoting

There are two axes of variables:
- server mode vs. batch mode (--[no]batch)
- Windows only: Bash...

da557f96c697102ad787e57bbf7db2460f6a60a8 authored over 5 years ago
Automated rollback of commit fed055bd9acc518379a6aa1d552338bfbff4d9a4.

*** Reason for rollback ***

Manually rolled back on behalf of: elenairina.
Reason Given: Rollin...

c62c2a60faf9529b51f0b9d6151de3772e8d9264 authored over 5 years ago
Inline SpawnAction.Builder#{setJarExecutable,setExecutable}

pre-factoring for unknown commit

PiperOrigin-RevId: 262500065

ea971cb3855cb394fcdd1f160ee95b263995685c authored over 5 years ago
Optimize processor name part of progress message

PiperOrigin-RevId: 262461053

6a2ad48c58ba2997cf8e42e8f69920c36841d490 authored over 5 years ago
Refactor ProgressMessage handling in JavaCompileAction and share it with JavaHeaderCompileActionBuilder

PiperOrigin-RevId: 262460485

2057d4d72e458c6a85949d41925f321bc81382fa authored over 5 years ago
Update remote Android tools to 0.9

Closes #9128.

Change-Id: I960d6c52678d98050dfe924051d8baf2a8797e36
PiperOrigin-RevId: 262456455

3be558906e86627ac61555c221f01b5b162e459a authored over 5 years ago
Automated rollback of commit 27e885589accbcaa5be8c4f1b8405fd4fdcb731a.

*** Reason for rollback ***

Roll forward with fix

*** Original change description ***

Automat...

43fc06881c9ec39712fbfa557b7df1137e3aeec3 authored over 5 years ago
Output the resource path shortening map.

If no path shortening was done, this map will still be output as an empty file.

PiperOrigin-Rev...

934ded76f6743813678f1acaf4f252e3408edc86 authored over 5 years ago
[RPBB] fix unnecessary visibility of the myriad "merge" methods.

PiperOrigin-RevId: 262432608

5b5351c36fd80ee93c43337a3f7a7abc5b4d7c32 authored over 5 years ago
[RPBB] fix unnecessary visibility/dead code

PiperOrigin-RevId: 262431980

93a278fe0626398d67ccb0e7d419616794c0fb15 authored over 5 years ago
Fix URI -> Path conversion on Windows.

Paths.get(URI) handles the "jar:file:" prefix nicely on all platforms, so there is no need to su...

4f5cede1c6a91069cab9e716fd7be910c934a1d0 authored over 5 years ago
Extract an ExtraActionInfoSupplier interface

to reduce coupling between JavaCompilerAction and JavaCompileActionBuilder.

PiperOrigin-RevId: ...

9771a1a72c256d506547ae888344d45298debad5 authored over 5 years ago
Don't hard-code a mnemonic in JavaCompilerAction

in preparation for using it for turbine reduced classpath actions.

PiperOrigin-RevId: 262422543

5ef4df2dd0bb80e200e77da9bb1e5fd7b1f0bf2e authored over 5 years ago
Fix a broken javadoc link

PiperOrigin-RevId: 262421897

6466300af4386cc43a49c67ddf079fcf0f8767d0 authored over 5 years ago
Clean up JavaHeaderCompileActionBuilder source jar handling

pass through an existing immutable collection instead of making a copy.

PiperOrigin-RevId: 2624...

e7ee6acdb0c93d67b5e6de443663cd8a92ec89ce authored over 5 years ago
Removing unused field in ConfiguredTargetFunction.

RELNOTES: None.
PiperOrigin-RevId: 262408794

c8e7b301b4e6efea88781504de768411eef72c4a authored over 5 years ago
Clarify that Starlark follows PEP 8, not Google Python style

This is implied by the link `href`, but not by its text.

PiperOrigin-RevId: 262392667

06b494355b5f758fc594d0b6e67512ea4b2f2e40 authored over 5 years ago
Flip and remove the flag incompatible_disallow_split_empty_separator

RELNOTES: incompatible_disallow_split_empty_separator is enabled by default
PiperOrigin-RevId: 2...

67cc4263dbfc5827fe5928195f2898a85cbc33ca authored over 5 years ago
Automated rollback of commit 858412781d76b7d27c39dc58b7f24cf645bdf035.

*** Reason for rollback ***

Broke documentation of files with attrs that require legacy provide...

27e885589accbcaa5be8c4f1b8405fd4fdcb731a authored over 5 years ago
Mitigate loud logging during options diffing serialization.

RELNOTES: None
PiperOrigin-RevId: 262368696

e0f1c1c0f5227c1bcbcfe460889bbcf1c65de5e8 authored over 5 years ago
Correct flags set in getHost to correctly capture a host/exec environment.

Part of #7935.

PiperOrigin-RevId: 262360499

78829b468f569838ad62b53e51c42f8ea3bcc08e authored over 5 years ago
Fix local_config_platform to also be handled during `bazel sync`.

Part of #7081 and #6849.

Closes #9110.

PiperOrigin-RevId: 262357547

c74e3d29ec23af4c450ac3f21b244643473bbda6 authored over 5 years ago
doc/site/build-ref.html: fix export error

Fixes #9124

PiperOrigin-RevId: 262356093

c2efa6f4d36ac9d839beffc1fb3f8095becf58f5 authored over 5 years ago
Enable the flag incompatible_disallow_rule_execution_platform_constraints_allowed

--incompatible_disallow_rule_execution_platform_constraints_allowed.

RELNOTES: Enable incompati...

0ceff11e7bda53bc1f4c15010b607afe05a96461 authored over 5 years ago
Load built-in annotation processors from turbine

instead of from the processor classpath.

PiperOrigin-RevId: 262351086

e3841e0f6aac8b168f703503220292504563fc4c authored over 5 years ago
Implement --gensrc_output in javac turbine

PiperOrigin-RevId: 262350385

060656c25c88e8477133d374c058f760593680cc authored over 5 years ago
Automated rollback of commit acd1bbb7a9260f5a40e580062c004d1b978b3311.

*** Reason for rollback ***

TAP has detected 10 or more targets failed to build at https://gith...

fed055bd9acc518379a6aa1d552338bfbff4d9a4 authored over 5 years ago
Add rules_java load statement to jdk.BUILD.

Progress on #8746.

RELNOTES: None.
PiperOrigin-RevId: 262333530

78d829742c5eca2ae024bb1345ea4af18cd08915 authored over 5 years ago
Add rules_java load statements.

Progress on #8746.

RELNOTES: None.
PiperOrigin-RevId: 262331235

acd1bbb7a9260f5a40e580062c004d1b978b3311 authored over 5 years ago
site/docs/build-ref.html: add "repository" to the concepts page

Explain that code is organised in repositories; while there, also
explain the boundaries of the ...

7bdfb57ccb33bc23814f509ba6aaf188597cb731 authored over 5 years ago
Simplify API of ProcMeminfoParser

Make KeywordNotFoundException implement IOException; callers already
ignore IOException, so this...

5d2883710f13e537663656a8d0615eccffc6f61a authored over 5 years ago
Update turbine

Built at
https://github.com/google/turbine/commit/4ad8acd280955f5e98aa16b3365b36b6b937cc10

Part...

dcef983ac224ad65f8de0af02c06176e5a05e853 authored over 5 years ago
Make --sandbox_base and --sandbox_default_allow_network non-experimental

It seems likely that we'll keep these flags, and we don't want users to rely on experimental fla...

6ad1623ed35bee162caf363e51b8c35c4b10fc3c authored over 5 years ago
Switch the default for --experimental_multi_threaded_digest

It looks like this is fairly widely used now, and we recommend users who are still on spinning p...

fca63525158321e5a5f0ff67a8796992a7347c73 authored over 5 years ago
Add rules_java load statements.

Migrate bazel to use the Java rules from the rules_java repository.

Progress on #8746.

Closes ...

a4de484efe44c3e614ba7901a5e03e3958c148e9 authored over 5 years ago
Add a 'local_defines' attribute to cc_* rules

Currently, the only way to specify non-transitive defines is through the 'copts' attribute, whic...

470ee599928e93fcc2e4673d94dfd6e0fbf3f174 authored over 5 years ago
Flip the flag --incompatible_disable_proto_source_root.

Progress towards #7153.

Technically, it's a *fix* to the above bug but I'd like to keep it open...

e4b5841eb479fa4aeb25374b368b7bb2d76b11ee authored over 5 years ago