| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 Running tests: | 173 Running tests: |
| 174 | 174 |
| 175 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* | 175 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* |
| 176 | 176 |
| 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=1 --libyuv_cpu_info=1" |
| 184 | 184 |
| 185 #### Building with GN | 185 #### Building with GN |
| 186 | 186 |
| 187 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" | 187 gn gen out/Release "--args=is_debug=false target_cpu=\"x86\"" |
| 188 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 | 192 ### Building Offical with GN |
| 193 | 193 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 git checkout -b mycl -t origin/master | 420 git checkout -b mycl -t origin/master |
| 421 git pull | 421 git pull |
| 422 <edit files> | 422 <edit files> |
| 423 git add -u | 423 git add -u |
| 424 git commit -m "my change" | 424 git commit -m "my change" |
| 425 git cl lint | 425 git cl lint |
| 426 git cl try | 426 git cl try |
| 427 git cl upload -r a-reviewer@chomium.org -s | 427 git cl upload -r a-reviewer@chomium.org -s |
| 428 <once approved..> | 428 <once approved..> |
| 429 git cl land | 429 git cl land |
| OLD | NEW |