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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 ninja -j7 -C out/Debug libyuv_unittest_apk | 157 ninja -j7 -C out/Debug libyuv_unittest_apk |
158 | 158 |
159 mipsel | 159 mipsel |
160 | 160 |
161 GYP_DEFINES="OS=android target_arch=mipsel" GYP_CROSSCOMPILE=1 ./gyp_libyuv | 161 GYP_DEFINES="OS=android target_arch=mipsel" GYP_CROSSCOMPILE=1 ./gyp_libyuv |
162 ninja -j7 -C out/Debug libyuv_unittest_apk | 162 ninja -j7 -C out/Debug libyuv_unittest_apk |
163 ninja -j7 -C out/Release libyuv_unittest_apk | 163 ninja -j7 -C out/Release libyuv_unittest_apk |
164 | 164 |
165 arm64 disassembly: | 165 arm64 disassembly: |
166 | 166 |
167 ./third_party/android_tools/ndk//toolchains/aarch64-linux-android-4.9/prebui
lt/linux-x86_64/bin/aarch64-linux-android-4android-objdump -d out/Release/obj/so
urce/libyuv.row_neon64.o | 167 third_party/android_tools/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/
linux-x86_64/bin/aarch64-linux-android-objdump -d out/Release/obj/source/libyuv.
row_neon64.o |
168 | 168 |
169 Running tests: | 169 Running tests: |
170 | 170 |
171 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* | 171 util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --rel
ease --gtest_filter=* |
172 | 172 |
173 Running test as benchmark: | 173 Running test as benchmark: |
174 | 174 |
175 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" | 175 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" |
176 | 176 |
177 Running test with C code: | 177 Running test with C code: |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 git checkout -b mycl -t origin/master | 411 git checkout -b mycl -t origin/master |
412 git pull | 412 git pull |
413 <edit files> | 413 <edit files> |
414 git add -u | 414 git add -u |
415 git commit -m "my change" | 415 git commit -m "my change" |
416 git cl lint | 416 git cl lint |
417 git cl try | 417 git cl try |
418 git cl upload -r a-reviewer@chomium.org -s | 418 git cl upload -r a-reviewer@chomium.org -s |
419 <once approved..> | 419 <once approved..> |
420 git cl land | 420 git cl land |
OLD | NEW |