Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Issue 13269002: Allow the build to install apks (Closed)

Created:
7 years, 9 months ago by cjhopman
Modified:
7 years, 8 months ago
Reviewers:
Yaron
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Allow the build to install apks Add a gyp variable "android_managed_install" which defaults to off/0. When this variable is 1, building an apk target will install that target. This will allow us to do crazy things with the install like pushing native libraries independent from the apk they belong to. This currently just does an "adb install -r <(apk_path)". I.e. it only works for (the typical) single device attached workflow. This could be made configurable to handle other cases (or maybe just install to all devices attached, or just to the first device). BUG=158821 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191840

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Patch Set 3 : android_managed_install --> gyp_managed_install #

Patch Set 4 : Rebase #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -1 line) Patch
A build/android/gyp/apk_install.py View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
M build/common.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 3 chunks +25 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
cjhopman
7 years, 9 months ago (2013-03-29 00:13:32 UTC) #1
Yaron
Rename "android_managed_apk_install"? https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py File build/android/apk_install.py (right): https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py#newcode22 build/android/apk_install.py:22: install_cmd = [ This only supports one ...
7 years, 9 months ago (2013-03-29 00:30:29 UTC) #2
cjhopman
https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py File build/android/apk_install.py (right): https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py#newcode22 build/android/apk_install.py:22: install_cmd = [ On 2013/03/29 00:30:29, Yaron wrote: > ...
7 years, 9 months ago (2013-03-29 01:12:39 UTC) #3
Yaron
https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py File build/android/apk_install.py (right): https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py#newcode22 build/android/apk_install.py:22: install_cmd = [ On 2013/03/29 01:12:39, cjhopman wrote: > ...
7 years, 8 months ago (2013-03-29 17:18:22 UTC) #4
cjhopman
https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py File build/android/apk_install.py (right): https://codereview.chromium.org/13269002/diff/1/build/android/apk_install.py#newcode22 build/android/apk_install.py:22: install_cmd = [ On 2013/03/29 17:18:22, Yaron wrote: > ...
7 years, 8 months ago (2013-04-01 21:42:09 UTC) #5
Yaron
lgtm
7 years, 8 months ago (2013-04-01 21:55:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/13269002/28001
7 years, 8 months ago (2013-04-02 15:00:44 UTC) #7
commit-bot: I haz the power
7 years, 8 months ago (2013-04-02 16:55:48 UTC) #8
Message was sent while issue was closed.
Change committed as 191840

Powered by Google App Engine
This is Rietveld 408576698