| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
RELNOTES:None
PiperOrigin-RevId: 185553306
|
|
|
|
|
|
|
| |
try-with-resources code segments
RELNOTES:None
PiperOrigin-RevId: 185536875
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 185535264
|
|
|
|
|
|
|
|
| |
- make Objects.requireNonNull and Long.compare rewrites compatible with --core_library
- apply those and try-with-resources rewrites to generated companion classes
RELNOTES: None.
PiperOrigin-RevId: 185262256
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 185218745
|
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 185082719
|
|
|
|
|
| |
RELNOTES:none
PiperOrigin-RevId: 185027580
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 184915177
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 184869773
|
|
|
|
|
|
|
|
| |
https://bugs.openjdk.java.net/browse/JDK-8066981
RELNOTES: None.
PiperOrigin-RevId: 184732576
|
|
|
|
|
|
|
|
|
|
|
|
| |
Filtering only in analysis was neglecting the possibility of resources being in
filesets, the contents of which are not available in analysis. As such, we must
*always* filter in execution, even though it's usually just going to be a
no-op.
Also, add some documentation of same.
RELNOTES: none
PiperOrigin-RevId: 184722564
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 184619885
|
|
|
|
|
|
|
|
|
| |
Aapt2ResourcePackagingAction
Ensure that the custom package is respected in aapt2. This only impact the srcjar, as the classes are generated via another method.
RELNOTES: None
PiperOrigin-RevId: 183260369
|
|
|
|
|
|
|
|
| |
Unfortunately, the getTag() function explicitly fails when it encounters a DTD
item, so we need to do a bit of custom handling instead.
RELNOTES: none
PiperOrigin-RevId: 182821046
|
|
|
|
|
|
|
|
| |
into output files one by one this mostly means that we can start writing the next file while the previous one is still finishing up, and can read and write in parallel.
RELNOTES: None.
PiperOrigin-RevId: 182570961
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 182110722
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 182099868
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.Deleted config_setting for --cpu=x64_windows_msys, because we don't build
Bazel with MSYS gcc anymore.
2.Deleted config_setting for --cpu=x64_windows_msvc, because it uses exactly
the same toolchain as --cpu=x64_windows, it'll be removed in the future.
This change reduces the complexity of our BUILD files and make them less
confusing.
Change-Id: I939831a6861413b0f745fb1be98aacd4fb780e0a
PiperOrigin-RevId: 181751853
|
|
|
|
|
| |
RELNOTES: none
PiperOrigin-RevId: 181506851
|
|
|
|
|
|
|
| |
attribute is on.
RELNOTES: none
PiperOrigin-RevId: 181503682
|
|
|
|
|
|
|
| |
Fixes #4414
Change-Id: I06eac192b5be84bd84190980fbcd05574e3a4439
PiperOrigin-RevId: 181465165
|
|
|
|
|
|
|
| |
folders for aapt2.
RELNOTES: none
PiperOrigin-RevId: 181226483
|
| |
|
|
|
|
|
|
|
|
|
| |
resource type should have a (public) close() method.
The old version requires the resource type implements AutoCloseable. When the classpath provided to Desugar has some problems, the resource type may not implement AutoCloseable, though it has the close() method.
RELNOTES:n/a.
PiperOrigin-RevId: 180950815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Roll forward, add updated Resources.proto.
Branch: pi-release
Repo: platform/frameworks/base
ID: 8552195d338da03df31ec188322ff30e2878d6d2
TAP Presubmit
[]
RELNOTES: New version of aapt2 and Resources.proto.
PiperOrigin-RevId: 180873128
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Newly discovered bugs indicate that density filtering in analysis does not
cover all cases. Filter in execution as a workaround for these cases. This will
let us turn resource filtering in analysis on and avoid these bugs. (I will
work on actually fixing these bugs in parallel.)
Non-density filtering already runs in execution, even when already filtering in
analysis, due to known limitations of filtering in analysis. (Specifically,
aapt filters more strictly than android_ide_common, and also needs the resource
filters passed anyway to generate pseudolocalized resources.)
RELNOTES: none
PiperOrigin-RevId: 180806206
|
|
|
|
|
|
|
| |
merge actions.
RELNOTES: none
PiperOrigin-RevId: 179695515
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 179425421
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke some cakemix tap projects
*** Original change description ***
Use assets from the APK for resource shrinking rather than from the merge actions.
RELNOTES: none
PiperOrigin-RevId: 179252805
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 179245378
|
|
|
|
|
|
|
| |
actions.
RELNOTES: none
PiperOrigin-RevId: 179227857
|
|
|
|
|
|
|
|
| |
happens during visit()
RELNOTES: None.
PiperOrigin-RevId: 179115377
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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: 178013335
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This will enable an easier transition from checked-in BUILD files to ones generated by copybara.
RELNOTES: None
PiperOrigin-RevId: 177514519
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 177460834
|
|
|
|
| |
PiperOrigin-RevId: 177261837
|
|
|
|
|
|
|
| |
SIPUSH and *CONST_*.
RELNOTES: None
PiperOrigin-RevId: 177149410
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 177049661
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 177048616
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 176700595
|