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!_ | 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 Loading... |
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 Loading... |
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 |
OLD | NEW |