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

Side by Side Diff: pdfium.gyp

Issue 818363006: fix a few linux compilation warnings (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Restore origina cmslut.c Created 5 years, 11 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
OLDNEW
1 { 1 {
2 'variables': { 2 'variables': {
3 'pdf_use_skia%': 0, 3 'pdf_use_skia%': 0,
4 }, 4 },
5 'target_defaults': { 5 'target_defaults': {
6 'defines' : [ 6 'defines' : [
7 'FT2_BUILD_LIBRARY', 7 'FT2_BUILD_LIBRARY',
8 '_FPDFSDK_LIB', 8 '_FPDFSDK_LIB',
9 '_NO_GDIPLUS_', # workaround text rendering issues on Windows 9 '_NO_GDIPLUS_', # workaround text rendering issues on Windows
10 'OPJ_STATIC', 10 'OPJ_STATIC',
11 ], 11 ],
12 'include_dirs': [ 12 'include_dirs': [
13 'third_party/freetype/include', 13 'third_party/freetype/include',
14 ], 14 ],
15 'conditions': [ 15 'conditions': [
16 ['pdf_use_skia==1', { 16 ['pdf_use_skia==1', {
17 'defines': ['_SKIA_SUPPORT_'], 17 'defines': ['_SKIA_SUPPORT_'],
18 }], 18 }],
19 ['OS=="linux"', { 19 ['OS=="linux"', {
20 'conditions': [ 20 'conditions': [
21 ['target_arch=="x64"', { 21 ['target_arch=="x64"', {
22 'defines' : [ '_FX_CPU_=_FX_X64_', ], 22 'defines' : [ '_FX_CPU_=_FX_X64_', ],
23 'cflags': [ '-fPIC', ], 23 'cflags': [ '-fPIC', '-Wno-sign-compare'],
24 }], 24 }],
25 ['target_arch=="ia32"', { 25 ['target_arch=="ia32"', {
26 'defines' : [ '_FX_CPU_=_FX_X86_', ], 26 'defines' : [ '_FX_CPU_=_FX_X86_', ],
27 }], 27 }],
28 ], 28 ],
29 }], 29 }],
30 ], 30 ],
31 'msvs_disabled_warnings': [ 31 'msvs_disabled_warnings': [
32 4005, 4018, 4146, 4333, 4345, 4267 32 4005, 4018, 4146, 4333, 4345, 4267
33 ], 33 ],
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 'sources': [ 840 'sources': [
841 'fpdfsdk/src/fpdfview_embeddertest.cpp', 841 'fpdfsdk/src/fpdfview_embeddertest.cpp',
842 'testing/embedder_test.cpp', 842 'testing/embedder_test.cpp',
843 'testing/embedder_test.h', 843 'testing/embedder_test.h',
844 'testing/fx_string_testhelpers.cpp', 844 'testing/fx_string_testhelpers.cpp',
845 'testing/fx_string_testhelpers.h', 845 'testing/fx_string_testhelpers.h',
846 ], 846 ],
847 }, 847 },
848 ], 848 ],
849 } 849 }
OLDNEW
« core/src/fxge/ge/fx_ge_linux.cpp ('K') | « fpdfsdk/src/javascript/JS_Object.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698