From 2ca8fcbc8a7a3ef6adfac154c47068c1696205d0 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 16 Jun 2015 16:29:44 -0700 Subject: Separate agg-authored code from fx-authored code. 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. --- pdfium.gyp | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'pdfium.gyp') 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', -- cgit v1.2.3