summaryrefslogtreecommitdiff
path: root/BUILD.gn
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 /BUILD.gn
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 'BUILD.gn')
-rw-r--r--BUILD.gn20
1 files changed, 4 insertions, 16 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 54e9594229..d0f2920c99 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -558,6 +558,9 @@ static_library("fxcrt") {
}
static_library("fxge") {
+ deps = [
+ "third_party:fx_agg",
+ ]
sources = [
"core/include/fxge/fpf.h",
"core/include/fxge/fx_dib.h",
@@ -567,22 +570,7 @@ static_library("fxge") {
"core/include/fxge/fx_ge_apple.h",
"core/include/fxge/fx_ge_win32.h",
"core/src/fxge/agg/include/fx_agg_driver.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/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",