OLD | NEW |
1 Linux | 1 Linux |
2 ===== | 2 ===== |
3 | 3 |
| 4 Quickstart |
| 5 ---------- |
| 6 |
| 7 1. Install depot tools. |
| 8 |
| 9 <!--?prettify lang=sh?--> |
| 10 |
| 11 git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.
git' |
| 12 export PATH="${PWD}/depot_tools:${PATH}" |
| 13 |
| 14 2. Get Skia. |
| 15 |
| 16 <!--?prettify lang=sh?--> |
| 17 |
| 18 git clone 'https://skia.googlesource.com/skia' |
| 19 cd skia |
| 20 |
| 21 3. Install Dependencies (may require sudo). |
| 22 |
| 23 <!--?prettify lang=sh?--> |
| 24 |
| 25 tools/install_dependencies.sh |
| 26 |
| 27 4. Build. |
| 28 |
| 29 <!--?prettify lang=sh?--> |
| 30 |
| 31 bin/sync-and-gyp && ninja -C out/Debug |
| 32 |
| 33 5. Run DM (the Skia test app) and SampleApp. |
| 34 |
| 35 <!--?prettify lang=sh?--> |
| 36 |
| 37 out/Debug/dm |
| 38 out/Debug/SampleApp |
| 39 |
4 Prerequisites | 40 Prerequisites |
5 ------------- | 41 ------------- |
6 | 42 |
7 On a Ubuntu 12.04 (Precise) or Ubuntu 14.04 (Trusty) system, you can run | 43 On a Ubuntu 12.04 (Precise) or Ubuntu 14.04 (Trusty) system, you can run |
8 `tools/install_dependencies.sh`, which will install the needed packages. On | 44 `tools/install_dependencies.sh`, which will install the needed packages. On |
9 Ubuntu 12.04, you will need to install the`ninja` build tool separately, which | 45 Ubuntu 12.04, you will need to install the`ninja` build tool separately, which |
10 comes with Chromium's `depot_tools`. | 46 comes with Chromium's `depot_tools`. |
11 | 47 |
12 To contribute changes back to Skia, you will need `git-cl`, which comes with Chr
omium's `depot_tools`. | 48 To contribute changes back to Skia, you will need `git-cl`, which comes with Chr
omium's `depot_tools`. |
13 | 49 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 Build tools | 162 Build tools |
127 ----------- | 163 ----------- |
128 | 164 |
129 make -j tools | 165 make -j tools |
130 out/Debug/skdiff | 166 out/Debug/skdiff |
131 | 167 |
132 Clean up all generated files | 168 Clean up all generated files |
133 ---------------------------- | 169 ---------------------------- |
134 | 170 |
135 make clean | 171 make clean |
OLD | NEW |