| OLD | NEW |
| 1 # PDFium | 1 # PDFium |
| 2 | 2 |
| 3 ## News | 3 ## News |
| 4 | 4 |
| 5 As of 2016-05-04, GN is used to generate build files replacing GYP. GYP | 5 As of 2016-05-04, GN is used to generate build files replacing GYP. GYP |
| 6 support will remain until it is disabled in Chromium and then will be removed | 6 support will remain until it is disabled in Chromium and then will be removed |
| 7 from PDFium. | 7 from PDFium. |
| 8 | 8 |
| 9 As of 2016-04-28, the Visual Studio toolchain from depot_tools is used as the | 9 As of 2016-04-28, the Visual Studio toolchain from depot_tools is used as the |
| 10 default Windows toolchain for Googlers. Please set DEPOT_TOOLS_WIN_TOOLCHAIN=0 | 10 default Windows toolchain for Googlers. Please set DEPOT_TOOLS_WIN_TOOLCHAIN=0 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 default. Also note that the XFA feature requires JavaScript. | 85 default. Also note that the XFA feature requires JavaScript. |
| 86 | 86 |
| 87 Configuration is done by executing `gn args <directory>` to configure the build. | 87 Configuration is done by executing `gn args <directory>` to configure the build. |
| 88 This will launch an editor in which you can set the following arguments. | 88 This will launch an editor in which you can set the following arguments. |
| 89 | 89 |
| 90 ``` | 90 ``` |
| 91 use_goma = true # Googlers only. | 91 use_goma = true # Googlers only. |
| 92 is_debug = true # Enable debugging features. | 92 is_debug = true # Enable debugging features. |
| 93 | 93 |
| 94 pdf_use_skia = false # Set true to enable experimental skia backend. | 94 pdf_use_skia = false # Set true to enable experimental skia backend. |
| 95 pdf_use_skia_paths = false # Set true to enable experimental skia backend (path
s only). |
| 95 | 96 |
| 96 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). | 97 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). |
| 97 pdf_enable_v8 = true # Set false to remove Javascript support. | 98 pdf_enable_v8 = true # Set false to remove Javascript support. |
| 98 pdf_is_standalone = true # Set for a non-embedded build. | 99 pdf_is_standalone = true # Set for a non-embedded build. |
| 99 is_component_build = false # Disable component build (must be false) | 100 is_component_build = false # Disable component build (must be false) |
| 100 | 101 |
| 101 clang_use_chrome_plugins = false # Currently must be false. | 102 clang_use_chrome_plugins = false # Currently must be false. |
| 102 use_sysroot = false # Currently must be false on Linux. | 103 use_sysroot = false # Currently must be false on Linux. |
| 103 ``` | 104 ``` |
| 104 | 105 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 and add the "Cr-Internals-Plugins-PDF" label. | 161 and add the "Cr-Internals-Plugins-PDF" label. |
| 161 | 162 |
| 162 ## Contributing code | 163 ## Contributing code |
| 163 | 164 |
| 164 For contributing code, we will follow | 165 For contributing code, we will follow |
| 165 [Chromium's process](http://dev.chromium.org/developers/contributing-code) | 166 [Chromium's process](http://dev.chromium.org/developers/contributing-code) |
| 166 as much as possible. The main exceptions is: | 167 as much as possible. The main exceptions is: |
| 167 | 168 |
| 168 1. Code has to conform to the existing style and not Chromium/Google style. | 169 1. Code has to conform to the existing style and not Chromium/Google style. |
| 169 | 170 |
| OLD | NEW |