OLD | NEW |
1 # GYP for libpoppler, a PDF rendering library. | 1 # GYP for libpoppler, a PDF rendering library. |
2 # | 2 # |
3 # !!! WARNING !!! Poppler is GPL software, and should not be used in anything | 3 # !!! WARNING !!! Poppler is GPL software, and should not be used in anything |
4 # except testing code. Or the lawyercats won't be happy. | 4 # except testing code. Or the lawyercats won't be happy. |
5 # | 5 # |
6 # libpoppler should be statically linked (doesn't have DLL exports), | 6 # libpoppler should be statically linked (doesn't have DLL exports), |
7 # but libpopper-cpp can be dynamically linked. | 7 # but libpopper-cpp can be dynamically linked. |
8 | 8 |
9 { | 9 { |
10 'variables': { | 10 'variables': { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 '../third_party/externals/poppler/splash/SplashT1FontEngine.cc', | 119 '../third_party/externals/poppler/splash/SplashT1FontEngine.cc', |
120 '../third_party/externals/poppler/splash/SplashT1FontFile.cc', | 120 '../third_party/externals/poppler/splash/SplashT1FontFile.cc', |
121 '../third_party/externals/poppler/splash/SplashXPath.cc', | 121 '../third_party/externals/poppler/splash/SplashXPath.cc', |
122 '../third_party/externals/poppler/splash/SplashXPathScanner.cc', | 122 '../third_party/externals/poppler/splash/SplashXPathScanner.cc', |
123 ], | 123 ], |
124 'direct_dependent_settings': { | 124 'direct_dependent_settings': { |
125 'include_dirs': [ | 125 'include_dirs': [ |
126 '../third_party/externals/poppler/poppler', | 126 '../third_party/externals/poppler/poppler', |
127 ], | 127 ], |
128 }, | 128 }, |
| 129 'cflags': [ |
| 130 '-w' |
| 131 ], |
129 'conditions': [ | 132 'conditions': [ |
130 ['skia_os == "linux"', { | 133 ['skia_os == "linux"', { |
131 'include_dirs': [ | 134 'include_dirs': [ |
132 '../third_party/poppler/config/linux', | 135 '../third_party/poppler/config/linux', |
133 '/usr/include/freetype2', | 136 '/usr/include/freetype2', |
134 ], | 137 ], |
135 'cflags': [ | 138 'cflags': [ |
136 '-fPIC', | 139 '-fPIC', |
137 ], | 140 ], |
138 }], | 141 }], |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 'iconv.gyp:iconv', | 223 'iconv.gyp:iconv', |
221 ], | 224 ], |
222 'include_dirs': [ | 225 'include_dirs': [ |
223 '../third_party/poppler/config/windows', | 226 '../third_party/poppler/config/windows', |
224 ], | 227 ], |
225 }], | 228 }], |
226 ], | 229 ], |
227 }, | 230 }, |
228 ], | 231 ], |
229 } | 232 } |
OLD | NEW |