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). |
86 | 87 |
87 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). | 88 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). |
88 pdf_enable_v8 = true # Set false to remove Javascript support. | 89 pdf_enable_v8 = true # Set false to remove Javascript support. |
89 pdf_is_standalone = true # Set for a non-embedded build. | 90 pdf_is_standalone = true # Set for a non-embedded build. |
90 is_component_build = false # Disable component build (must be false) | 91 is_component_build = false # Disable component build (must be false) |
91 | 92 |
92 clang_use_chrome_plugins = false # Currently must be false. | 93 clang_use_chrome_plugins = false # Currently must be false. |
93 use_sysroot = false # Currently must be false on Linux. | 94 use_sysroot = false # Currently must be false on Linux. |
94 ``` | 95 ``` |
95 | 96 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 and add the "Cr-Internals-Plugins-PDF" label. | 152 and add the "Cr-Internals-Plugins-PDF" label. |
152 | 153 |
153 ## Contributing code | 154 ## Contributing code |
154 | 155 |
155 For contributing code, we will follow | 156 For contributing code, we will follow |
156 [Chromium's process](http://dev.chromium.org/developers/contributing-code) | 157 [Chromium's process](http://dev.chromium.org/developers/contributing-code) |
157 as much as possible. The main exceptions is: | 158 as much as possible. The main exceptions is: |
158 | 159 |
159 1. Code has to conform to the existing style and not Chromium/Google style. | 160 1. Code has to conform to the existing style and not Chromium/Google style. |
160 | 161 |
OLD | NEW |