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

Side by Side Diff: pdfium.gyp

Issue 891993003: Fix GN PDFium build when building all. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
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 | « BUILD.gn ('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': [ 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 ], 18 ],
19 'include_dirs': [ 19 'include_dirs': [
20 'third_party/freetype/include', 20 'third_party/freetype/include',
21 ], 21 ],
22 'conditions': [ 22 'conditions': [
23 ['pdf_use_skia==1', { 23 ['pdf_use_skia==1', {
24 'defines': ['_SKIA_SUPPORT_'], 24 'defines': ['_SKIA_SUPPORT_'],
25 }], 25 }],
26 ['bundle_freetype==1', {
27 'defines' : [
28 'FT2_BUILD_LIBRARY',
29 ],
30 }],
31 ['OS=="linux"', { 26 ['OS=="linux"', {
32 'conditions': [ 27 'conditions': [
33 ['target_arch=="x64"', { 28 ['target_arch=="x64"', {
34 'defines' : [ '_FX_CPU_=_FX_X64_', ], 29 'defines' : [ '_FX_CPU_=_FX_X64_', ],
35 'cflags': [ '-fPIC', ], 30 'cflags': [ '-fPIC', ],
36 }], 31 }],
37 ['target_arch=="ia32"', { 32 ['target_arch=="ia32"', {
38 'defines' : [ '_FX_CPU_=_FX_X86_', ], 33 'defines' : [ '_FX_CPU_=_FX_X86_', ],
39 }], 34 }],
40 ], 35 ],
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 'fpdfsdk/src/fpdftext_embeddertest.cpp', 860 'fpdfsdk/src/fpdftext_embeddertest.cpp',
866 'fpdfsdk/src/fpdfview_embeddertest.cpp', 861 'fpdfsdk/src/fpdfview_embeddertest.cpp',
867 'testing/embedder_test.cpp', 862 'testing/embedder_test.cpp',
868 'testing/embedder_test.h', 863 'testing/embedder_test.h',
869 'testing/fx_string_testhelpers.cpp', 864 'testing/fx_string_testhelpers.cpp',
870 'testing/fx_string_testhelpers.h', 865 'testing/fx_string_testhelpers.h',
871 ], 866 ],
872 }, 867 },
873 ], 868 ],
874 } 869 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698