OLD | NEW |
1 # Copyright 2015 PDFium Authors. All rights reserved. | 1 # Copyright 2015 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 # TODO(thakis): Enable this, pdfium:29 | 7 # TODO(thakis): Enable this, pdfium:29 |
8 #'chromium_code': 1, | 8 #'chromium_code': 1, |
9 'pdf_use_skia%': 0, | 9 'pdf_use_skia%': 0, |
10 'pdf_enable_v8%': 1, | 10 'pdf_enable_v8%': 1, |
11 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build. | 11 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in a standalone build. |
12 'conditions': [ | 12 'conditions': [ |
13 ['OS=="linux"', { | 13 ['OS=="linux"', { |
14 'bundle_freetype%': 0, | 14 'bundle_freetype%': 0, |
15 }, { # On Android there's no system FreeType. On Windows and Mac, only a | 15 }, { # On Android there's no system FreeType. On Windows and Mac, only a |
16 # few methods are used from it. | 16 # few methods are used from it. |
17 'bundle_freetype%': 1, | 17 'bundle_freetype%': 1, |
18 }], | 18 }], |
19 ], | 19 ], |
20 }, | 20 }, |
21 'target_defaults': { | 21 'target_defaults': { |
22 'defines' : [ | 22 'defines' : [ |
23 'OPJ_STATIC', | 23 'OPJ_STATIC', |
24 'PNG_PREFIX', | 24 'PNG_PREFIX', |
25 'PNGPREFIX_H', | |
26 'PNG_USE_READ_MACROS', | 25 'PNG_USE_READ_MACROS', |
27 'V8_DEPRECATION_WARNINGS', | 26 'V8_DEPRECATION_WARNINGS', |
28 '_CRT_SECURE_NO_WARNINGS', | 27 '_CRT_SECURE_NO_WARNINGS', |
29 ], | 28 ], |
30 'include_dirs': [ | 29 'include_dirs': [ |
31 # This is implicit in GN. | 30 # This is implicit in GN. |
32 '<(DEPTH)', | 31 '<(DEPTH)', |
33 '.', | 32 '.', |
34 'third_party/freetype/include', | 33 'third_party/freetype/include', |
35 'third_party/freetype/include/freetype', | 34 'third_party/freetype/include/freetype', |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h', | 875 'fpdfsdk/include/fpdfxfa/fpdfxfa_app.h', |
877 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h', | 876 'fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h', |
878 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h', | 877 'fpdfsdk/include/fpdfxfa/fpdfxfa_page.h', |
879 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h', | 878 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h', |
880 ], | 879 ], |
881 }, | 880 }, |
882 ] | 881 ] |
883 }], | 882 }], |
884 ] | 883 ] |
885 } | 884 } |
OLD | NEW |