OLD | NEW |
1 # Getting Started | 1 # Getting Started |
2 | 2 |
3 How to get and build the libyuv code. | 3 How to get and build the libyuv code. |
4 | 4 |
5 ## Pre-requisites | 5 ## Pre-requisites |
6 | 6 |
7 You'll need to have depot tools installed: https://www.chromium.org/developers/h
ow-tos/install-depot-tools | 7 You'll need to have depot tools installed: https://www.chromium.org/developers/h
ow-tos/install-depot-tools |
8 Refer to chromium instructions for each platform for other prerequisites. | 8 Refer to chromium instructions for each platform for other prerequisites. |
9 | 9 |
10 ## Getting the Code | 10 ## Getting the Code |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" | 188 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" |
189 gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\"" | 189 gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\"" |
190 ninja -C out/Release | 190 ninja -C out/Release |
191 ninja -C out/Debug | 191 ninja -C out/Debug |
192 | 192 |
193 ### Building Offical with GN | 193 ### Building Offical with GN |
194 | 194 |
195 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_
branded=true" | 195 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_
branded=true" |
196 ninja -C out/Official | 196 ninja -C out/Official |
197 | 197 |
| 198 #### Building mips with GN |
| 199 |
| 200 mipsel |
| 201 gn gen out/Default "--args=is_debug=false target_cpu=\"mipsel\" target_os =
\"android\" mips_arch_variant = \"r6\" mips_use_msa = true is_component_build =
true is_clang = false" |
| 202 ninja -C out/Default |
| 203 |
| 204 mips64el |
| 205 gn gen out/Default "--args=is_debug=false target_cpu=\"mips64el\" target_os
= \"android\" mips_arch_variant = \"r6\" mips_use_msa = true is_component_build
= true is_clang = false" |
| 206 ninja -C out/Default |
| 207 |
198 ### Linux | 208 ### Linux |
199 | 209 |
200 GYP_DEFINES="target_arch=x64" ./gyp_libyuv | 210 GYP_DEFINES="target_arch=x64" ./gyp_libyuv |
201 ninja -j7 -C out/Debug | 211 ninja -j7 -C out/Debug |
202 ninja -j7 -C out/Release | 212 ninja -j7 -C out/Release |
203 | 213 |
204 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv | 214 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv |
205 ninja -j7 -C out/Debug | 215 ninja -j7 -C out/Debug |
206 ninja -j7 -C out/Release | 216 ninja -j7 -C out/Release |
207 | 217 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 git checkout -b mycl -t origin/master | 431 git checkout -b mycl -t origin/master |
422 git pull | 432 git pull |
423 <edit files> | 433 <edit files> |
424 git add -u | 434 git add -u |
425 git commit -m "my change" | 435 git commit -m "my change" |
426 git cl lint | 436 git cl lint |
427 git cl try | 437 git cl try |
428 git cl upload -r a-reviewer@chomium.org -s | 438 git cl upload -r a-reviewer@chomium.org -s |
429 <once approved..> | 439 <once approved..> |
430 git cl land | 440 git cl land |
OLD | NEW |