| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 187185374
|
|
|
|
|
|
|
|
| |
flags by it.
RELNOTES: None.
PiperOrigin-RevId: 187075897
|
|
|
|
|
|
|
| |
This zip is the input to the resource shrinker, which currently sometimes chokes on databinding expressions. This should fix that.
RELNOTES: None
PiperOrigin-RevId: 187049578
|
|
|
|
|
|
|
| |
See https://github.com/bazelbuild/bazel/issues/4614 and https://github.com/bazelbuild/bazel/commit/bcefd9833cb5620fef8a27c37c2808a66b57c7e6.
RELNOTES: None
PiperOrigin-RevId: 187029042
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 186904092
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 186690865
|
|
|
|
|
|
|
|
| |
being desugared.
RELNOTES: None.
PiperOrigin-RevId: 186675372
|
|
|
|
|
|
|
|
|
| |
Because of limitations in Bazel (primarily, Filesets), we always need to filter
on density in execution. As such, remove the deprecated flag that was used to
specify densities that were stamped but not filtered.
RELNOTES: none
PiperOrigin-RevId: 186634496
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 186565673
|
|
|
|
|
|
|
|
| |
invokespecial invocations for core interfaces.
RELNOTES: None.
PiperOrigin-RevId: 186404206
|
|
|
|
|
|
|
|
| |
corresponding Proguard-style -keep rules
RELNOTES: None.
PiperOrigin-RevId: 186372769
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Unclassified general breakages in tests. Rolling back for further investigation.
*** Original change description ***
Normalized the serialization proto to save space and allow greater versatility in storage.
RELNOTES: None
PiperOrigin-RevId: 186057879
|
|
|
|
|
|
|
| |
versatility in storage.
RELNOTES: None
PiperOrigin-RevId: 186036607
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We run ResourceCompiler#visitFile once per resource file being compiled. If the
file has qualifiers aapt2 doesn't support (es-419 or sr-latn), we copy the file
into a new directory with corrected qualifiers. However, Files.createDirectory
fails if the folder already exists (because, for example, we just copied
another file).
Instead, use Files.createDirectories, which allows the folder to already exist.
RELNOTES: none
PiperOrigin-RevId: 185887192
|
|
|
|
|
|
|
|
| |
android desugaring
RELNOTES: None.
PiperOrigin-RevId: 185863194
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 185847904
|
|
|
|
|
| |
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
|