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

Issue 352303003: Push resources to Android device (Closed)

Created:
6 years, 6 months ago by qiankun
Modified:
6 years, 5 months ago
Reviewers:
djsollen, borenet, mtklein
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Push resources to Android device The resources directory is required by some benchmarks. Push it to device's /data/local/tmp. Add "-i /data/local/tmp/resources" to command line when using these resources. BUG=skia: Committed: https://skia.googlesource.com/skia/+/b2e1fa5b76bc6d38b3cb7074470512f0004d58ce

Patch Set 1 #

Patch Set 2 : add command line and md5 check for directory #

Patch Set 3 : little style fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -6 lines) Patch
M platform_tools/android/bin/android_run_skia View 1 1 chunk +3 lines, -0 lines 0 comments Download
M platform_tools/android/bin/android_setup.sh View 1 2 3 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
qiankun
PTAL.
6 years, 6 months ago (2014-06-26 07:00:34 UTC) #1
mtklein
Foresee any problems Eric? I ran a bot and it seems happy.
6 years, 6 months ago (2014-06-26 13:53:44 UTC) #2
borenet
So the bots already do this; they push resources to /storage/emulated/legacy/skiabot/skia_resources in the Install step. ...
6 years, 6 months ago (2014-06-26 14:00:29 UTC) #3
mtklein
On 2014/06/26 13:53:44, mtklein wrote: > Foresee any problems Eric? I ran a bot and ...
6 years, 6 months ago (2014-06-26 14:02:26 UTC) #4
mtklein
On 2014/06/26 14:00:29, borenet wrote: > So the bots already do this; they push resources ...
6 years, 6 months ago (2014-06-26 14:04:41 UTC) #5
borenet
On 2014/06/26 14:04:41, mtklein wrote: > On 2014/06/26 14:00:29, borenet wrote: > > So the ...
6 years, 6 months ago (2014-06-26 14:07:23 UTC) #6
mtklein
On 2014/06/26 14:07:23, borenet wrote: > On 2014/06/26 14:04:41, mtklein wrote: > > On 2014/06/26 ...
6 years, 6 months ago (2014-06-26 14:13:07 UTC) #7
borenet
On 2014/06/26 14:13:07, mtklein wrote: > On 2014/06/26 14:07:23, borenet wrote: > > On 2014/06/26 ...
6 years, 6 months ago (2014-06-26 14:14:46 UTC) #8
mtklein
> Yeah. I'm still not really comfortable with that, but the bots should do > ...
6 years, 6 months ago (2014-06-26 14:16:06 UTC) #9
borenet
On 2014/06/26 14:16:06, mtklein wrote: > > Yeah. I'm still not really comfortable with that, ...
6 years, 6 months ago (2014-06-26 14:38:13 UTC) #10
mtklein
> It's not strictly required for running the app. Organizationally, it makes > things significantly ...
6 years, 6 months ago (2014-06-26 15:09:51 UTC) #11
qiankun
On 2014/06/26 15:09:51, mtklein wrote: > > It's not strictly required for running the app. ...
6 years, 5 months ago (2014-06-27 10:13:50 UTC) #12
borenet
On 2014/06/27 10:13:50, qiankun wrote: > On 2014/06/26 15:09:51, mtklein wrote: > > > It's ...
6 years, 5 months ago (2014-06-27 12:36:27 UTC) #13
mtklein
Thanks, this LGTM as-is. I think we humans can deal with opt-in. The resources/ directory ...
6 years, 5 months ago (2014-06-27 13:49:38 UTC) #14
qiankun
The CQ bit was checked by qiankun.miao@intel.com
6 years, 5 months ago (2014-06-30 05:10:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/qiankun.miao@intel.com/352303003/40001
6 years, 5 months ago (2014-06-30 05:11:18 UTC) #16
commit-bot: I haz the power
Change committed as b2e1fa5b76bc6d38b3cb7074470512f0004d58ce
6 years, 5 months ago (2014-06-30 05:38:59 UTC) #17
tomhudson
This change broke https://sites.google.com/site/skiadocs/user-documentation/quick-start-guides/android. "./platform_tools/android/bin/android_gdb_exe tests" no longer works because adb_push_if_needed is failing to push ...
6 years, 5 months ago (2014-07-08 18:46:10 UTC) #18
tomhudson
6 years, 5 months ago (2014-07-08 19:02:05 UTC) #19
Message was sent while issue was closed.
On 2014/07/08 18:46:10, tomhudson wrote:
> This change broke
>
https://sites.google.com/site/skiadocs/user-documentation/quick-start-guides/....
> 
> "./platform_tools/android/bin/android_gdb_exe tests" no longer works because
> adb_push_if_needed is failing to push gdbserver correctly.

There was a latent bug in android_gdb_exe, but the failure exposes a flaw in
android_gdb_tests:

adb_push_if_needed $ANDROID_TOOLCHAIN/../gdbserver data/local/tmp

This command returned approximately "data/local/tmp: no such directory"; it can
be fixed (?) by adding a leading /.
The return value with a leading 'd' was being interpreted by
adb_push_if_needed() as if it were a successful listing of a directory.

Filed http://skbug.com/2729.

Powered by Google App Engine
This is Rietveld 408576698