OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 # TODO(thakis): Enable this, pdfium:29 | 3 # TODO(thakis): Enable this, pdfium:29 |
4 #'chromium_code': 1, | 4 #'chromium_code': 1, |
5 'pdf_use_skia%': 0, | 5 'pdf_use_skia%': 0, |
6 'pdf_enable_v8%': 1, | 6 'pdf_enable_v8%': 1, |
7 'conditions': [ | 7 'conditions': [ |
8 ['OS=="linux"', { | 8 ['OS=="linux"', { |
9 'bundle_freetype%': 0, | 9 'bundle_freetype%': 0, |
10 }, { # On Android there's no system FreeType. On Windows and Mac, only a | 10 }, { # On Android there's no system FreeType. On Windows and Mac, only a |
11 # few methods are used from it. | 11 # few methods are used from it. |
12 'bundle_freetype%': 1, | 12 'bundle_freetype%': 1, |
13 }], | 13 }], |
14 ], | 14 ], |
15 }, | 15 }, |
16 'target_defaults': { | 16 'target_defaults': { |
17 'defines' : [ | 17 'defines' : [ |
18 'OPJ_STATIC', | 18 'OPJ_STATIC', |
19 'V8_DEPRECATION_WARNINGS', | 19 'V8_DEPRECATION_WARNINGS', |
20 '_CRT_SECURE_NO_WARNINGS', | 20 '_CRT_SECURE_NO_WARNINGS', |
21 ], | 21 ], |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 'third_party/freetype/include', | 23 'third_party/freetype/include', |
| 24 'third_party/freetype/include/freetype', |
24 ], | 25 ], |
25 'conditions': [ | 26 'conditions': [ |
26 ['pdf_use_skia==1', { | 27 ['pdf_use_skia==1', { |
27 'defines': ['_SKIA_SUPPORT_'], | 28 'defines': ['_SKIA_SUPPORT_'], |
28 }], | 29 }], |
29 ['pdf_enable_v8==1', { | 30 ['pdf_enable_v8==1', { |
30 'defines': ['PDF_ENABLE_V8'], | 31 'defines': ['PDF_ENABLE_V8'], |
31 }], | 32 }], |
32 ['OS=="linux"', { | 33 ['OS=="linux"', { |
33 'conditions': [ | 34 'conditions': [ |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 ], | 800 ], |
800 'dependencies': [ | 801 'dependencies': [ |
801 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 802 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
802 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', | 803 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', |
803 ], | 804 ], |
804 }], | 805 }], |
805 ], | 806 ], |
806 }, | 807 }, |
807 ], | 808 ], |
808 } | 809 } |
OLD | NEW |