OLD | NEW |
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! In
addition, | 7 _Currently we only support building Skia for Android on a Linux or Mac host! In
addition, |
8 we only use the Mac build for local development. All shipping variants are comp
iled on | 8 we only use the Mac build for local development. All shipping variants are comp
iled on |
9 Linux for performance reasons._ | 9 Linux for performance reasons._ |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 Then, install the app onto the device: | 144 Then, install the app onto the device: |
145 | 145 |
146 ./platform_tools/android/bin/android_install_app | 146 ./platform_tools/android/bin/android_install_app |
147 | 147 |
148 Finally to run the application you can either navigate to the Skia Viewer | 148 Finally to run the application you can either navigate to the Skia Viewer |
149 application using the application launcher on your device or from the command | 149 application using the application launcher on your device or from the command |
150 line. The command line option allows you to pass additional details to the | 150 line. The command line option allows you to pass additional details to the |
151 application (similar to other operating system) that specify where to find | 151 application (similar to other operating system) that specify where to find |
152 skp files and other resources. For example: | 152 skp files and other resources. For example: |
153 | 153 |
154 ./platform_tools/android/bin/android_launch_app --resources /data/local/tmp/
skia | 154 ./platform_tools/android/bin/android_launch_app --resourcePath /data/local/t
mp/skia |
155 | 155 |
156 By default if no additional parameters are specified the app will also have the
following | 156 By default if no additional parameters are specified the app will also have the
following |
157 default parameters: | 157 default parameters: |
158 | 158 |
159 --skps /data/local/tmp/skia | 159 --skps /data/local/tmp/skia |
160 --jpgs /data/local/tmp/skia | 160 --jpgs /data/local/tmp/skia |
161 | 161 |
162 | 162 |
163 Android Studio Support | 163 Android Studio Support |
164 ----------------------- | 164 ----------------------- |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 # COMMAND LINE APPS | 204 # COMMAND LINE APPS |
205 # include additional arguments in quotes (e.g. "dm --nopdf") | 205 # include additional arguments in quotes (e.g. "dm --nopdf") |
206 ./platform_tools/android/bin/android_gdb_native dm | 206 ./platform_tools/android/bin/android_gdb_native dm |
207 | 207 |
208 # VIEWER APP | 208 # VIEWER APP |
209 # make sure you've installed the app on the device first | 209 # make sure you've installed the app on the device first |
210 ./platform_tools/android/bin/android_gdb_app [-d device_id] | 210 ./platform_tools/android/bin/android_gdb_app [-d device_id] |
211 | 211 |
212 When the gdb client is ready, insert a breakpoint, and continue to let the | 212 When the gdb client is ready, insert a breakpoint, and continue to let the |
213 program resume execution. | 213 program resume execution. |
OLD | NEW |