summaryrefslogtreecommitdiff
path: root/pdfium.gyp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-16 16:29:44 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-16 16:29:44 -0700
commit2ca8fcbc8a7a3ef6adfac154c47068c1696205d0 (patch)
treede3f825c75b1b92908825f68af8a4e7146cf97fd /pdfium.gyp
parentea44bd064a86679a47a7265020f997d6e3b88336 (diff)
downloadpdfium-2ca8fcbc8a7a3ef6adfac154c47068c1696205d0.tar.xz
Separate agg-authored code from fx-authored code.chromium/2439chromium/2438chromium/2437chromium/2436chromium/2435
Creates a separate library so we can apply less-strict warnings to the code we can't change from upstream vs. the code we can change, reducing noise in the standalone build. Remove needless foo.{cpp,h} files that merely perform indirection via #include "some_other_path/foo.{cpp,h}". BUG=pdfium:166 R=brucedawson@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/1152743007.
Diffstat (limited to 'pdfium.gyp')
-rw-r--r--pdfium.gyp24
1 files changed, 7 insertions, 17 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index c8894aa569..3bcd1f6696 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -551,7 +551,12 @@
{
'target_name': 'fxge',
'type': 'static_library',
- 'ldflags': [ '-L<(PRODUCT_DIR)',],
+ 'ldflags': [
+ '-L<(PRODUCT_DIR)',
+ ],
+ 'dependencies': [
+ 'third_party/third_party.gyp:fx_agg',
+ ],
'sources': [
'core/include/fxge/fpf.h',
'core/include/fxge/fx_dib.h',
@@ -560,23 +565,8 @@
'core/include/fxge/fx_ge.h',
'core/include/fxge/fx_ge_apple.h',
'core/include/fxge/fx_ge_win32.h',
- 'core/src/fxge/agg/include/fxfx_agg_basics.h',
- 'core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h',
- 'core/src/fxge/agg/include/fxfx_agg_conv_dash.h',
- 'core/src/fxge/agg/include/fxfx_agg_conv_stroke.h',
- 'core/src/fxge/agg/include/fxfx_agg_curves.h',
- 'core/src/fxge/agg/include/fxfx_agg_path_storage.h',
- 'core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h',
- 'core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h',
- 'core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h',
- 'core/src/fxge/agg/include/fxfx_agg_scanline_u.h',
'core/src/fxge/agg/include/fx_agg_driver.h',
- 'core/src/fxge/agg/src/fxfx_agg_curves.cpp',
- 'core/src/fxge/agg/src/fxfx_agg_driver.cpp',
- 'core/src/fxge/agg/src/fxfx_agg_path_storage.cpp',
- 'core/src/fxge/agg/src/fxfx_agg_rasterizer_scanline_aa.cpp',
- 'core/src/fxge/agg/src/fxfx_agg_vcgen_dash.cpp',
- 'core/src/fxge/agg/src/fxfx_agg_vcgen_stroke.cpp',
+ 'core/src/fxge/agg/src/fx_agg_driver.cpp',
'core/src/fxge/android/fpf_skiafont.cpp',
'core/src/fxge/android/fpf_skiafont.h',
'core/src/fxge/android/fpf_skiafontmgr.cpp',