diff options
author | caryclark <caryclark@google.com> | 2016-05-19 07:01:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-19 07:01:03 -0700 |
commit | 749c14c24f7e8a838efc077a45ca7fe41db3e2ee (patch) | |
tree | af5fd5b293e505eb04610214f3c22839ccc0a199 /third_party/third_party.gyp | |
parent | 7b214237e2be6a0d962987d222c73161620c0a27 (diff) | |
download | pdfium-749c14c24f7e8a838efc077a45ca7fe41db3e2ee.tar.xz |
Remove agg from skia build
This removes the last vestiges of antigrain from
a Skia-specific build.
R=dsinclair@chromium.org,tsepez@chromium.org,thestig@chromium.org,reed@google.com
Review-Url: https://codereview.chromium.org/1998623002
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r-- | third_party/third_party.gyp | 70 |
1 files changed, 37 insertions, 33 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp index 41db3b28db..fae4c8f1f4 100644 --- a/third_party/third_party.gyp +++ b/third_party/third_party.gyp @@ -107,39 +107,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' ], - }], - ], - 'variables': { - 'clang_warning_flags': [ - # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. - '-Wno-unused-function', - ], - }, - }, - { 'target_name': 'fx_lcms2', 'type': 'static_library', 'sources': [ @@ -439,5 +406,42 @@ }, ], }], + ['pdf_use_skia!=1', { + 'targets': [ + { + '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', ], + }], + ], + 'variables': { + 'clang_warning_flags': [ + # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. + '-Wno-unused-function', + ], + }, + }, + ], + }], ], } |