| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
- Argument mixes string and array. Use * or separate argument.
- Quote the grep pattern so the shell won't interpret it.
- Use "${var:?}" to ensure this never expands to /* .
- > is for string comparisons. Use -gt instead.
- Quote the parameter to -name so the shell won't interpret it.
Closes #4163.
PiperOrigin-RevId: 179042046
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 178952440
|
|
|
|
|
|
|
|
| |
Changes:
- Package names must contain at least one dot.
- XML files under res/values/ must have the extension ".xml".
- ARSC format updated.
PiperOrigin-RevId: 178952283
|
|
|
|
|
|
|
|
|
|
| |
This flag is set to true by default. If `--checkHashMismatch IGNORE` is passed, ZipFilterEntryFilter will filter duplicate files based on filenames and not do the check for different content hashes.
This is used for Android instrumentation tests: classes already in the target APK are removed from the instrumentation APK to prevent runtime crashes in ART.
GITHUB: #903
RELNOTES: Added --checkHashMismatch flag to ZipFilterAction. Valid values are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated, please use this flag instead.
PiperOrigin-RevId: 178787292
|
|
|
|
|
|
|
|
|
|
|
| |
local local variables), the current implementation deletes n local slots, which is wrong when the local variable to delete is of type category 2.
This CL deletes local variables instead of local slots.
Another change is using the Label objects to identify uninitialized values, instead of the offsets of labels, because the offsets of labels might not be computed.
RELNOTES:n/a.
PiperOrigin-RevId: 178762969
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To reproduce: run a failing test with --experimental_remote_spawn_cache or with --spawn_strategy=remote and no executor. Expected: test log is uploaded.
Desired behavior:
- regardless of whether a spawn is cacheable or not, its artifacts should be uploaded to the remote cache.
- the spawn result should only be set if the spawn is cacheable *and* the action succeeded.
- when executing remotely, the do_not_cache field should be set for non-cacheable spawns, and the remote execution engine should respect it.
This CL contains multiple fixes to ensure the above behaviors, and adds a few tests, both end to end and unit tests. Important behavior change: it is no longer assumed that non-cacheable spawns should use a NO_CACHE SpawnCache! The appropriate test case was removed. Instead, an assumption was added that all implementations of SpawnCache should respect the Spawns.mayBeCached(spawn) property. Currently, only NO_CACHE and RemoteSpawnCache exist, and they (now) support it.
TESTED=remote build execution backend.
WANT_LGTM: philwo,buchgr
RELNOTES: None
PiperOrigin-RevId: 178617937
|
|
|
|
|
|
|
|
|
|
| |
Make sure the actual binary recieves exactly the same argument passed to
Windows exe launcher.
Fixed https://github.com/bazelbuild/bazel/issues/4001
Change-Id: I5db2d7c2f78de8865abc04a2d5b65d69685d43db
PiperOrigin-RevId: 178610493
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 178369060
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, aapt2 always gets all resources, even the filtered ones. As such,
always do density filtering, even if input to aapt2 says we don't have to.
We don't need to worry about not passing resource configuration filtering
information - it's already passed to aapt and aapt2 (since aapt is stricter
than the resource filtering in android_ide_common that is used to filter in
analysis, and also needs resource configuration filters to generate
pseudolocalized resources).
RELNOTES: none
PiperOrigin-RevId: 178282329
|
|
|
|
|
|
|
|
| |
../ziputils/DexMapper.
RELNOTES: None.
PiperOrigin-RevId: 178153254
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 178134833
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 178099410
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 178013335
|
|
|
|
|
|
|
|
| |
This is because I want to add another remote execution related tool, the remote_client, which will use the Remote Execution API to fetch blobs from a remote cache. I will use this tool as part of end-to-end tests for remote execution.
TESTED=remote integration tests, presubmit
RELNOTES: None
PiperOrigin-RevId: 177995895
|
|
|
|
|
| |
TESTED=ran with SHA1 and SHA256
PiperOrigin-RevId: 177925963
|
|
|
|
|
|
| |
RELNOTES:None.
PiperOrigin-RevId: 177875613
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A few of the InferredType's fields were being static imported, but not all of them, and the use of the statically imported fields was inconsistent. Statically importing the inner class causes strange errors when building desugar in the Android platform build with OpenJDK8, but not OpenJDK9:
external/desugar/java/com/google/devtools/build/android/desugar/BytecodeTypeInference.java:1015: error: cannot find symbol
@AutoValue
^
symbol: class AutoValue
location: class BytecodeTypeInference
1 error
Remove the static imports to make the build work and to make the usage consistent.
RELNOTES:None.
PiperOrigin-RevId: 177875501
|
|
|
|
|
|
|
| |
RELNOTES: Bazel's default hash function was changed from MD5 to SHA256.
In particular, this affects users of remote caching and execution, as
all hashes will be SHA256 by default.
PiperOrigin-RevId: 177740702
|
|
|
|
|
|
|
| |
This will enable an easier transition from checked-in BUILD files to ones generated by copybara.
RELNOTES: None
PiperOrigin-RevId: 177514519
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor the FileSystem class to include the hash function as an
instance field. This allows us to have a different hash function
per FileSystem and removes technical debt, as currently that's
somewhat accomplished by a horrible hack that has a static method
to set the hash function for all FileSystem instances.
The FileSystem's default hash function remains MD5.
RELNOTES: None
PiperOrigin-RevId: 177479772
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 177460834
|
|
|
|
|
|
|
| |
Also, minor fix for the += operator check.
RELNOTES: None.
PiperOrigin-RevId: 177444203
|
|
|
|
|
|
|
|
| |
see #4023
Closes #4051.
PiperOrigin-RevId: 177279457
|
|
|
|
| |
PiperOrigin-RevId: 177261837
|
|
|
|
|
|
|
| |
SIPUSH and *CONST_*.
RELNOTES: None
PiperOrigin-RevId: 177149410
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 177049661
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 177048616
|
|
|
|
|
|
|
| |
Split missing-docstring into missing-module-docstring and missing-function-docstring.
RELNOTES: None.
PiperOrigin-RevId: 176993716
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 176899549
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 176700595
|
|
|
|
|
|
|
|
| |
This will instruct AAPT2 to produce conditional keep rules to allow for more aggressive code and resource shrinking.
RELNOTES[NEW]: Add --experimental_android_resource_cycle_shrinking option to allow for more aggressive code and resource shrinking.
PiperOrigin-RevId: 176530749
|
|
|
|
|
|
|
|
|
| |
Since src/tools/launcher is Windows specific, it doesn't actually work
on Linux. Here we select a dummy source file for cc targets non-Windows
platform.
Change-Id: I9a6550ea23a3656ad72cb46b9652f154e2fbf44f
PiperOrigin-RevId: 176350180
|
|
|
|
|
|
|
| |
than parsed resources.
RELNOTES: none
PiperOrigin-RevId: 175965731
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 175858467
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 175857533
|
|
|
|
|
|
|
|
|
|
|
| |
does not depend on AutoCloseable, as it is not available before API 19.
This CL includes the following:
1. A type inference algorithm based on ASM. It relies on the stack map frames to compute type information at the entry of basic blocks.
2. The type inference is used to infer the types of the resources to be closed. Then for each concrete resource type, we specialize the synthetic $closeResource method to $closeResource(Throwable, <concrete resource type>).
RELNOTES: None
PiperOrigin-RevId: 175731437
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 175613518
|
|
|
|
|
|
|
| |
GITHUB: #903
RELNOTES: None.
PiperOrigin-RevId: 175600267
|
|
|
|
|
|
|
|
| |
DexFileMerger tool
RELNOTES: None.
PiperOrigin-RevId: 175082253
|
|
|
|
|
|
|
|
| |
Blaze had its own class to avoid GC from varargs array creation for the precondition happy path. Guava now (mostly) implements these, making it unnecessary to maintain our own.
This change was almost entirely automated by search-and-replace. A few BUILD files needed fixing up since I removed an export of preconditions from lib:util, which was all done by add_deps. There was one incorrect usage of Preconditions that was caught by error prone (which checks Guava's version of Preconditions) that I had to change manually.
PiperOrigin-RevId: 175033526
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 175033155
|
|
|
|
|
|
|
| |
While at it, I added a flag "--single-file" that turns on single file mode. In this mode, only the specified file will be read (there is no dependency analysis).
RELNOTES: none
PiperOrigin-RevId: 174888506
|
|
|
|
|
|
|
| |
TerminationStatus, and also add a TerminationStatus.Builder and tests.
RELNOTES: None.
PiperOrigin-RevId: 174557303
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 174502289
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 174485947
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 174479316
|
|
|
|
|
|
| |
This is no longer maintained and the CI is turned down.
PiperOrigin-RevId: 174456265
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 174330237
|
|
|
|
|
|
|
| |
quotes
RELNOTES: None
PiperOrigin-RevId: 174319420
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 174318660
|