aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/android
Commit message (Collapse)AuthorAge
* Enable aapt2 packaging action to use compiled resources for merging rather ↵Gravatar Googler2017-11-16
| | | | | | | than parsed resources. RELNOTES: none PiperOrigin-RevId: 175965731
* Create merge action and data deserializer for aapt2 compiled resources.Gravatar Googler2017-11-15
| | | | | RELNOTES: None PiperOrigin-RevId: 175858467
* Add configuration filters to the aapt2 packaging step.Gravatar corysmith2017-11-15
| | | | | RELNOTES: None PiperOrigin-RevId: 175857533
* Specialize $closeResource(Throwable, AutoCloseable) so that desugared code ↵Gravatar cnsun2017-11-14
| | | | | | | | | | | does not depend on AutoCloseable, as it is not available before API 19. This CL includes the following: 1. A type inference algorithm based on ASM. It relies on the stack map frames to compute type information at the entry of basic blocks. 2. The type inference is used to infer the types of the resources to be closed. Then for each concrete resource type, we specialize the synthetic $closeResource method to $closeResource(Throwable, <concrete resource type>). RELNOTES: None PiperOrigin-RevId: 175731437
* Fix EnclosingMethod attribute when moving interface methods to companion classGravatar kmb2017-11-13
| | | | | | RELNOTES: None. PiperOrigin-RevId: 175613518
* Open source ZipFilterBuilder for android_instrumentation_testGravatar jingwen2017-11-13
| | | | | | | GITHUB: #903 RELNOTES: None. PiperOrigin-RevId: 175600267
* Support multiple (disjoint) inputs and add --multidex=given_shard flag to ↵Gravatar kmb2017-11-09
| | | | | | | | DexFileMerger tool RELNOTES: None. PiperOrigin-RevId: 175082253
* Fix resource shrinking to filter densities and include assets.Gravatar corysmith2017-11-09
| | | | | RELNOTES: None PiperOrigin-RevId: 175033155
* Automated rollback of commit 3181c2f1362622985aca24747ed9512573d25dc0.Gravatar corysmith2017-11-06
| | | | | RELNOTES: None PiperOrigin-RevId: 174502289
* Simplify the merge code, and fix a few incorrectly declared tests.Gravatar corysmith2017-11-06
| | | | | RELNOTES: None PiperOrigin-RevId: 174485947
* Force DexMapper (aka shuffle_jars) tool to partition large packages into ↵Gravatar kmb2017-11-01
| | | | | | | | multiple shards. Also fix some weirdnesses with how shard assignments were recorded. RELNOTES: None. PiperOrigin-RevId: 174095450
* Open source ZipFilterAction for use in Android testing.Gravatar ajmichael2017-11-01
| | | | | | | https://github.com/bazelbuild/bazel/issues/903 RELNOTES: None PiperOrigin-RevId: 174079202
* Internal changeGravatar kmb2017-10-26
| | | | PiperOrigin-RevId: 173451767
* Record dependencies when directly calling moved interface methods.Gravatar kmb2017-10-24
| | | | | | RELNOTES: None. PiperOrigin-RevId: 173154512
* Internal changeGravatar dslomov2017-10-23
| | | | PiperOrigin-RevId: 173113101
* standalone tool to split dex archives into shards to merge.Gravatar kmb2017-10-20
| | | | | | | factor out dex file limit tracking into shared helper class. RELNOTES: None. PiperOrigin-RevId: 172826493
* Change the KeyValueConsumer to extend BiConsumer for improved consumer usage.Gravatar corysmith2017-10-20
| | | | | RELNOTES: None PiperOrigin-RevId: 172754760
* Add directory entries to the resource_files.zip because robolectric relies ↵Gravatar dannark2017-10-18
| | | | | | | on this to properly index the merged resources and assets. RELNOTES:None PiperOrigin-RevId: 172615228
* Don't reference static method from instance variable.Gravatar dannark2017-10-18
| | | | | RELNOTES: None PiperOrigin-RevId: 172597986
* Migrate all users of OptionsParser.enableParamsFileSupport to use the ↵Gravatar apell2017-10-18
| | | | | | | ShellQuotedParamsFilePreProcessor. This covers all of the tools packaged in the ResourceProcessorBusyBox. RELNOTES: None. PiperOrigin-RevId: 172485486
* Remove the implicit requirement of core_library.Gravatar ccalvarin2017-10-12
| | | | | | | The semantics of implicit requirements will soon change to adding the requirements in-place in the command line. This particular implicit requirement was not necessary. RELNOTES: None. PiperOrigin-RevId: 171841036
* Support --forceJumbo flag with incremental dexingGravatar kmb2017-10-10
| | | | PiperOrigin-RevId: 171622639
* Do not rewrite static interface method invocations from bootclasspathGravatar Googler2017-10-07
| | | | | RELNOTES: n/a PiperOrigin-RevId: 171344856
* Only make files writable before processing on Windows.Gravatar ajmichael2017-10-06
| | | | | | | | | Prior to https://github.com/bazelbuild/bazel/commit/560b0ae4701dd2084160c45bb772396535b31f47, this was only done on Windows. This is super slow on mac for libraries with thousands of resources. RELNOTES: None PiperOrigin-RevId: 170964688
* Fix the R.txt to generate a transitive closure instead of the current resources.Gravatar corysmith2017-10-06
| | | | | RELNOTES: None PiperOrigin-RevId: 170886429
* add flags to desugar to emit metadata that can be used for double-checking ↵Gravatar kmb2017-10-06
| | | | | | | | correctness of default and static interface desugaring. RELNOTES: none PiperOrigin-RevId: 170779637
* Fix aapt2 actions to use the compiled intermediate resource files for ↵Gravatar Googler2017-10-02
| | | | | | | linking. Also include assets in the aapt2 packaging action. RELNOTES: none PiperOrigin-RevId: 170532322
* Support --positions flag in DexBuilder, for consistency with dxGravatar kmb2017-09-29
| | | | | | RELNOTES: none PiperOrigin-RevId: 170379445
* remove ignored dexing options from DexFileMerger command line.Gravatar kmb2017-09-29
| | | | | | RELNOTES: none PiperOrigin-RevId: 170367344
* expect desugar metadata in conventional META-INF directory used by jar toolGravatar kmb2017-09-27
| | | | | | RELNOTES: none PiperOrigin-RevId: 170121935
* Action for resource shrinking with aapt2Gravatar corysmith2017-09-22
| | | | | | | Introduces the ResourcesZip class to more easily handle processing merged resources. RELNOTES: None PiperOrigin-RevId: 169622715
* PiperOrigin-RevId: 169563607Gravatar kmb2017-09-22
|
* Remove warning about multiple options in copts.Gravatar Joe Finney2017-09-15
| | | | | | | | | Fixes #3526 Closes #3725. Change-Id: Ice068542e574661f9dff199f88a1e56fea191de3 PiperOrigin-RevId: 168720424
* Open source tests for Android desugarer.Gravatar ajmichael2017-09-14
| | | | | | | These tests will fail with a helpful error message if you do not have android_sdk_repository set up. They currently require that platform 25 be installed in your SDK. RELNOTES: None PiperOrigin-RevId: 168570577
* Support for local_resource_files in android_testGravatar Googler2017-09-13
| | | | | RELNOTES: none PiperOrigin-RevId: 168444499
* Add multiple density processing to aapt2 using the optimize command.Gravatar corysmith2017-09-12
| | | | | RELNOTES: None PiperOrigin-RevId: 168259422
* Add Profiler for recording task execution time.Gravatar corysmith2017-09-12
| | | | | RELNOTES: None PiperOrigin-RevId: 168246856
* Remove debug outputGravatar Googler2017-09-06
| | | | | | | This was displayed to the user during the build, which could result in a lot of extra log data. RELNOTES: None. PiperOrigin-RevId: 167641446
* fix for legacy jacoco instrumentation in interfaces behind flagGravatar kmb2017-09-06
| | | | | | RELNOTES: n/a PiperOrigin-RevId: 167619442
* PiperOrigin-RevId: 167167400Gravatar kmb2017-09-01
|
* Changed Android manifest merger build action to also resolve relative class ↵Gravatar Googler2017-09-01
| | | | | | | names in manifest files for Android libraries. RELNOTES: none PiperOrigin-RevId: 167147373
* Add a closeResource(Throwable throwable, Object resource) in the runtimeGravatar cnsun2017-08-31
| | | | | | | | | library. Javac9 generates a helper method $closeResource(Throwable, AutoCloseable) sometimes for try-with-resources. Now we rewrite the call to call our version to avoid the dependency on AutoCloseable. RELNOTES: None PiperOrigin-RevId: 167025276
* Allow to overwrite default dex prefix name 'classes'.Gravatar Googler2017-08-31
| | | | | RELNOTES: none PiperOrigin-RevId: 167020968
* Make classJarOutput of AndroidResourceMergingAction read package from manifestGravatar ajmichael2017-08-30
| | | | | | | if --packageForR is not specified. RELNOTES: None PiperOrigin-RevId: 166923102
* Add support for the <type>/<package>:<name> method of declaring resources.Gravatar corysmith2017-08-30
| | | | | RELNOTES: None PiperOrigin-RevId: 166899690
* Save density information to manifests when filtering resources in analysisGravatar Googler2017-08-30
| | | | | | | | | | | Previously, when filtering in analysis, density information was not passed to execution to avoid wasting time on re-filtering. However, that density information was also used to add information to the manifest. Add an additional flag to save density information to the manifest without triggering resource filtering in execution, and use it when filtering in analysis. RELNOTES: None PiperOrigin-RevId: 166891827
* Rollforward of ↵Gravatar apell2017-08-29
| | | | | | | | | https://github.com/bazelbuild/bazel/commit/0071b396776be4d146fd271499716dd5dea6f7e9: Enable parameter files for manifest merger actions. NEW: Using shell quoted param files and unescape arguments in ParamsFilePreProcessor to avoid miss-processing --manifestValues arguments containing whitespace. RELNOTES: None. PiperOrigin-RevId: 166858411
* Add missing action to processor busy boxGravatar corysmith2017-08-25
| | | | | | RELNOTES: None PiperOrigin-RevId: 166402585
* Typo fix: prosess -> processGravatar jingwen2017-08-25
| | | | | RELNOTES: None. PiperOrigin-RevId: 166385930
* Enable using a parameter for large lists of resources to link.Gravatar corysmith2017-08-25
| | | | | RELNOTES: None PiperOrigin-RevId: 166379334