| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 Running test as benchmark: | 177 Running test as benchmark: |
| 178 | 178 |
| 179 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* -a "--libyuv_width=1280 --libyuv_height=720 --libyuv_repea
t=999 --libyuv_flags=-1" | 179 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* -a "--libyuv_width=1280 --libyuv_height=720 --libyuv_repea
t=999 --libyuv_flags=-1" |
| 180 | 180 |
| 181 Running test with C code: | 181 Running test with C code: |
| 182 | 182 |
| 183 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* -a "--libyuv_width=1280 --libyuv_height=720 --libyuv_repea
t=999 --libyuv_flags=0 --libyuv_cpu_info=0" | 183 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* -a "--libyuv_width=1280 --libyuv_height=720 --libyuv_repea
t=999 --libyuv_flags=0 --libyuv_cpu_info=0" |
| 184 | 184 |
| 185 #### Building with GN | 185 #### Building with GN |
| 186 | 186 |
| 187 call gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" | 187 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" |
| 188 call gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\"" | 188 gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\"" |
| 189 ninja -C out/Release | 189 ninja -C out/Release |
| 190 ninja -C out/Debug | 190 ninja -C out/Debug |
| 191 | 191 |
| 192 ### Building Offical with GN |
| 193 |
| 194 gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_
branded=true" |
| 195 ninja -C out/Official |
| 196 |
| 192 ### Linux | 197 ### Linux |
| 193 | 198 |
| 194 GYP_DEFINES="target_arch=x64" ./gyp_libyuv | 199 GYP_DEFINES="target_arch=x64" ./gyp_libyuv |
| 195 ninja -j7 -C out/Debug | 200 ninja -j7 -C out/Debug |
| 196 ninja -j7 -C out/Release | 201 ninja -j7 -C out/Release |
| 197 | 202 |
| 198 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv | 203 GYP_DEFINES="target_arch=ia32" ./gyp_libyuv |
| 199 ninja -j7 -C out/Debug | 204 ninja -j7 -C out/Debug |
| 200 ninja -j7 -C out/Release | 205 ninja -j7 -C out/Release |
| 201 | 206 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 git checkout -b mycl -t origin/master | 420 git checkout -b mycl -t origin/master |
| 416 git pull | 421 git pull |
| 417 <edit files> | 422 <edit files> |
| 418 git add -u | 423 git add -u |
| 419 git commit -m "my change" | 424 git commit -m "my change" |
| 420 git cl lint | 425 git cl lint |
| 421 git cl try | 426 git cl try |
| 422 git cl upload -r a-reviewer@chomium.org -s | 427 git cl upload -r a-reviewer@chomium.org -s |
| 423 <once approved..> | 428 <once approved..> |
| 424 git cl land | 429 git cl land |
| OLD | NEW |