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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 95 |
96 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). | 96 pdf_enable_xfa = true # Set false to remove XFA support (implies JS support). |
97 pdf_enable_v8 = true # Set false to remove Javascript support. | 97 pdf_enable_v8 = true # Set false to remove Javascript support. |
98 pdf_is_standalone = true # Set for a non-embedded build. | 98 pdf_is_standalone = true # Set for a non-embedded build. |
99 | 99 |
100 clang_use_chrome_plugins = false # Currently must be false. | |
101 ``` | 100 ``` |
102 | 101 |
103 Note, you must set `pdf_is_standalone = true` if you want the sample | 102 Note, you must set `pdf_is_standalone = true` if you want the sample |
104 applications like `pdfium_test` to build. | 103 applications like `pdfium_test` to build. |
105 | 104 |
106 When complete the arguments will be stored in `<directory>/args.gn`. | 105 When complete the arguments will be stored in `<directory>/args.gn`. |
107 | 106 |
108 ## Building the code | 107 ## Building the code |
109 | 108 |
110 If you used Ninja, you can build the sample program by: | 109 If you used Ninja, you can build the sample program by: |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 and add the "Cr-Internals-Plugins-PDF" label. | 157 and add the "Cr-Internals-Plugins-PDF" label. |
159 | 158 |
160 ## Contributing code | 159 ## Contributing code |
161 | 160 |
162 For contributing code, we will follow | 161 For contributing code, we will follow |
163 [Chromium's process](http://dev.chromium.org/developers/contributing-code) | 162 [Chromium's process](http://dev.chromium.org/developers/contributing-code) |
164 as much as possible. The main exceptions is: | 163 as much as possible. The main exceptions is: |
165 | 164 |
166 1. Code has to conform to the existing style and not Chromium/Google style. | 165 1. Code has to conform to the existing style and not Chromium/Google style. |
167 | 166 |
OLD | NEW |