| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Expose methods to enable shrinking resources via aapt2 proto.
Change-Id: I2379c81ea3573ac2314f0d3e8d638b53028f7949
|
|
|
|
|
|
|
|
| |
start with 'style/' instead of the more strict '@style/'. AAPT will handle either format, so the resource shrinker should as well to prevent build failures that only occur when shrinking.
--
PiperOrigin-RevId: 147849301
MOS_MIGRATED_REVID=147849301
|
|
|
|
|
|
|
|
| |
Gradle version in that it removes values resources instead of only minifying them.
--
PiperOrigin-RevId: 146124871
MOS_MIGRATED_REVID=146124871
|
|
|
|
|
|
|
|
| |
if other resources from that file were still used. Now the file will only be removed if the corresponding whole file resource is unused (e.g. res/layout/main.xml will be removed only if the resource layout/main is unused). Remove fix that treated id declarations as usages that was a workaround for the above problem.
--
PiperOrigin-RevId: 145301178
MOS_MIGRATED_REVID=145301178
|
|
|
|
|
|
|
|
|
|
| |
behavior in the extended class owned by ResourceUsageAnalyzer. This makes the fix available to both Blaze and Bazel, since Bazel uses the AOSP released version of the com.tools.android.lint library, which contains ResourceUsageModel, instead of the source version available in [].
This change is based on the upstream patch [] and will be removed when the patch is included in the packaged version released with Bazel.
--
PiperOrigin-RevId: 144355049
MOS_MIGRATED_REVID=144355049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
public Gradle source. This version includes:
- support for tools attributes (whitelist)
- analysis of non-xml text files for resource references
- better obfuscation handling
- bug fixes
NEW: switching to 'strict' resource usage analysis as default.
https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
--
PiperOrigin-RevId: 143700078
MOS_MIGRATED_REVID=143700078
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Causing unexpected significant increases in apk size.
*** Original change description ***
Update depot version of ResourceUsageAnalyzer.java from the public Gradle source. This version includes:
- support for tools attributes (whitelist)
- analysis of non-xml text files for resource references
- better obfuscation handling
- bug fixes
https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
--
PiperOrigin-RevId: 142780988
MOS_MIGRATED_REVID=142780988
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
source. This version includes:
- support for tools attributes (whitelist)
- analysis of non-xml text files for resource references
- better obfuscation handling
- bug fixes
https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
--
PiperOrigin-RevId: 142772328
MOS_MIGRATED_REVID=142772328
|
|
|
|
|
|
| |
Commit 6d31cb was an internal reorganization of google repository
that should have resulted in no change. Due to a bug in our export
process it deleted several files in third_party.
|
|
|
|
|
| |
PiperOrigin-RevId: 142666783
MOS_MIGRATED_REVID=142666783
|
|
--
PiperOrigin-RevId: 142484589
MOS_MIGRATED_REVID=142484589
|