Chromium Code Reviews| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 | 128 |
| 129 Build and run SampleApp | 129 Build and run SampleApp |
| 130 ----------------------- | 130 ----------------------- |
| 131 | 131 |
| 132 The SampleApp on Android provides a simple UI for viewing sample slides and gm i mages. | 132 The SampleApp on Android provides a simple UI for viewing sample slides and gm i mages. |
| 133 | 133 |
| 134 BUILDTYPE=Debug ./platform_tools/android/bin/android_ninja -d $TARGET_DEVICE | 134 BUILDTYPE=Debug ./platform_tools/android/bin/android_ninja -d $TARGET_DEVICE |
| 135 | 135 |
| 136 Then, install the app onto the device: | 136 Then, install the app onto the device: |
| 137 | 137 |
| 138 ./platform_tools/android/bin/android_install_apk | 138 ./platform_tools/android/bin/android_install_app |
| 139 | 139 |
| 140 Finally to run the application you must navigate to the Skia Samples | 140 Finally to run the application you must navigate to the Skia Samples |
| 141 application using the application launcher on your device. | 141 application using the application launcher on your device. |
| 142 | 142 |
| 143 Build tools | 143 Build tools |
| 144 ----------- | 144 ----------- |
| 145 | 145 |
| 146 The Android platform does not support skdiff at this time. | 146 The Android platform does not support skdiff at this time. |
| 147 | 147 |
| 148 Clean up all generated files | 148 Clean up all generated files |
| 149 ---------------------------- | 149 ---------------------------- |
| 150 | 150 |
| 151 make clean | 151 make clean |
| 152 | 152 |
| 153 Debugging on Android | 153 Debugging on Android |
|
scroggo
2015/02/09 14:03:32
Should this also mention android_gdb_app?
djsollen
2015/02/10 13:47:20
CL is on the way.
| |
| 154 -------------------- | 154 -------------------- |
| 155 | 155 |
| 156 We support debugging on using a GDB wrapper script. The script loads the app | 156 We support debugging on using a GDB wrapper script. The script loads the app |
| 157 onto the device, starts a gdbserver instance with that app, and then enters a | 157 onto the device, starts a gdbserver instance with that app, and then enters a |
| 158 GDB client shell on the host. Necessary symbol files are pulled from the | 158 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 - | 159 device and placed into a temporary folder. The script does not build the app - |
| 160 you'll have to do that first. | 160 you'll have to do that first. |
| 161 | 161 |
| 162 # you can include additional arguments in quotes (e.g. "dm --nopdf") | 162 # you can include additional arguments in quotes (e.g. "dm --nopdf") |
| 163 ./platform_tools/android/bin/android_gdb_exe dm | 163 ./platform_tools/android/bin/android_gdb_native dm |
| 164 | 164 |
| 165 When the gdb client is ready, insert a breakpoint, and continue to let the | 165 When the gdb client is ready, insert a breakpoint, and continue to let the |
| 166 program resume execution. | 166 program resume execution. |
| 167 | 167 |
| OLD | NEW |