| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 }, | 48 }, |
| 49 ]; | 49 ]; |
| 50 target_os = ["android", "unix"]; | 50 target_os = ["android", "unix"]; |
| 51 | 51 |
| 52 Then run: | 52 Then run: |
| 53 | 53 |
| 54 export GYP_DEFINES="OS=android" | 54 export GYP_DEFINES="OS=android" |
| 55 gclient sync | 55 gclient sync |
| 56 | 56 |
| 57 Caveat: Theres an error with Google Play services updates. If you get the error
"Your version of the Google Play services library is not up to date", run the f
ollowing: | 57 Caveat: Theres an error with Google Play services updates. If you get the error
"Your version of the Google Play services library is not up to date", run the f
ollowing: |
| 58 |
| 58 cd chromium/src | 59 cd chromium/src |
| 59 ./build/android/play_services/update.py download | 60 ./build/android/play_services/update.py download |
| 60 cd ../.. | 61 cd ../.. |
| 61 | 62 |
| 62 For Windows the gclient sync must be done from an Administrator command prompt. | 63 For Windows the gclient sync must be done from an Administrator command prompt. |
| 63 | 64 |
| 64 The sync will generate native build files for your environment using gyp (Window
s: Visual Studio, OSX: XCode, Linux: make). This generation can also be forced m
anually: `gclient runhooks` | 65 The sync will generate native build files for your environment using gyp (Window
s: Visual Studio, OSX: XCode, Linux: make). This generation can also be forced m
anually: `gclient runhooks` |
| 65 | 66 |
| 66 To get just the source (not buildable): | 67 To get just the source (not buildable): |
| 68 |
| 67 git clone https://chromium.googlesource.com/libyuv/libyuv | 69 git clone https://chromium.googlesource.com/libyuv/libyuv |
| 68 | 70 |
| 69 | 71 |
| 70 ## Building the Library and Unittests | 72 ## Building the Library and Unittests |
| 71 | 73 |
| 72 ### Windows | 74 ### Windows |
| 73 | 75 |
| 74 set GYP_DEFINES=target_arch=ia32 | 76 set GYP_DEFINES=target_arch=ia32 |
| 75 call python gyp_libyuv -fninja -G msvs_version=2013 | 77 call python gyp_libyuv -fninja -G msvs_version=2013 |
| 76 ninja -j7 -C out\Release | 78 ninja -j7 -C out\Release |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 git checkout -b mycl -t origin/master | 422 git checkout -b mycl -t origin/master |
| 421 git pull | 423 git pull |
| 422 <edit files> | 424 <edit files> |
| 423 git add -u | 425 git add -u |
| 424 git commit -m "my change" | 426 git commit -m "my change" |
| 425 git cl lint | 427 git cl lint |
| 426 git cl try | 428 git cl try |
| 427 git cl upload -r a-reviewer@chomium.org -s | 429 git cl upload -r a-reviewer@chomium.org -s |
| 428 <once approved..> | 430 <once approved..> |
| 429 git cl land | 431 git cl land |
| OLD | NEW |