summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-05-19 07:01:03 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-19 07:01:03 -0700
commit749c14c24f7e8a838efc077a45ca7fe41db3e2ee (patch)
treeaf5fd5b293e505eb04610214f3c22839ccc0a199 /BUILD.gn
parent7b214237e2be6a0d962987d222c73161620c0a27 (diff)
downloadpdfium-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 'BUILD.gn')
-rw-r--r--BUILD.gn17
1 files changed, 11 insertions, 6 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 5e538e0096..b1ecc04a32 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -647,12 +647,7 @@ static_library("fxcrt") {
}
static_library("fxge") {
- deps = [
- "third_party:fx_agg",
- ]
sources = [
- "core/fxge/agg/fx_agg_driver.cpp",
- "core/fxge/agg/fx_agg_driver.h",
"core/fxge/android/fpf_skiafont.cpp",
"core/fxge/android/fpf_skiafont.h",
"core/fxge/android/fpf_skiafontmgr.cpp",
@@ -714,7 +709,17 @@ static_library("fxge") {
if (pdf_use_skia) {
sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
- deps += [ "//skia" ]
+ deps = [
+ "//skia",
+ ]
+ } else {
+ sources += [
+ "core/fxge/agg/fx_agg_driver.cpp",
+ "core/fxge/agg/fx_agg_driver.h",
+ ]
+ deps = [
+ "third_party:fx_agg",
+ ]
}
if (is_win) {