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

Side by Side Diff: pdfium.gyp

Issue 889253003: Fix XFA build after combining PDFium into Chromium binary. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 10 months 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 | « core/src/fxcodec/fx_lpng/lpng_v163/png.h ('k') | no next file » | 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 'conditions': [ 4 'conditions': [
5 ['OS=="linux"', { 5 ['OS=="linux"', {
6 'bundle_freetype%': 0, 6 'bundle_freetype%': 0,
7 }, { # On Android there's no system FreeType. On Windows and Mac, only a 7 }, { # On Android there's no system FreeType. On Windows and Mac, only a
8 # few methods are used from it. 8 # few methods are used from it.
9 'bundle_freetype%': 1, 9 'bundle_freetype%': 1,
10 }], 10 }],
11 ], 11 ],
12 }, 12 },
13 'target_defaults': { 13 'target_defaults': {
14 'defines' : [ 14 'defines' : [
15 '_FPDFSDK_LIB', 15 '_FPDFSDK_LIB',
16 '_NO_GDIPLUS_', # workaround text rendering issues on Windows 16 '_NO_GDIPLUS_', # workaround text rendering issues on Windows
17 'OPJ_STATIC', 17 'OPJ_STATIC',
18 'PNG_PREFIX',
19 'PNGPREFIX_H',
20 'PNG_USE_READ_MACROS',
18 ], 21 ],
19 'include_dirs': [ 22 'include_dirs': [
20 'third_party/freetype/include', 23 'third_party/freetype/include',
21 ], 24 ],
22 'conditions': [ 25 'conditions': [
23 ['pdf_use_skia==1', { 26 ['pdf_use_skia==1', {
24 'defines': ['_SKIA_SUPPORT_'], 27 'defines': ['_SKIA_SUPPORT_'],
25 }], 28 }],
26 ['OS=="linux"', { 29 ['OS=="linux"', {
27 'conditions': [ 30 'conditions': [
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 'fpdfsdk/src/fpdftext_embeddertest.cpp', 945 'fpdfsdk/src/fpdftext_embeddertest.cpp',
943 'fpdfsdk/src/fpdfview_embeddertest.cpp', 946 'fpdfsdk/src/fpdfview_embeddertest.cpp',
944 'testing/embedder_test.cpp', 947 'testing/embedder_test.cpp',
945 'testing/embedder_test.h', 948 'testing/embedder_test.h',
946 'testing/fx_string_testhelpers.cpp', 949 'testing/fx_string_testhelpers.cpp',
947 'testing/fx_string_testhelpers.h', 950 'testing/fx_string_testhelpers.h',
948 ], 951 ],
949 }, 952 },
950 ], 953 ],
951 } 954 }
OLDNEW
« no previous file with comments | « core/src/fxcodec/fx_lpng/lpng_v163/png.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698