| 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 utility needed below). | 7 the gclient utility 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 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 default. Also note that the XFA feature requires JavaScript. | 76 default. Also note that the XFA feature requires JavaScript. |
| 77 | 77 |
| 78 Configuration is done by executing `gn args <directory>` to configure the build. | 78 Configuration is done by executing `gn args <directory>` to configure the build. |
| 79 This will launch an editor in which you can set the following arguments. | 79 This will launch an editor in which you can set the following arguments. |
| 80 | 80 |
| 81 ``` | 81 ``` |
| 82 use_goma = true # Googlers only. | 82 use_goma = true # Googlers only. |
| 83 is_debug = true # Enable debugging features. | 83 is_debug = true # Enable debugging features. |
| 84 | 84 |
| 85 pdf_use_skia = false # Set true to enable experimental skia backend. | 85 pdf_use_skia = false # Set true to enable experimental skia backend. |
| 86 pdf_use_skia_paths = false # Set true to enable experimental skia backend (path
s only). | |
| 87 | 86 |
| 88 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). | 87 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). |
| 89 pdf_enable_v8 = true # Set false to remove Javascript support. | 88 pdf_enable_v8 = true # Set false to remove Javascript support. |
| 90 pdf_is_standalone = true # Set for a non-embedded build. | 89 pdf_is_standalone = true # Set for a non-embedded build. |
| 91 is_component_build = false # Disable component build (must be false) | 90 is_component_build = false # Disable component build (must be false) |
| 92 | 91 |
| 93 clang_use_chrome_plugins = false # Currently must be false. | 92 clang_use_chrome_plugins = false # Currently must be false. |
| 94 use_sysroot = false # Currently must be false on Linux. | 93 use_sysroot = false # Currently must be false on Linux. |
| 95 ``` | 94 ``` |
| 96 | 95 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 and add the "Cr-Internals-Plugins-PDF" label. | 151 and add the "Cr-Internals-Plugins-PDF" label. |
| 153 | 152 |
| 154 ## Contributing code | 153 ## Contributing code |
| 155 | 154 |
| 156 For contributing code, we will follow | 155 For contributing code, we will follow |
| 157 [Chromium's process](http://dev.chromium.org/developers/contributing-code) | 156 [Chromium's process](http://dev.chromium.org/developers/contributing-code) |
| 158 as much as possible. The main exceptions is: | 157 as much as possible. The main exceptions is: |
| 159 | 158 |
| 160 1. Code has to conform to the existing style and not Chromium/Google style. | 159 1. Code has to conform to the existing style and not Chromium/Google style. |
| 161 | 160 |
| OLD | NEW |