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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 call python gyp_libyuv -fninja -G msvs_version=2013 | 77 call python gyp_libyuv -fninja -G msvs_version=2013 |
78 ninja -j7 -C out\Release | 78 ninja -j7 -C out\Release |
79 ninja -j7 -C out\Debug | 79 ninja -j7 -C out\Debug |
80 | 80 |
81 set GYP_DEFINES=target_arch=x64 | 81 set GYP_DEFINES=target_arch=x64 |
82 call python gyp_libyuv -fninja -G msvs_version=2013 | 82 call python gyp_libyuv -fninja -G msvs_version=2013 |
83 ninja -C out\Debug_x64 | 83 ninja -C out\Debug_x64 |
84 ninja -C out\Release_x64 | 84 ninja -C out\Release_x64 |
85 | 85 |
86 #### Building with clangcl | 86 #### Building with clangcl |
87 set GYP_DEFINES=clang=1 target_arch=ia32 libyuv_enable_svn=1 | 87 set GYP_DEFINES=clang=1 target_arch=ia32 |
88 set LLVM_REPO_URL=svn://svn.chromium.org/llvm-project | |
89 call python tools\clang\scripts\update.py | 88 call python tools\clang\scripts\update.py |
90 call python gyp_libyuv -fninja libyuv_test.gyp | 89 call python gyp_libyuv -fninja libyuv_test.gyp |
91 ninja -C out\Debug | 90 ninja -C out\Debug |
92 ninja -C out\Release | 91 ninja -C out\Release |
93 | 92 |
94 ### OSX | 93 ### OSX |
95 | 94 |
96 Clang 64 bit shown. Remove `clang=1` for GCC and change x64 to ia32 for 32 bit. | 95 Clang 64 bit shown. Remove `clang=1` for GCC and change x64 to ia32 for 32 bit. |
97 | 96 |
98 GYP_DEFINES="clang=1 target_arch=x64" ./gyp_libyuv | 97 GYP_DEFINES="clang=1 target_arch=x64" ./gyp_libyuv |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 git checkout -b mycl -t origin/master | 421 git checkout -b mycl -t origin/master |
423 git pull | 422 git pull |
424 <edit files> | 423 <edit files> |
425 git add -u | 424 git add -u |
426 git commit -m "my change" | 425 git commit -m "my change" |
427 git cl lint | 426 git cl lint |
428 git cl try | 427 git cl try |
429 git cl upload -r a-reviewer@chomium.org -s | 428 git cl upload -r a-reviewer@chomium.org -s |
430 <once approved..> | 429 <once approved..> |
431 git cl land | 430 git cl land |
OLD | NEW |