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

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

Issue 1136753003: Add android_launch_app script to allow command line options to be passed to the sampleApp when star… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | « platform_tools/android/bin/android_setup.sh ('k') | 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 ----------------------- 132 -----------------------
133 133
134 The SampleApp on Android provides a simple UI for viewing sample slides and gm i mages. 134 The SampleApp on Android provides a simple UI for viewing sample slides and gm i mages.
135 135
136 BUILDTYPE=Debug ./platform_tools/android/bin/android_ninja -d $TARGET_DEVICE 136 BUILDTYPE=Debug ./platform_tools/android/bin/android_ninja -d $TARGET_DEVICE
137 137
138 Then, install the app onto the device: 138 Then, install the app onto the device:
139 139
140 ./platform_tools/android/bin/android_install_app 140 ./platform_tools/android/bin/android_install_app
141 141
142 Finally to run the application you must navigate to the Skia Samples 142 Finally to run the application you can either navigate to the Skia Samples
143 application using the application launcher on your device. 143 application using the application launcher on your device or from the command
144 line. The command line option allows you to pass additional details to the
145 application (similiar to other operating system) that specify where to find
146 skp files and other resources.
147
148 ./platform_tools/android/bin/android_launch_app --resourcePath /data/local/t mp/resources
149
150 By default if no additional parameters are specified the app will use the defaul t
151 params...
152
153 --resourcePath /data/local/tmp/skia_resoures
154 --pictureDir /data/local/tmp/skia_skp
144 155
145 Build tools 156 Build tools
146 ----------- 157 -----------
147 158
148 The Android platform does not support skdiff at this time. 159 The Android platform does not support skdiff at this time.
149 160
150 Clean up all generated files 161 Clean up all generated files
151 ---------------------------- 162 ----------------------------
152 163
153 make clean 164 make clean
(...skipping 12 matching lines...) Expand all
166 # include additional arguments in quotes (e.g. "dm --nopdf") 177 # include additional arguments in quotes (e.g. "dm --nopdf")
167 ./platform_tools/android/bin/android_gdb_native dm 178 ./platform_tools/android/bin/android_gdb_native dm
168 179
169 # SAMPLE APP 180 # SAMPLE APP
170 # make sure you've installed the app on the device first 181 # make sure you've installed the app on the device first
171 ./platform_tools/android/bin/android_gdb_app 182 ./platform_tools/android/bin/android_gdb_app
172 183
173 When the gdb client is ready, insert a breakpoint, and continue to let the 184 When the gdb client is ready, insert a breakpoint, and continue to let the
174 program resume execution. 185 program resume execution.
175 186
OLDNEW
« no previous file with comments | « platform_tools/android/bin/android_setup.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698