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

Side by Side Diff: site/user/quick/android.md

Issue 898453003: Add resourcePath to running dm on Android doc. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Android 1 Android
2 ======= 2 =======
3 3
4 Prerequisites 4 Prerequisites
5 ------------- 5 -------------
6 6
7 _Currently we only support building Skia for Android on a Linux or Mac host!_ 7 _Currently we only support building Skia for Android on a Linux or Mac host!_
8 8
9 The following libraries/utilities are required in addition to those needed for a standard skia checkout: 9 The following libraries/utilities are required in addition to those needed for a standard skia checkout:
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 a launcher executable on your device. To assist in this process there is a 95 a launcher executable on your device. To assist in this process there is a
96 script called `android_run_skia` that is located in the 96 script called `android_run_skia` that is located in the
97 `platform_tools/android/bin` directory. 97 `platform_tools/android/bin` directory.
98 98
99 Run correctness tests 99 Run correctness tests
100 --------------------- 100 ---------------------
101 101
102 First build the app and then run it on an attached device: 102 First build the app and then run it on an attached device:
103 103
104 ./platform_tools/android/bin/android_ninja [-d device_id] dm 104 ./platform_tools/android/bin/android_ninja [-d device_id] dm
105 ./platform_tools/android/bin/android_run_skia dm # uploads and runs the dm b inary on the attached device 105
106 # uploads dm binary and resources and runs dm on the attached device
107 ./platform_tools/android/bin/android_run_skia dm --resourcePath /data/local/ tmp/skia/resources/
106 108
107 Run performance tests 109 Run performance tests
108 --------------------- 110 ---------------------
109 111
110 Since nanobench tests performance, it usually makes more sense to run it in 112 Since nanobench tests performance, it usually makes more sense to run it in
111 Release mode. 113 Release mode.
112 114
113 BUILDTYPE=Release ./platform_tools/android/bin/android_ninja [-d device_id] nanobench 115 BUILDTYPE=Release ./platform_tools/android/bin/android_ninja [-d device_id] nanobench
114 116
115 # uploads and runs the nanobench binary on the attached device 117 # uploads and runs the nanobench binary on the attached device
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 GDB client shell on the host. Necessary symbol files are pulled from the 160 GDB client shell on the host. Necessary symbol files are pulled from the
159 device and placed into a temporary folder. The script does not build the app - 161 device and placed into a temporary folder. The script does not build the app -
160 you'll have to do that first. 162 you'll have to do that first.
161 163
162 # you can include additional arguments in quotes (e.g. "dm --nopdf") 164 # you can include additional arguments in quotes (e.g. "dm --nopdf")
163 ./platform_tools/android/bin/android_gdb_exe dm 165 ./platform_tools/android/bin/android_gdb_exe dm
164 166
165 When the gdb client is ready, insert a breakpoint, and continue to let the 167 When the gdb client is ready, insert a breakpoint, and continue to let the
166 program resume execution. 168 program resume execution.
167 169
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698