summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-17 10:48:05 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-17 10:48:05 -0700
commit16a0b24fb35b6cb2e7e57a42735c0081fb9f2a20 (patch)
treebc99c2e191736376fef0637cc1106d1d97351e7d /third_party/third_party.gyp
parent2ca8fcbc8a7a3ef6adfac154c47068c1696205d0 (diff)
downloadpdfium-16a0b24fb35b6cb2e7e57a42735c0081fb9f2a20.tar.xz
Move lcms2 into third_party
Second CL to apply less restrictive flags to third party. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1181943008.
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r--third_party/third_party.gyp96
1 files changed, 69 insertions, 27 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index 8538001e7f..524416289e 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -21,33 +21,6 @@
],
},
{
- 'target_name': 'fx_agg',
- 'type': 'static_library',
- 'sources': [
- 'agg23/agg_basics.h',
- 'agg23/agg_clip_liang_barsky.h',
- 'agg23/agg_conv_dash.h',
- 'agg23/agg_conv_stroke.h',
- 'agg23/agg_curves.cpp',
- 'agg23/agg_curves.h',
- 'agg23/agg_path_storage.cpp',
- 'agg23/agg_path_storage.h',
- 'agg23/agg_rasterizer_scanline_aa.cpp',
- 'agg23/agg_rasterizer_scanline_aa.h',
- 'agg23/agg_renderer_scanline.h',
- 'agg23/agg_rendering_buffer.h',
- 'agg23/agg_scanline_u.h',
- 'agg23/agg_vcgen_dash.cpp',
- 'agg23/agg_vcgen_stroke.cpp',
- ],
- 'conditions': [
- ['os_posix==1', {
- # library contains several enum vs non-enum conditionals.
- 'cflags': [ '-Wno-extra', ],
- }],
- ],
- },
- {
'target_name': 'freetype',
'type': 'static_library',
'defines': [
@@ -88,6 +61,75 @@
],
},
{
+ 'target_name': 'fx_agg',
+ 'type': 'static_library',
+ 'sources': [
+ 'agg23/agg_basics.h',
+ 'agg23/agg_clip_liang_barsky.h',
+ 'agg23/agg_conv_dash.h',
+ 'agg23/agg_conv_stroke.h',
+ 'agg23/agg_curves.cpp',
+ 'agg23/agg_curves.h',
+ 'agg23/agg_path_storage.cpp',
+ 'agg23/agg_path_storage.h',
+ 'agg23/agg_rasterizer_scanline_aa.cpp',
+ 'agg23/agg_rasterizer_scanline_aa.h',
+ 'agg23/agg_renderer_scanline.h',
+ 'agg23/agg_rendering_buffer.h',
+ 'agg23/agg_scanline_u.h',
+ 'agg23/agg_vcgen_dash.cpp',
+ 'agg23/agg_vcgen_stroke.cpp',
+ ],
+ 'conditions': [
+ ['os_posix==1', {
+ # library contains several enum vs non-enum conditionals.
+ 'cflags': [ '-Wno-extra', ],
+ }],
+ ],
+ },
+ {
+ 'target_name': 'fx_lcms2',
+ 'type': 'static_library',
+ 'sources': [
+ 'lcms2-2.6/include/lcms2.h',
+ 'lcms2-2.6/include/lcms2_plugin.h',
+ 'lcms2-2.6/src/cmscam02.c',
+ 'lcms2-2.6/src/cmscgats.c',
+ 'lcms2-2.6/src/cmscnvrt.c',
+ 'lcms2-2.6/src/cmserr.c',
+ 'lcms2-2.6/src/cmsgamma.c',
+ 'lcms2-2.6/src/cmsgmt.c',
+ 'lcms2-2.6/src/cmshalf.c',
+ 'lcms2-2.6/src/cmsintrp.c',
+ 'lcms2-2.6/src/cmsio0.c',
+ 'lcms2-2.6/src/cmsio1.c',
+ 'lcms2-2.6/src/cmslut.c',
+ 'lcms2-2.6/src/cmsmd5.c',
+ 'lcms2-2.6/src/cmsmtrx.c',
+ 'lcms2-2.6/src/cmsnamed.c',
+ 'lcms2-2.6/src/cmsopt.c',
+ 'lcms2-2.6/src/cmspack.c',
+ 'lcms2-2.6/src/cmspcs.c',
+ 'lcms2-2.6/src/cmsplugin.c',
+ 'lcms2-2.6/src/cmsps2.c',
+ 'lcms2-2.6/src/cmssamp.c',
+ 'lcms2-2.6/src/cmssm.c',
+ 'lcms2-2.6/src/cmstypes.c',
+ 'lcms2-2.6/src/cmsvirt.c',
+ 'lcms2-2.6/src/cmswtpnt.c',
+ 'lcms2-2.6/src/cmsxform.c',
+ ],
+ 'conditions': [
+ ['os_posix==1', {
+ 'cflags': [
+ '-Wno-main',
+ '-Wno-missing-braces',
+ '-Wno-unused',
+ ],
+ }],
+ ],
+ },
+ {
'target_name': 'pdfium_base',
'type': 'none',
'sources': [