aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/java/aosp_gradle_core
Commit message (Collapse)AuthorAge
* Update the ResourceUsageAnalyzer with the latest bug fixes.Gravatar corysmith@google.com2018-07-19
| | | | | | Expose methods to enable shrinking resources via aapt2 proto. Change-Id: I2379c81ea3573ac2314f0d3e8d638b53028f7949
* Make resource shrinking able to handle style resource parent references that ↵Gravatar Andrew Pellegrini2017-02-20
| | | | | | | | 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
* Update documentation to note that the shrinker behavior differs from the ↵Gravatar Andrew Pellegrini2017-02-01
| | | | | | | | Gradle version in that it removes values resources instead of only minifying them. -- PiperOrigin-RevId: 146124871 MOS_MIGRATED_REVID=146124871
* Fix unused resources declared in a file from removing the entire file even ↵Gravatar Andrew Pellegrini2017-01-23
| | | | | | | | 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
* Fix ResourceUsageModel analysis of <style> resource bugs by overriding this ↵Gravatar Andrew Pellegrini2017-01-13
| | | | | | | | | | 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
* Rollforward: Update depot version of ResourceUsageAnalyzer.java from the ↵Gravatar Andrew Pellegrini2017-01-06
| | | | | | | | | | | | | | | | | 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
* Rollback of commit 1a592765f3fc116ac5c83b80784dcf0c043ccb5e.Gravatar Andrew Pellegrini2016-12-23
| | | | | | | | | | | | | | | | | | | | *** 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
* Update depot version of ResourceUsageAnalyzer.java from the public Gradle ↵Gravatar Andrew Pellegrini2016-12-23
| | | | | | | | | | | | | | | 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
* Revert commit 6d31cb01b80d0560c0c083d40e641816877b3d06.Gravatar Damien Martin-Guillerez2016-12-21
| | | | | | 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.
* --Gravatar Damien Martin-Guillerez2016-12-21
| | | | | PiperOrigin-RevId: 142666783 MOS_MIGRATED_REVID=142666783
* Switch Bazel to use ResourceUsageAnalyzer.java instead of ResourceShrinker.java.Gravatar Andrew Pellegrini2016-12-19
-- PiperOrigin-RevId: 142484589 MOS_MIGRATED_REVID=142484589