OLD | NEW |
1 # Copyright 2014 PDFium Authors. All rights reserved. | 1 # Copyright 2014 PDFium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds. | 7 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds. |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'defines': [ | 10 'defines': [ |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 'zlib_v128/uncompr.c', | 320 'zlib_v128/uncompr.c', |
321 'zlib_v128/zutil.c', | 321 'zlib_v128/zutil.c', |
322 ], | 322 ], |
323 'conditions': [ | 323 'conditions': [ |
324 ['os_posix==1', { | 324 ['os_posix==1', { |
325 'cflags': [ | 325 'cflags': [ |
326 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/50771
2 | 326 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/50771
2 |
327 '-Wno-shift-negative-value', | 327 '-Wno-shift-negative-value', |
328 ], | 328 ], |
329 }], | 329 }], |
| 330 ['OS == "win"', { |
| 331 'direct_dependent_settings': { |
| 332 'include_dirs': [ |
| 333 'zlib_v128', |
| 334 ], |
| 335 } |
| 336 }], |
330 ], | 337 ], |
331 'variables': { | 338 'variables': { |
332 'clang_warning_flags': [ | 339 'clang_warning_flags': [ |
333 # Avoid warning for undefined behaviour. https://crbug.com/507712 | 340 # Avoid warning for undefined behaviour. https://crbug.com/507712 |
334 '-Wno-shift-negative-value', | 341 '-Wno-shift-negative-value', |
335 ] | 342 ] |
336 }, | 343 }, |
337 }, | 344 }, |
338 { | 345 { |
339 'target_name': 'pdfium_base', | 346 'target_name': 'pdfium_base', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 'libtiff/tif_version.c', | 399 'libtiff/tif_version.c', |
393 'libtiff/tif_warning.c', | 400 'libtiff/tif_warning.c', |
394 'libtiff/tif_write.c', | 401 'libtiff/tif_write.c', |
395 'libtiff/tif_zip.c', | 402 'libtiff/tif_zip.c', |
396 ], | 403 ], |
397 }, | 404 }, |
398 ], | 405 ], |
399 }], | 406 }], |
400 ], | 407 ], |
401 } | 408 } |
OLD | NEW |