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 |
11 The following libraries/utilities are required in addition to those needed for a standard skia checkout: | 11 The following libraries/utilities are required in addition to those needed for a standard skia checkout: |
12 | 12 |
13 * The Android SDK: http://developer.android.com/sdk/ | 13 * The Android SDK: http://developer.android.com/sdk/ |
14 | 14 |
15 Check out the source code | 15 Check out the source code |
16 ------------------------- | 16 ------------------------- |
17 | 17 |
18 Follow the instructions [here](../download) for downloading the Skia source. | 18 Follow the instructions [here](../download) for downloading the Skia source. |
19 | 19 |
20 Inside your Skia checkout, `platform_tools/android` contains the Android setup | 20 Inside your Skia checkout, `platform_tools/android` contains the Android setup |
21 scripts, Android specific dependencies, and the Android Sample App. | 21 scripts, Android specific dependencies, and the Android Sample App. |
22 | 22 |
23 You may need to [install other dependencies](./linux#prerequisites): | |
24 | |
25 <!--?prettify lang=sh?--> | |
jcgregorio
2015/09/17 15:06:40
I think what you want is:
<pre class="prettyprint
jcgregorio
2015/09/17 15:12:07
I may have misspoke. I think the reason it's not r
| |
26 | |
27 tools/install_dependencies.sh | |
28 | |
23 Setup the Android SDK | 29 Setup the Android SDK |
24 --------------------- | 30 --------------------- |
25 | 31 |
26 To finish setting up the Android SDK you need to download use the SDK to | 32 To finish setting up the Android SDK you need to download use the SDK to |
27 download the appropriate API level. To do this simply go to the directory | 33 download the appropriate API level. To do this simply go to the directory |
28 where you installed the SDK and run the following commands | 34 where you installed the SDK and run the following commands |
29 | 35 |
30 # You may want to add this export to your shell's .bash_profile or .profile | 36 # You may want to add this export to your shell's .bash_profile or .profile |
31 export ANDROID_SDK_ROOT=/path/to/android/sdk | 37 export ANDROID_SDK_ROOT=/path/to/android/sdk |
32 | 38 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
194 # include additional arguments in quotes (e.g. "dm --nopdf") | 200 # include additional arguments in quotes (e.g. "dm --nopdf") |
195 ./platform_tools/android/bin/android_gdb_native dm | 201 ./platform_tools/android/bin/android_gdb_native dm |
196 | 202 |
197 # SAMPLE APP | 203 # SAMPLE APP |
198 # make sure you've installed the app on the device first | 204 # make sure you've installed the app on the device first |
199 ./platform_tools/android/bin/android_gdb_app | 205 ./platform_tools/android/bin/android_gdb_app |
200 | 206 |
201 When the gdb client is ready, insert a breakpoint, and continue to let the | 207 When the gdb client is ready, insert a breakpoint, and continue to let the |
202 program resume execution. | 208 program resume execution. |
203 | 209 |
OLD | NEW |