| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 The Android platform does not support skdiff at this time. | 148 The Android platform does not support skdiff at this time. |
| 149 | 149 |
| 150 Clean up all generated files | 150 Clean up all generated files |
| 151 ---------------------------- | 151 ---------------------------- |
| 152 | 152 |
| 153 make clean | 153 make clean |
| 154 | 154 |
| 155 Debugging on Android | 155 Debugging on Android |
| 156 -------------------- | 156 -------------------- |
| 157 | 157 |
| 158 We support debugging on using a GDB wrapper script. The script loads the app | 158 We support 2 modes of debugging on Android using GDB wrapper scripts. These |
| 159 onto the device, starts a gdbserver instance with that app, and then enters a | 159 scripts start a gdbserver instance on the device and then enter an interactive |
| 160 GDB client shell on the host. Necessary symbol files are pulled from the | 160 GDB client shell on your host. All necessary symbol files should |
| 161 device and placed into a temporary folder. The script does not build the app - | 161 be pulled from the device and placed into a temporary folder (android_gdb_tmp). |
| 162 you'll have to do that first. | |
| 163 | 162 |
| 164 # you can include additional arguments in quotes (e.g. "dm --nopdf") | 163 Note: The debugging scripts do not build the app - you'll have to do that first. |
| 164 |
| 165 # COMMAND LINE APPS |
| 166 # include additional arguments in quotes (e.g. "dm --nopdf") |
| 165 ./platform_tools/android/bin/android_gdb_native dm | 167 ./platform_tools/android/bin/android_gdb_native dm |
| 168 |
| 169 # SAMPLE APP |
| 170 # make sure you've installed the app on the device first |
| 171 ./platform_tools/android/bin/android_gdb_app |
| 166 | 172 |
| 167 When the gdb client is ready, insert a breakpoint, and continue to let the | 173 When the gdb client is ready, insert a breakpoint, and continue to let the |
| 168 program resume execution. | 174 program resume execution. |
| 169 | 175 |
| OLD | NEW |