Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Side by Side Diff: pdfium.gyp

Issue 1416993005: Merge to XFA: Update bundled freetype to 2.6.1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DEPS ('k') | third_party/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'variables': { 2 'variables': {
3 'pdf_use_skia%': 0, 3 'pdf_use_skia%': 0,
4 'pdf_enable_v8%': 1, 4 'pdf_enable_v8%': 1,
5 'pdf_enable_xfa%': 1, 5 'pdf_enable_xfa%': 1,
6 'conditions': [ 6 'conditions': [
7 ['OS=="linux"', { 7 ['OS=="linux"', {
8 'bundle_freetype%': 0, 8 'bundle_freetype%': 0,
9 }, { # On Android there's no system FreeType. On Windows and Mac, only a 9 }, { # On Android there's no system FreeType. On Windows and Mac, only a
10 # few methods are used from it. 10 # few methods are used from it.
11 'bundle_freetype%': 1, 11 'bundle_freetype%': 1,
12 }], 12 }],
13 ], 13 ],
14 }, 14 },
15 'target_defaults': { 15 'target_defaults': {
16 'defines' : [ 16 'defines' : [
17 'OPJ_STATIC', 17 'OPJ_STATIC',
18 'PNG_PREFIX', 18 'PNG_PREFIX',
19 'PNGPREFIX_H', 19 'PNGPREFIX_H',
20 'PNG_USE_READ_MACROS', 20 'PNG_USE_READ_MACROS',
21 'V8_DEPRECATION_WARNINGS', 21 'V8_DEPRECATION_WARNINGS',
22 '_CRT_SECURE_NO_WARNINGS', 22 '_CRT_SECURE_NO_WARNINGS',
23 ], 23 ],
24 'include_dirs': [ 24 'include_dirs': [
25 'third_party/freetype/include', 25 'third_party/freetype/include',
26 'third_party/freetype/include/freetype',
26 ], 27 ],
27 'conditions': [ 28 'conditions': [
28 ['pdf_use_skia==1', { 29 ['pdf_use_skia==1', {
29 'defines': ['_SKIA_SUPPORT_'], 30 'defines': ['_SKIA_SUPPORT_'],
30 }], 31 }],
31 ['pdf_enable_v8==1', { 32 ['pdf_enable_v8==1', {
32 'defines': ['PDF_ENABLE_V8'], 33 'defines': ['PDF_ENABLE_V8'],
33 }], 34 }],
34 ['pdf_enable_xfa==1', { 35 ['pdf_enable_xfa==1', {
35 'defines': ['PDF_ENABLE_XFA'], 36 'defines': ['PDF_ENABLE_XFA'],
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 ], 843 ],
843 'dependencies': [ 844 'dependencies': [
844 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', 845 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
845 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform', 846 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
846 ], 847 ],
847 }], 848 }],
848 ], 849 ],
849 }, 850 },
850 ], 851 ],
851 } 852 }
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698