OLD | NEW |
1 Linux | 1 Linux |
2 ===== | 2 ===== |
3 | 3 |
4 Quickstart | 4 Quickstart |
5 ---------- | 5 ---------- |
6 | 6 |
7 1. Install depot tools. | 7 1. Install depot tools. |
8 | 8 |
9 <!--?prettify lang=sh?--> | 9 <!--?prettify lang=sh?--> |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 ./gyp_skia | 87 ./gyp_skia |
88 | 88 |
89 Or, you can just rely on it being run automatically by using `make` instead of | 89 Or, you can just rely on it being run automatically by using `make` instead of |
90 `ninja` in examples shown below. | 90 `ninja` in examples shown below. |
91 | 91 |
92 If you want to use Eclipse, see Creating an Eclipse Project after you have gener
ated the makefiles. | 92 If you want to use Eclipse, see Creating an Eclipse Project after you have gener
ated the makefiles. |
93 | 93 |
94 On 32-bit Linux (when `uname -m` is *not* `x86_64`), you will have to | 94 On 32-bit Linux (when `uname -m` is *not* `x86_64`), you will have to |
95 explicitly specify the architecture: | 95 explicitly specify the architecture: |
96 | 96 |
97 GYP_DEFINES='skia_arch_width=32' ./gyp_skia | 97 GYP_DEFINES='skia_arch_type=x86' ./gyp_skia |
98 | 98 |
99 Build and run tests from the command line | 99 Build and run tests from the command line |
100 ----------------------------------------- | 100 ----------------------------------------- |
101 | 101 |
102 ninja -C out/Debug dm | 102 ninja -C out/Debug dm |
103 out/Debug/dm | 103 out/Debug/dm |
104 | 104 |
105 The usual mode you want for testing is Debug mode (`SK_DEBUG` is defined, and | 105 The usual mode you want for testing is Debug mode (`SK_DEBUG` is defined, and |
106 debug symbols are included in the binary). If you would like to build the | 106 debug symbols are included in the binary). If you would like to build the |
107 | 107 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 Build tools | 162 Build tools |
163 ----------- | 163 ----------- |
164 | 164 |
165 make -j tools | 165 make -j tools |
166 out/Debug/skdiff | 166 out/Debug/skdiff |
167 | 167 |
168 Clean up all generated files | 168 Clean up all generated files |
169 ---------------------------- | 169 ---------------------------- |
170 | 170 |
171 make clean | 171 make clean |
OLD | NEW |