| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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': [ | 129 'cflags': [ |
| 130 '-w' | 130 '-w' |
| 131 ], | 131 ], |
| 132 'cflags_cc!': [ |
| 133 '-fno-rtti' |
| 134 ], |
| 132 'conditions': [ | 135 'conditions': [ |
| 133 ['skia_os == "linux"', { | 136 ['skia_os == "linux"', { |
| 134 'include_dirs': [ | 137 'include_dirs': [ |
| 135 '../third_party/poppler/config/linux', | 138 '../third_party/poppler/config/linux', |
| 136 '/usr/include/freetype2', | 139 '/usr/include/freetype2', |
| 137 ], | 140 ], |
| 138 'cflags': [ | 141 'cflags': [ |
| 139 '-fPIC', | 142 '-fPIC', |
| 140 ], | 143 ], |
| 141 }], | 144 }], |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 'iconv.gyp:iconv', | 226 'iconv.gyp:iconv', |
| 224 ], | 227 ], |
| 225 'include_dirs': [ | 228 'include_dirs': [ |
| 226 '../third_party/poppler/config/windows', | 229 '../third_party/poppler/config/windows', |
| 227 ], | 230 ], |
| 228 }], | 231 }], |
| 229 ], | 232 ], |
| 230 }, | 233 }, |
| 231 ], | 234 ], |
| 232 } | 235 } |
| OLD | NEW |