aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/java
Commit message (Collapse)AuthorAge
* Remove jopt-simple from third_partyGravatar Philipp Wollermann2018-07-26
|
* 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
* Delete old version of jarjarGravatar Liam Miller-Cushon2018-04-17
| | | | | | | | Follow-up to eec549fafc25d9c713d61bab228b086c0b18346b Change-Id: I100f657ec6ba641d09d70b08a1f748de62837d10 Closes #5029.
* Remove an obsolete prebuilt copy of javabuilderGravatar Liam Miller-Cushon2018-04-13
| | | | Change-Id: I25249e2f44e467d5902c5314b230766687691722
* Use the provided javac for host_javabase=9Gravatar Liam Miller-Cushon2018-03-28
| | | | | | See #3410, #4812 Change-Id: Idd4adad7d48899c3b6de635d417446b71ba44afa
* Add missing resources to jopt-simpleGravatar Liam Miller-Cushon2018-01-18
| | | | | | This was causing jarjar --help to crash. Change-Id: Ia8e654cf3f45225d00001a75b10d8a1a6d261401
* Update javac version to 9+181-r4173-1Gravatar Liam Miller-Cushon2018-01-18
| | | | Change-Id: I05fa85967317c4581081adfc620e24a7c6322669
* RemappingClassAdapter is deprecated, use ClassRemapper insteadGravatar Liam Miller-Cushon2018-01-04
| | | | Change-Id: I232828d44447ee66019ff0fedb5ebc18b2e7aee9
* Delete unused jarjar artifactGravatar Liam Miller-Cushon2018-01-04
| | | | | | Follow-up to 55828e256af4fe04e95f1c342a73d649d8525435. Change-Id: Ie765f0797e8b85c3c8cb7735f11e021912de3de5
* @AutoCodec features.Gravatar Googler2017-12-20
| | | | | | | * Adds PUBLIC_FIELDS strategy, which can be used to generate codecs for FragmentOptions. * Support for boolean, enum, Void, String and List types. PiperOrigin-RevId: 179636138
* Fix //third_party:srcs to include new jcommander library.Gravatar John Cater2017-10-30
| | | | Change-Id: I350632e39c5f704025fd3aa436295ee66c017364
* Add jcommander 1.48Gravatar Adam Michael2017-10-30
| | | | Change-Id: If56a17e5971c5947722b96740099dc262374cc36
* Add proguard 5.3.3 to third_party.Gravatar Adam Michael2017-10-05
| | | | | | | | | | See https://github.com/bazelbuild/bazel/issues/3777 The Android SDK provides a very old proguard and will be removing it soon, so we need to bundle our own. Change-Id: I054c54130bef1befc8591598768184fe23f76161 RELNOTES: None
* Remove some left over bits of Java 7 supportGravatar Liam Miller-Cushon2017-09-06
| | | | Change-Id: Id63d774cf9f5ce0a33ffc926f4160831e78aeba2
* Remove third_party/java/jopt-simple/src/{site,test}.Gravatar Philipp Wollermann2017-09-04
| | | | | | | | | They are unused and the tests depend on Joda Time which I'm going to remove. Also document the removal in the package's README.bazel.md. Change-Id: I7b0ee89718bfc2cffcc60a8262cf53dbf9035669
* Update javac version to 9-dev-r4023-3Gravatar Liam Miller-Cushon2017-08-22
| | | | | Change-Id: If9373f81193050009432759da6299f1382e587ec PiperOrigin-RevId: 165994437
* Delete unused buck iOS supportGravatar Peter Schmitt2017-08-14
| | | | Change-Id: I56592ed4e507389d329377436223716c00348869
* Fixes J2ObjC support. Adds a BUILD.tools and updates BUILD.remote withGravatar Keith Stanger2017-05-30
| | | | | | the necessary targets depended upon by J2ObjCAspect.java. Change-Id: I0a93378029707f0ebbda3a30b947519a385243f1
* Clean up aliases after javac upgradeGravatar Liam Miller-Cushon2017-05-11
| | | | Change-Id: Iec9ded10a3a3c9562897090fcb7a1c01119676f7
* Update javac version to 9-dev-r4023-2Gravatar Liam Miller-Cushon2017-05-10
| | | | | | Fixes #2979 Change-Id: I23e38767e18a90b2262a38bf8f4b347e06d1de8d
* Clean up javac and Error Prone targetsGravatar Liam Miller-Cushon2017-05-03
| | | | | | | | | | now that the upgrade is complete. The targets with suffixes were added to make a two-step migration possible. Now that the migration is done the suffix-less targets can provide the new versions, and the suffixed targets can be directed to the un-suffixed targets until they are removed. Change-Id: I5632b14924df6a83a23e3f564d483f4925f72d08
* Update databinding exec.jar to 2.3.1.Gravatar Adam Michael2017-04-24
| | | | | | https://github.com/bazelbuild/bazel/issues/2694 Change-Id: I33e1c1a6c1f1c4b31227eb26b0deed09525a7ec7
* Add javac9-4023-1 and Error Prone 2.0.20Gravatar Liam Miller-Cushon2017-04-20
| | | | | | This is the first part of a two-step migration to the new versions. Change-Id: I3835b3db386f43cd00ca0d68c7fd2a42c3f9714f
* Add a jarjar_bin binary in addition to jarjar_command so that we'llGravatar Lukacs T. Berki2017-04-20
| | | | | | | | eventually be able to fix Android builds. Progress on #2848. Change-Id: I3b96425c2f5a4708629882e730d4907abd1226a6
* Add the sources of jopt-simple to //third_party:srcs .Gravatar Lukacs T. Berki2017-04-18
| | | | Change-Id: I468ab58151a6e62fa9d5d640142c38cd8886737b
* Vendor jarjar instead of using a binary version of it.Gravatar Lukacs T. Berki2017-04-18
| | | | | | | | | | | | | | | It appears that jarjar is not actually used except for renaming classes in the coverage collecting Java test runner as verified by `find . -name BUILD | xargs grep jarjar` Yak shaving for #2820. This is necessary because the current version of jarjar does not work with Java 8 classes because it embeds a version of ASM that doesn't support that yet. Change-Id: I6ac59b84bbbc1e85fe8e7f4f4876b98fc6129df0
* Vendor `jopt-simple 5.0.3` .Gravatar Lukacs T. Berki2017-04-18
| | | | | | | | | This is necessary for vendoring jarjar, which is in turn necessary to get Java coverage collection to work again. Yak shaving for #2820. Change-Id: Idfd45e7322e0763fd316a4f67b1a048c93bf54ba
* Deleted unused stalled javac-9-dev binariesGravatar Damien Martin-Guillerez2017-04-04
| | | | Change-Id: If256f5fdf59862b6f2efe4fff1fbeccd2e87c414
* Remove "METADATA" file from bazel-srcs, unbreak Bazel's export pipeline.Gravatar Philipp Wollermann2017-03-28
| | | | | | -- PiperOrigin-RevId: 151453214 MOS_MIGRATED_REVID=151453214
* Description redacted.Gravatar Googler2017-03-28
| | | | | | -- PiperOrigin-RevId: 151383588 MOS_MIGRATED_REVID=151383588
* Update to latest javac and Error ProneGravatar Liam Miller-Cushon2017-03-02
| | | | | | Fixes #2591 Change-Id: I7038b71811c54d5ece1c0993052abdffc9d0de96
* Add javac-9-dev-r3297-3Gravatar Liam Miller-Cushon2017-02-22
| | | | | | https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip Change-Id: I78b073c8db4a525d19b73650ed8d3a12b10ff86a
* 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
* Revert "Add javac-9-dev-r3297-3"Gravatar Damien Martin-Guillerez2017-02-16
| | | | | | | This reverts commit efe4a6d889d6a6f563a1d492530f13351ce4eef7. This commit broke several downstream project with a bug in the Java compiler, see http://ci.bazel.io/job/intellij-clion/78/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/console
* Add javac-9-dev-r3297-3Gravatar Liam Miller-Cushon2017-02-16
| | | | | | https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip Change-Id: I173e50f92f93009270c84ba90916e2696501f4de
* 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
* Adds javapoetGravatar Yue Gan2016-12-22
|
* 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
* Remove broken and unused third party target.Gravatar Adam Michael2016-12-21
| | | | Change-Id: I15e4514ce50479c733242bdec0560fd2c81e9950
* Switch Bazel to use ResourceUsageAnalyzer.java instead of ResourceShrinker.java.Gravatar Andrew Pellegrini2016-12-19
| | | | | | -- PiperOrigin-RevId: 142484589 MOS_MIGRATED_REVID=142484589
* Pulls in two changes from github for the dd_plist library.Gravatar Dave MacLachlan2016-12-15
| | | | | | | | | | | | | | https://github.com/3breadt/dd-plist/commit/3fa1fa56c82df169e06079feb54ba281ad41cae6 which stabilizes the ordering of items in the plist and is equivalent to what happens in Apple's reference code. https://github.com/3breadt/dd-plist/commit/a5fb37384d4ca7a3b5039a7605ca0e9ca926a6ec which outputs ids in the plist equivalent to Apple's reference code. We still differ from Apple's code in that we de-dupe booleans, arrays, and dictionaries which produces smaller binaries. Via testing I have determined that the tooling that was having trouble with our "bad" plists, appears to be happy with our output if we continue our de-duping so I left it in there. Fixing it so that it was exactly equivalent to Apple's output would be a significantly larger engineering effort. -- PiperOrigin-RevId: 142166474 MOS_MIGRATED_REVID=142166474
* Update to javac9-r3297Gravatar Liam Miller-Cushon2016-12-08
| | | | | | -- PiperOrigin-RevId: 141396618 MOS_MIGRATED_REVID=141396618
* Remove BUILD files for checked in Android apksigner.Gravatar Adam Michael2016-12-07
| | | | | | | | We are no longer using the checked-in apksigner jar, instead we are now reading this JAR from the Android build tools. A follow-up change will remove the actual JAR. One small step towards making the Bazel binary smaller :) -- PiperOrigin-RevId: 141355143 MOS_MIGRATED_REVID=141355143
* Remove apksigner from Bazel.Gravatar Adam Michael2016-12-07
| | | | | | | | | We were using this JAR in the interim until it was released in the Android SDK build tools. As of build tools version 24.0.3, it is released and Bazel now uses that JAR. Change-Id: I927480153aa45b71d7fbde995f9deae99c759f86 RELNOTES: None