| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
RELNOTES:
PiperOrigin-RevId: 184191201
|
|
|
|
| |
PiperOrigin-RevId: 184177838
|
|
|
|
|
|
|
| |
This borrows from what is on cc_library, to hopefully better capture/indicate
what should and shouldn't be listed in their attribute.
PiperOrigin-RevId: 184173403
|
|
|
|
|
|
|
|
|
|
| |
This makes the android_instrumentation_test silent by default. If the
emulator GUI is required, the following flag is used:
`--action_env=DISPLAY=$DISPLAY # or whatever port the display is on`
RELNOTES: None.
PiperOrigin-RevId: 184172016
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check the no_proxy and NO_PROXY environment variables for a list of URLs that
should not use a proxy. If the requested URL matches the no_proxy list, don't
proxy the download.
Fixes #4299
Closes #4307.
PiperOrigin-RevId: 184149118
|
|
|
|
|
|
|
|
| |
This makes way more sense than using the name of the *parent* directory of the workspace.
Closes #4253 - thanks @akira-baruah for suggesting this change and making it happen!
PiperOrigin-RevId: 184147456
|
|
|
|
| |
PiperOrigin-RevId: 184144301
|
|
|
|
|
|
| |
CppCompileAction serialization.
PiperOrigin-RevId: 184141676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks //third_party/msvc crosstool
*** Original change description ***
RELNOTES: Fix how libraries to link is specified to archiver actions.
start-lib/end-lib should not be passed to ar. Fix how the libraries to link are passed to ar by not using the generic feature "libraries_to_link"
PiperOrigin-RevId: 184140734
|
|
|
|
|
|
| |
This is needed to migrate JavaCompileAction away from CustomMultiArgv.
PiperOrigin-RevId: 184136486
|
|
|
|
|
|
|
|
|
| |
..by the `build_file` parameter, even if the external repository contains a
top-level BUILD file. While there, also add a test verifying that this is
also possible via the `build_file_content`.
Change-Id: I1b875c147cfcd6f1c70b8efeb10c2b406eeacf6a
PiperOrigin-RevId: 184134041
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks on our CI Linux machines (but works on our work desktop Linux machines); apparently, even our own Linux machines are too different from each other...
Fixes #4557
*** Original change description ***
http_archive: verify that unicode characters are OK in tar archives
Add a test verifying that http_archive can extract a tar archive
containing unicode characters. While such files cannot be referred
to by labels, it is still important that the archive can be extracted.
Also fix that use case on Darwin, by appropriately reencoding the string,
so that the Files java standard library can encode it back to what we
had in the first place.
Work-around for #1653, showing that http_archive from @bazel_tools can
be used; however, the issue still remains for zip archives.
***
PiperOrigin-RevId: 184132385
|
|
|
|
|
|
|
|
| |
http_archive from @bazel_tools does know how to bring its own
BUILD file by now.
Change-Id: I9bbda6635f4459b77600e9ee6db3284f826d7931
PiperOrigin-RevId: 184129975
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 184127422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
Cherry picks:
+ f6ca78808722c8c119affdb33400838ee92d44b6:
isable_presubmit
+ 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
Fix StreamResourceLeak error
+ e5436745e1732f5e43fc55f0deb5b19e23ce8524:
windows: fix --symlink_prefix=/ throwing exception
+ 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
Fix turbine command lines with empty javacopts
+ 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
Remove EOL'd Linux flavours, bump CentOS to 6.9.
+ f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
Automated rollback of commit
2aeaeba66857c561dd6d63c79a213f1cabc3650d.
+ 860af5be10b6bad68144d9d2d34173e86b40268c:
Consolidate Error Prone resource handling
+ 2e631c99495f75270d2639542cefb531ec262d67:
sandbox: properly add `tmpDir` to `writablePaths`
+ 5bfa5844d0d16d71e88002956e88402bfec88ef7:
actions,temp: respect TMPDIR envvar
+ 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
sandbox: add env[TMPDIR] instead of `tmpDir`
+ 40c757f4ab90214f95935672532a495c4551490a:
Change git clone to pull all history, so all needed commits can
be accessed.
Incompatible changes:
- In order to access the template variables $(JAVA) and
$(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
to be added to the toolchains= attribute from now on.
- The ctx.middle_man function is not supported anymore.
- The flag --incompatible_list_plus_equals_inplace is removed, its
default behavior is preserved. += on lists now always mutates the
left hand
side.
- --android_sdk no longer supports filegroup targets.
- android_* rules no longer support legacy_native_support attribute.
New features:
- query: Add option --noproto:flatten_selects to turn off
flattening of selector lists in proto output.
- New android test rule, android_local_test.
Important changes:
- The --remote_rest_cache flag now respects --remote_timeout.
- --experimental_java_coverage is available for testing.
- The deprecated builtin `set` is no longer allowed even from within
unexecuted code in bzl files. It's temporarily possible to use
--incompatible_disallow_uncalled_set_constructor=false if this
change causes
incompatibility issues.
- Linkstamping is now a separate and full-blown CppCompileAction,
it's
no longer a part of linking command.
- Using `+`, `|` or `.union` on depsets is now deprecated. Please
use the new
constructor instead (see
https://docs.bazel.build/versions/master/skylark/depsets.html).
- config_feature_flag's default_value is optional. It is
only an error to have a config_feature_flag with no default_value
if that config_feature_flag has not been set in the configuration
it is being evaluated in.
- --[no]keep_incrementality_data is gone, replaced by the
enum-valued --incremental_state_retention_strategy
- Linkstamping is now a separate and full-blown CppCompileAction,
it's
no longer a part of linking command.
- Added --checkHashMismatch flag to ZipFilterAction. Valid values
are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
please use this flag instead.
- Set build jobs equivalent to number of logical processors by
default. Should improve build times significantly.
- Added --(no)expand_test_suites flag.
- Rename --keep_incrementality_data to --track_incremental_state
- --remote_rest_cache was renamed to --remote_http_cache. Both
options keep working in this release, but --remote_rest_cache
will be
removed in the next release.
- Aspects-on-aspect see and propagate over aspect attributes.
- --auth_* flags were renamed to --google_* flags. The old names
will continue to work for this release but will be removed in the
next
release.
- Remote Caching and Execution support output directories.
- Remove defunct flags
--experimental_incremental_dexing_for_lite_proto and
--experimental_incremental_dexing_error_on_missed_jars that have
long been enabled by default
- New version of aapt2 and Resources.proto.
- Make PIC and non PIC outputs for C++ compilation with Tree
Artifacts
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 184085861
|
|
|
|
|
|
|
| |
android_instrumentation_test.test_app
RELNOTES: None
PiperOrigin-RevId: 184063294
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the same mapFn class.
This code tries to add protection against the user creating new mapFn instances per-rule. This would cause the nested set cache to be computed per-rule instead of shared across rule instances, causing memory bloat and slowdowns.
Since this can only happen in native code, we can get away with detecting this and crashing blaze. I think this is a better choice than silently allowing it / falling back to slow computations.
The user can override this behaviour by inheriting from CommandLineItem.CapturingMapFn, in which case the user is explicitly saying they assume responsibility for the number of instances of the mapFn the application will use.
PiperOrigin-RevId: 184061642
|
|
|
|
|
|
| |
ConfiguredTargetQueryEnvironment. Follow up to https://github.com/bazelbuild/bazel/commit/426ab9067374bfe5af033e22153507c3f38e7221
PiperOrigin-RevId: 184049987
|
|
|
|
|
|
|
| |
ConfiguredTargetAndTarget instead of a ConfiguredTarget.
This is to assist in deprecating ConfiguredTarget.getTarget().
PiperOrigin-RevId: 184043491
|
|
|
|
| |
PiperOrigin-RevId: 184040834
|
|
|
|
| |
PiperOrigin-RevId: 184032456
|
|
|
|
|
|
|
|
| |
structField methods must not throw an exception in all cases.
Null fields were technically used for incomplete toolchain objects (such as the EMPTY_TOOLCHAIN_IS_ERROR object).
RELNOTES: None.
PiperOrigin-RevId: 184031908
|
|
|
|
|
|
|
| |
This allows writing Android testing rules that consume DeviceBrokerInfo.
RELNOTES: None
PiperOrigin-RevId: 184026202
|
| |
|
|
|
|
|
|
|
|
|
| |
Instead of using ConcurrentHashMap, we use a dead-simple open addressed hash hable with a giant byte array with 16-byte slots. We then read or write fingerprints straight into and out of the array, obviating the need to generate intermediate garbage.
Locking mechanism is a read-write lock. This should be faster than full synchronisation for read-heavy loads.
RELNOTES: None
PiperOrigin-RevId: 184019301
|
|
|
|
|
|
|
| |
Fixes #3735.
RELNOTES: java_common.compile supports neverlink
PiperOrigin-RevId: 184017410
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 184016150
|
|
|
|
|
|
|
| |
"context" object to be passed along. Also make some query internals public, for use in fancy QueryExpressionVisitor implementations.
RELNOTES: None
PiperOrigin-RevId: 184014063
|
|
|
|
|
|
| |
non-determinism in how the protos get bundled into the BundledProtos_X archives.
PiperOrigin-RevId: 184009755
|
|
|
|
| |
PiperOrigin-RevId: 183995676
|
|
|
|
| |
PiperOrigin-RevId: 183990860
|
|
|
|
| |
PiperOrigin-RevId: 183988206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a test verifying that http_archive can extract a tar archive
containing unicode characters. While such files cannot be referred
to by labels, it is still important that the archive can be extracted.
Also fix that use case on Darwin, by appropriately reencoding the string,
so that the Files java standard library can encode it back to what we
had in the first place.
Work-around for #1653, showing that http_archive from @bazel_tools can
be used; however, the issue still remains for zip archives.
Change-Id: If944203bf618c21705af676347d8591ab015d559
PiperOrigin-RevId: 183987726
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 183978326
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
This CL is breaking src/test/shell/bazel/srcs_test
https://ci.bazel.build/blue/organizations/jenkins/bazel-tests/detail/bazel-tests/1884/tests
Fix https://github.com/bazelbuild/bazel/issues/4548
*** Original change description ***
Verbatim, initial checkin of Kryo files for @AutoCodec Runtime.
PiperOrigin-RevId: 183977098
|
|
|
|
| |
PiperOrigin-RevId: 183904648
|
|
|
|
|
|
| |
null in AbstractPackageLoader and tests).
PiperOrigin-RevId: 183896826
|
|
|
|
|
|
| |
manager.
PiperOrigin-RevId: 183889147
|
|
|
|
|
|
| |
Scan takes 1-2s.
PiperOrigin-RevId: 183881368
|
|
|
|
|
|
|
| |
Part of #4442.
Change-Id: I44f52d4200f50af0281735fbba326dce5960e950
PiperOrigin-RevId: 183874104
|
|
|
|
|
|
| |
CppCompileAction smaller improves serialization.
PiperOrigin-RevId: 183871454
|
|
|
|
|
|
|
|
|
| |
ConfiguredTarget.getTarget().
Might have reduced performance because we're doing some more lookups in
the accessor now.
PiperOrigin-RevId: 183864924
|
|
|
|
| |
PiperOrigin-RevId: 183859414
|
|
|
|
|
|
|
|
|
| |
It is not compatible with multiple execution platforms.
Part of #4442.
Change-Id: I683beaae1624130352a6f02bae3f4dfff263ea00
PiperOrigin-RevId: 183855561
|
|
|
|
|
|
|
| |
Part of #4442.
Change-Id: Ia9c4403817d9c1e6497212712f96dbf6618138e9
PiperOrigin-RevId: 183855255
|
|
|
|
|
|
| |
It always set to the same value.
PiperOrigin-RevId: 183843518
|
|
|
|
|
|
|
|
|
| |
Fail fast if we are about extract the Bazel binary for version V into the predetermined install_base directory for version V'. This fixes Bazel's weakness to a race condition that puts it in a stable inconsistent state where all current and future attempts to use Bazel at version V will actually use V'. A rerun of the Bazel client will be able to successfully use version V'.
This race condition occurs when the Bazel binary is replaced after determine the install directory (via the install_base_key file in the Bazel zip) but before we extract the files in the zip into the directory.
RELNOTES: None
PiperOrigin-RevId: 183843099
|
|
|
|
| |
PiperOrigin-RevId: 183842057
|
|
|
|
| |
PiperOrigin-RevId: 183840991
|