Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # PDFium | 1 # PDFium |
| 2 | 2 |
| 3 ## Prerequisites | 3 ## Prerequisites |
| 4 | 4 |
| 5 Get the chromium depot tools via the instructions at | 5 Get the chromium depot tools via the instructions at |
| 6 http://www.chromium.org/developers/how-tos/install-depot-tools (this provides | 6 http://www.chromium.org/developers/how-tos/install-depot-tools (this provides |
| 7 the gclient utilty needed below). | 7 the gclient utilty needed below). |
| 8 | 8 |
| 9 Also install Python, Subversion, and Git and make sure they're in your path. | 9 Also install Python, Subversion, and Git and make sure they're in your path. |
| 10 | 10 |
| 11 ## Get the code | 11 ## Get the code |
| 12 | 12 |
| 13 ``` | 13 ``` |
| 14 mkdir pdfium | 14 mkdir repo |
|
Tom Sepez
2015/10/20 17:14:04
Need a note that says that the name of this top-le
Oliver Chang
2015/10/20 17:19:49
Done.
| |
| 15 cd repo | |
| 16 gclient config --unmanaged https://pdfium.googlesource.com/pdfium.git | |
| 17 gclient sync | |
| 15 cd pdfium | 18 cd pdfium |
| 16 gclient config --name . --unmanaged https://pdfium.googlesource.com/pdfium.git | |
| 17 gclient sync | |
| 18 ``` | 19 ``` |
| 19 | 20 |
| 20 ## Generate the build files | 21 ## Generate the build files |
| 21 | 22 |
| 22 We use the GYP library to generate the build files. | 23 We use the GYP library to generate the build files. |
| 23 | 24 |
| 24 At this point, you have two options. The first option is to use the [Ninja] | 25 At this point, you have two options. The first option is to use the [Ninja] |
| 25 (http://martine.github.io/ninja/) build system (also included with the | 26 (http://martine.github.io/ninja/) build system (also included with the |
| 26 depot\_tools checkout). This is the default as of mid-September, 2015. | 27 depot\_tools checkout). This is the default as of mid-September, 2015. |
| 27 Previously, the second option (platform-specific build files) was the default. | 28 Previously, the second option (platform-specific build files) was the default. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 120 ``` | 121 ``` |
| 121 git checkout origin/xfa | 122 git checkout origin/xfa |
| 122 git checkout -b merge_branch | 123 git checkout -b merge_branch |
| 123 git branch --set-upstream-to=origin/xfa | 124 git branch --set-upstream-to=origin/xfa |
| 124 git cherry-pick -x <commit hash> | 125 git cherry-pick -x <commit hash> |
| 125 git commit --amend # add Merge to XFA | 126 git commit --amend # add Merge to XFA |
| 126 git cl upload | 127 git cl upload |
| 127 ``` | 128 ``` |
| 128 | 129 |
| 129 Then wait for approval, and `git cl land` | 130 Then wait for approval, and `git cl land` |
| OLD | NEW |