aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/android
Commit message (Collapse)AuthorAge
* The <use-permission-sdk-23> tag is not merged into final manifestGravatar Googler2015-10-12
| | | | | | | | Now in the android_manifest_merge rule, the newly introduced <use-permission-sdk-23> tag is not merged. -- MOS_MIGRATED_REVID=105104945
* Allow Java libraries to export and propagate proguard_specs.Gravatar Michael Staib2015-10-06
| | | | | | | | | | | | | | | It may be the case that a library used by Java clients is also used by Android clients, but when used for the latter, it requires a particular Proguard configuration. This change modifies Java library rules to accept Proguard specs and pass them up to Android rules. Note that this does not cause Proguard to be used on normal Java binaries. RELNOTES[NEW]: java_library now supports the proguard_specs attribute for passing Proguard configuration up to Android (not Java) binaries. -- MOS_MIGRATED_REVID=104661799
* Replace 'Google Inc' by the 'Bazel Authors'Gravatar Damien Martin-Guillerez2015-09-30
| | | | | | | | | | This is the new conventions for Copyrights line and some were missed in the previous change. Generated by: find -type f -exec sed -i -E 's/Copyright 201([54]) Google Inc/Copyright 201\1 The Bazel Authors/' '{}' ';' -- MOS_MIGRATED_REVID=104189975
* Refactors proguard_whitelister.Gravatar Alex Humesky2015-09-30
| | | | | -- MOS_MIGRATED_REVID=104150148
* Add Android IDL jar outputs.Gravatar Googler2015-09-28
| | | | | | | | | | These outputs are a jar and source jar for the results of aidl processing. This is used to add aidl output to IDEs separate from the source code, similar to annotation output (gen jars). -- MOS_MIGRATED_REVID=104024453
* 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
* Improve error message for INSTALL_FAILED_OLDER_SDK from adb.Gravatar Alex Humesky2015-09-22
| | | | | | | Clean up some tests. -- MOS_MIGRATED_REVID=103600539
* Make --split_apk mobile-install work with a pristine device.Gravatar Lukacs Berki2015-09-15
| | | | | -- MOS_MIGRATED_REVID=103068396
* Make android_binary use a constant, hard-coded, checked-in debug key. Gravatar Lukacs Berki2015-09-04
| | | | | | | This is because apkbuilder uses $HOME/.android/debug.keystore by default, which does not exist when running within the sandbox, thus, it always generates a new debug key, and thus, "adb install -r" doesn't work. -- MOS_MIGRATED_REVID=102331570
* Fix the name of the android tools dependenciesGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | Fixes #419. -- MOS_MIGRATED_REVID=102248331
* Require an android_local_tools_repository stanza in the WORKSPACE file so ↵Gravatar Lukacs Berki2015-08-26
| | | | | | | | | | | | | | | that Bazel finds Android tools and update the tools themselves to handle their new location. This paves the way for eventually referencing every tool this way. We have to figure out if android_http_tools_repository is the right way to distribute the Android tools, but now that we don't have a binary distribution yet, it's not an immediate problem. This will break existing users of Android support in Bazel, whom I'll inform over bazel-discuss. Fixes #384. -- MOS_MIGRATED_REVID=101456190
* Make the installer script support incremental installation with split .apks ↵Gravatar Lukacs Berki2015-08-20
| | | | | | | | | (only for devices with Android M). Until now, we always reinstalled every split .apk. It was simple, but also not very fast. -- MOS_MIGRATED_REVID=101120400
* Upload libraries for an alternative ABI if the native ABI of the device is ↵Gravatar Lukacs Berki2015-08-20
| | | | | | | not supported in the app to be installed. -- MOS_MIGRATED_REVID=101004548
* Clean up some code in incremental_install.py .Gravatar Lukacs Berki2015-08-14
| | | | | -- MOS_MIGRATED_REVID=100655790
* Add glue logic to make the dex_shards attribute of android_binary work in Bazel.Gravatar Lukacs Berki2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99567637
* Add "warm" starting to mobile-install.Gravatar Googler2015-08-04
| | | | | | | | | | | | | | | | | | This introduces a new way to stop applications when deploying incremental changes that saves the current app state for the next run. This allows things like the back stack, and View/Fragment/Activity saved state to be restored when the app next launches, making it easier to quickly iterate on code changes. It adds a "--start" flag to mobile-install that replaces "--start_app". --start accepts an argument describing the mode: no, cold, or warm. "no" is now the equivalent of "--nostart_app", "cold" is the equivalent of "--start_app", and "warm" is the new start mode. Note that this is only useful with incremental installs, as Android clears out any previously saved state when an APK is replaced. -- MOS_MIGRATED_REVID=99508790
* Always re-install all native libraries on non-incremental installations.Gravatar Lukacs Berki2015-07-30
| | | | | | | This makes things a bit more robust. -- MOS_MIGRATED_REVID=99464712
* Make the Android incremental installer script support incrementally ↵Gravatar Lukacs Berki2015-07-29
| | | | | | | installing native libraries. -- MOS_MIGRATED_REVID=99257598
* Make //src/test/shell:bazel_test work again.Gravatar Lukacs Berki2015-06-30
| | | | | | | This stubs out all Android support, but that's okay, because in order to test Android stuff, we need a way to get the NDK and the SDK somehow, which we don't know yet how to do. -- MOS_MIGRATED_REVID=97222940
* 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
* Open source AarGeneratorAction and AndroidResourceProcessingAction.Gravatar Andrew Pellegrini2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96883818
* Add a tools/android/jack package to the Bazel tree so that Android rules ↵Gravatar Lukacs Berki2015-06-17
| | | | | | | | | actually work. This is a temporary measure until these targets are integrated into android_sdk . Also make handling invalid tools/android/jack packages in JackCompilationHelper a bit more robust. -- MOS_MIGRATED_REVID=96202009
* This CL adds the android_binary rule to Bazel. Gravatar Lukacs Berki2015-06-16
| | | | | | | Note that despite the rule being present, Android support is still not functional: two tools (//tools/android:{aar_generator,resources_processor} are still missing (and are a-coming!) -- MOS_MIGRATED_REVID=96099045
* Various odds and ends in preparation for adding the Android rules to ↵Gravatar Lukacs Berki2015-06-12
| | | | | | | | | | | | BazelRuleClassProvider: - Add stub targets to tools/android/BUILD - Make Constants.ANDROID_DEFAULT_SDK non-constant so that the classfile can be replaced in the .jar - Make AndroidTools complain if --android_sdk does not point to an android_sdk rule. - Make the default visibility in the BUILD file generated by android_sdk_repository public -- MOS_MIGRATED_REVID=95816158
* Change the way --flagfile is implemented.Gravatar Lukacs Berki2015-06-11
| | | | | | | | | I noticed this while testing --split_apk: sometimes APKs would be duplicated on the command line, and simply removing "argv" from "FLAGS(sys.argv + [line.strip()...)" in line 558 would sometimes cause a --adb_arg argument to be lost. This seems to work for all cases. -- MOS_MIGRATED_REVID=95715369
* Adds tools for building Android apps.Gravatar Alex Humesky2015-05-27
| | | | | -- MOS_MIGRATED_REVID=94515805
* Adds tools for installing Android apps.Gravatar Alex Humesky2015-05-22
-- MOS_MIGRATED_REVID=94198797