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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 "safesync_url": "", | 47 "safesync_url": "", |
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: |
| 58 cd chromium/src |
| 59 ./build/android/play_services/update.py download |
| 60 cd ../.. |
| 61 |
57 For Windows the gclient sync must be done from an Administrator command prompt. | 62 For Windows the gclient sync must be done from an Administrator command prompt. |
58 | 63 |
59 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` | 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` |
60 | 65 |
61 To get just the source (not buildable): | 66 To get just the source (not buildable): |
62 git clone https://chromium.googlesource.com/libyuv/libyuv | 67 git clone https://chromium.googlesource.com/libyuv/libyuv |
63 | 68 |
64 | 69 |
65 ## Building the Library and Unittests | 70 ## Building the Library and Unittests |
66 | 71 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 git checkout -b mycl -t origin/master | 411 git checkout -b mycl -t origin/master |
407 git pull | 412 git pull |
408 <edit files> | 413 <edit files> |
409 git add -u | 414 git add -u |
410 git commit -m "my change" | 415 git commit -m "my change" |
411 git cl lint | 416 git cl lint |
412 git cl try | 417 git cl try |
413 git cl upload -r a-reviewer@chomium.org -s | 418 git cl upload -r a-reviewer@chomium.org -s |
414 <once approved..> | 419 <once approved..> |
415 git cl land | 420 git cl land |
OLD | NEW |