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

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: 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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 '<(DEPTH)' 821 '<(DEPTH)'
822 ], 822 ],
823 'sources': [ 823 'sources': [
824 'testing/fx_string_testhelpers.h', 824 'testing/fx_string_testhelpers.h',
825 'testing/fx_string_testhelpers.cpp', 825 'testing/fx_string_testhelpers.cpp',
826 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', 826 'core/src/fxcrt/fx_basic_bstring_unittest.cpp',
827 ], 827 ],
828 }, 828 },
829 ], 829 ],
830 } 830 }
OLDNEW
« core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c ('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