| 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 'pdf_use_skia%': 0, |
| 8 }, | 9 }, |
| 9 'target_defaults': { | 10 'target_defaults': { |
| 10 'defines': [ | 11 'defines': [ |
| 11 'OPJ_STATIC', | 12 'OPJ_STATIC', |
| 12 'PNG_PREFIX', | 13 'PNG_PREFIX', |
| 13 'PNG_USE_READ_MACROS', | 14 'PNG_USE_READ_MACROS', |
| 14 '_CRT_SECURE_NO_WARNINGS', | 15 '_CRT_SECURE_NO_WARNINGS', |
| 15 ], | 16 ], |
| 16 'include_dirs': [ | 17 'include_dirs': [ |
| 17 # This is implicit in GN. | 18 # This is implicit in GN. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 'freetype/src/cid/type1cid.c', | 74 'freetype/src/cid/type1cid.c', |
| 74 'freetype/src/psaux/psaux.c', | 75 'freetype/src/psaux/psaux.c', |
| 75 'freetype/src/pshinter/pshinter.c', | 76 'freetype/src/pshinter/pshinter.c', |
| 76 'freetype/src/psnames/psmodule.c', | 77 'freetype/src/psnames/psmodule.c', |
| 77 'freetype/src/raster/raster.c', | 78 'freetype/src/raster/raster.c', |
| 78 'freetype/src/sfnt/sfnt.c', | 79 'freetype/src/sfnt/sfnt.c', |
| 79 'freetype/src/smooth/smooth.c', | 80 'freetype/src/smooth/smooth.c', |
| 80 'freetype/src/truetype/truetype.c', | 81 'freetype/src/truetype/truetype.c', |
| 81 'freetype/src/type1/type1.c', | 82 'freetype/src/type1/type1.c', |
| 82 ], | 83 ], |
| 84 'conditions': [ |
| 85 ['pdf_use_skia==1', { |
| 86 'sources': [ |
| 87 'freetype/src/base/ftfntfmt.c', |
| 88 'freetype/src/base/ftfstype.c', |
| 89 'freetype/src/base/fttype1.c', |
| 90 ], |
| 91 }], |
| 92 ], |
| 83 'variables': { | 93 'variables': { |
| 84 'clang_warning_flags': [ | 94 'clang_warning_flags': [ |
| 85 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in | 95 # open_face_PS_from_sfnt_stream() and open_face_from_buffer() in |
| 86 # ftbase.h are unused. | 96 # ftbase.h are unused. |
| 87 '-Wno-unused-function', | 97 '-Wno-unused-function', |
| 88 ], | 98 ], |
| 89 }, | 99 }, |
| 90 }, | 100 }, |
| 91 { | 101 { |
| 92 'target_name': 'fx_agg', | 102 'target_name': 'fx_agg', |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 'libtiff/tif_version.c', | 409 'libtiff/tif_version.c', |
| 400 'libtiff/tif_warning.c', | 410 'libtiff/tif_warning.c', |
| 401 'libtiff/tif_write.c', | 411 'libtiff/tif_write.c', |
| 402 'libtiff/tif_zip.c', | 412 'libtiff/tif_zip.c', |
| 403 ], | 413 ], |
| 404 }, | 414 }, |
| 405 ], | 415 ], |
| 406 }], | 416 }], |
| 407 ], | 417 ], |
| 408 } | 418 } |
| OLD | NEW |