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

Side by Side Diff: pdfium.gyp

Issue 900433002: Merge the following changes to XFA branch: (Closed) Base URL: https://pdfium.googlesource.com/pdfium@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/fxge/ge/fx_ge_text.cpp ('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 'conditions': [
5 ['OS=="linux"', {
6 'bundle_freetype%': 0,
7 }, { # On Android there's no system FreeType. On Windows and Mac, only a
8 # few methods are used from it.
9 'bundle_freetype%': 1,
10 }],
11 ],
4 }, 12 },
5 'target_defaults': { 13 'target_defaults': {
6 'defines' : [ 14 'defines' : [
7 'FT2_BUILD_LIBRARY',
8 '_FPDFSDK_LIB', 15 '_FPDFSDK_LIB',
9 '_NO_GDIPLUS_', # workaround text rendering issues on Windows 16 '_NO_GDIPLUS_', # workaround text rendering issues on Windows
10 'OPJ_STATIC', 17 'OPJ_STATIC',
11 ], 18 ],
12 'include_dirs': [ 19 'include_dirs': [
13 'third_party/freetype/include', 20 'third_party/freetype/include',
14 ], 21 ],
15 'conditions': [ 22 'conditions': [
16 ['pdf_use_skia==1', { 23 ['pdf_use_skia==1', {
17 'defines': ['_SKIA_SUPPORT_'], 24 'defines': ['_SKIA_SUPPORT_'],
(...skipping 13 matching lines...) Expand all
31 'msvs_disabled_warnings': [ 38 'msvs_disabled_warnings': [
32 4005, 4018, 4146, 4333, 4345, 4267 39 4005, 4018, 4146, 4333, 4345, 4267
33 ], 40 ],
34 }, 41 },
35 'targets': [ 42 'targets': [
36 { 43 {
37 'target_name': 'pdfium', 44 'target_name': 'pdfium',
38 'type': 'static_library', 45 'type': 'static_library',
39 'dependencies': [ 46 'dependencies': [
40 'third_party/third_party.gyp:bigint', 47 'third_party/third_party.gyp:bigint',
41 'third_party/third_party.gyp:freetype',
42 'third_party/third_party.gyp:safemath', 48 'third_party/third_party.gyp:safemath',
43 'fdrm', 49 'fdrm',
44 'fpdfdoc', 50 'fpdfdoc',
45 'fpdfapi', 51 'fpdfapi',
46 'fpdftext', 52 'fpdftext',
47 'formfiller', 53 'formfiller',
48 'fxcodec', 54 'fxcodec',
49 'fxcrt', 55 'fxcrt',
50 'fxedit', 56 'fxedit',
51 'fxge', 57 'fxge',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 'fpdfsdk/src/resource.h', 102 'fpdfsdk/src/resource.h',
97 'fpdfsdk/include/fpdf_transformpage.h', 103 'fpdfsdk/include/fpdf_transformpage.h',
98 'fpdfsdk/src/fpdf_transformpage.cpp', 104 'fpdfsdk/src/fpdf_transformpage.cpp',
99 ], 105 ],
100 'conditions': [ 106 'conditions': [
101 ['OS!="win"', { 107 ['OS!="win"', {
102 'sources!': [ 108 'sources!': [
103 'fpdfsdk/src/fpdfsdkdll.rc', 109 'fpdfsdk/src/fpdfsdkdll.rc',
104 ], 110 ],
105 }], 111 }],
112 ['bundle_freetype==1', {
113 'dependencies': [
114 'third_party/third_party.gyp:freetype',
115 ],
116 }, {
117 'link_settings': {
118 'libraries': [
119 '-lfreetype',
120 ],
121 },
122 }],
106 ], 123 ],
107 'all_dependent_settings': { 124 'all_dependent_settings': {
108 'msvs_settings': { 125 'msvs_settings': {
109 'VCLinkerTool': { 126 'VCLinkerTool': {
110 'AdditionalDependencies': [ 127 'AdditionalDependencies': [
111 'advapi32.lib', 128 'advapi32.lib',
112 'gdi32.lib', 129 'gdi32.lib',
113 'user32.lib', 130 'user32.lib',
114 ], 131 ],
115 }, 132 },
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 'fpdfsdk/src/fpdftext_embeddertest.cpp', 942 'fpdfsdk/src/fpdftext_embeddertest.cpp',
926 'fpdfsdk/src/fpdfview_embeddertest.cpp', 943 'fpdfsdk/src/fpdfview_embeddertest.cpp',
927 'testing/embedder_test.cpp', 944 'testing/embedder_test.cpp',
928 'testing/embedder_test.h', 945 'testing/embedder_test.h',
929 'testing/fx_string_testhelpers.cpp', 946 'testing/fx_string_testhelpers.cpp',
930 'testing/fx_string_testhelpers.h', 947 'testing/fx_string_testhelpers.h',
931 ], 948 ],
932 }, 949 },
933 ], 950 ],
934 } 951 }
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge_text.cpp ('k') | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698