aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/android/java/com/google/devtools/build/android/incrementaldeployment
Commit message (Collapse)AuthorAge
* Bazel server, tools: ensure Readers are closedGravatar laszlocsomor2018-07-09
| | | | | | | | | | | | | | | | | | | | Follow-up to commit 59f17d6e0550bf63a0b6ef182e2d63474e058ede. Use try-with-resources to ensure Reader objects are closed eagerly. Eagerly closing Readers avoids hanging on to file handles until the garbage collector finalizes the object, meaning Bazel on Windows (and other processes) can delete or mutate these files. Hopefully this avoids intermittent file deletion errors that sometimes occur on Windows. See https://github.com/bazelbuild/bazel/issues/5512 RELNOTES: none PiperOrigin-RevId: 203771262
* Remove mobile-install stub app targets from BUILD files.Gravatar Adam Michael2017-02-23
| | | | | | | | | | | These targets are unneeded and do not build without an android_sdk_repository set up. This issue was identified in https://github.com/bazelbuild/bazel/issues/2559. -- PiperOrigin-RevId: 148251416 MOS_MIGRATED_REVID=148251416
* Cleanup android rules and android tools so that my IDE stops complaining to me.Gravatar Adam Michael2017-01-25
| | | | | | -- PiperOrigin-RevId: 145569440 MOS_MIGRATED_REVID=145569440
* Updates stub application resource handling to work with Android N.Gravatar Alex Humesky2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118532668
* Make the stub application instantiate content providers with the right ↵Gravatar Lukacs Berki2015-12-15
| | | | | | | Application class. -- MOS_MIGRATED_REVID=110158926
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Minor usability fixes for the incremental deployment stub application:Gravatar Lukacs Berki2015-09-25
| | | | | | | | - Pass a File around for cacheDir instead of its String name. It was needlessly converted to String, which made the stub application fail if cacheDir was null (odd, but seems to happen) - Enhance a log message so that it contains more than zero information -- MOS_MIGRATED_REVID=103928940
* Use ApplicationInfo.dataDir instead of hardcoding "/data/data/<PACKAGE ↵Gravatar Lukacs Berki2015-09-11
| | | | | | | NAME>" in the stub application. -- MOS_MIGRATED_REVID=102733123
* Add an integration test for Android rules.Gravatar Lukacs Berki2015-09-03
| | | | | | | Currently only building them is tested, not running them or mobile-install, but it's still a good start. -- MOS_MIGRATED_REVID=102237496
* Fix fallout from []: it broke "blaze mobile-install" when no --native_lib ↵Gravatar Lukacs Berki2015-07-29
| | | | | | | arguments were passed to the install script. -- MOS_MIGRATED_REVID=99271033
* Make the stub application support incremental deployment of native libraries.Gravatar Lukacs Berki2015-07-29
| | | | | | | Care is taken so that this works without Bazel or the installer script supporting it so that the changes can be submitted separately. -- MOS_MIGRATED_REVID=99258564
* The final CL in getting Android support to work: add resources_processor.sh ↵Gravatar Lukacs Berki2015-06-30
| | | | | | | and aar_generator.sh to the tools directory and make stub applications proper android_library rules instead of stub filegroups. -- MOS_MIGRATED_REVID=97206853
* Get the code cache directory for stub application from the Context instead ↵Gravatar Lukacs Berki2015-05-11
| | | | | | | | | | | of hard-coding it and move the incremental deployment directory from /sdcard/incrementaldeployment to /data/local/tmp/incrementaldeployment. The first is necessary because if the app is not run under the default user profile (e.g. Android For Work), the default location is not writable, thus, sadness, the second is necessary because /sdcard is not accessible from the non-default profile. This also makes it possible to eventually install .so files there, because the +x bit can be set under /data/local/tmp (unlike under /sdcard). -- MOS_MIGRATED_REVID=93287264
* Fix Bazel integration tests.Gravatar Lukacs Berki2015-04-14
| | | | | -- MOS_MIGRATED_REVID=91082035
* Move the Android incremental deployment stub application to the Bazel tree.Gravatar Lukacs Berki2015-04-14
Note that the code in the Android source tree does not currently compile because Bazel does not make the Android classes available yet in any form. -- MOS_MIGRATED_REVID=91077712