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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" | 189 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" |
190 gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\"" | 190 gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\"" |
191 ninja -C out/Release | 191 ninja -C out/Release |
192 ninja -C out/Debug | 192 ninja -C out/Debug |
193 | 193 |
194 ### Building Offical with GN | 194 ### Building Offical with GN |
195 | 195 |
196 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_
branded=true" | 196 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_
branded=true" |
197 ninja -C out/Official | 197 ninja -C out/Official |
198 | 198 |
| 199 #### Building mips with GN |
| 200 |
| 201 mipsel |
| 202 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" |
| 203 ninja -C out/Default |
| 204 |
| 205 mips64el |
| 206 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" |
| 207 ninja -C out/Default |
| 208 |
| 209 |
199 ### Linux | 210 ### Linux |
200 | 211 |
201 GYP_DEFINES="target_arch=x64" ./gyp_libyuv | 212 GYP_DEFINES="target_arch=x64" ./gyp_libyuv |
202 ninja -j7 -C out/Debug | 213 ninja -j7 -C out/Debug |
203 ninja -j7 -C out/Release | 214 ninja -j7 -C out/Release |
204 | 215 |
205 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv | 216 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv |
206 ninja -j7 -C out/Debug | 217 ninja -j7 -C out/Debug |
207 ninja -j7 -C out/Release | 218 ninja -j7 -C out/Release |
208 | 219 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 git checkout -b mycl -t origin/master | 433 git checkout -b mycl -t origin/master |
423 git pull | 434 git pull |
424 <edit files> | 435 <edit files> |
425 git add -u | 436 git add -u |
426 git commit -m "my change" | 437 git commit -m "my change" |
427 git cl lint | 438 git cl lint |
428 git cl try | 439 git cl try |
429 git cl upload -r a-reviewer@chomium.org -s | 440 git cl upload -r a-reviewer@chomium.org -s |
430 <once approved..> | 441 <once approved..> |
431 git cl land | 442 git cl land |
OLD | NEW |