summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-12 18:33:51 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 18:33:51 +0000
commitfaa5145146ad2bc95f19b520a83ace65a194e1e6 (patch)
treef655caeb37df57bf36777aa9efc914928261dbab /xfa/fxgraphics
parent26177f27d4cf7191aa40da021424e820e8635e52 (diff)
downloadpdfium-faa5145146ad2bc95f19b520a83ace65a194e1e6.tar.xz
Split xfa build rules into various BUILD.gn files in xfa/.
Change-Id: I3e6624d0e7af6c4f7ec9674d5990ae25cc3954d0 Reviewed-on: https://pdfium-review.googlesource.com/c/43941 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxgraphics')
-rw-r--r--xfa/fxgraphics/BUILD.gn28
1 files changed, 28 insertions, 0 deletions
diff --git a/xfa/fxgraphics/BUILD.gn b/xfa/fxgraphics/BUILD.gn
new file mode 100644
index 0000000000..99087f69e5
--- /dev/null
+++ b/xfa/fxgraphics/BUILD.gn
@@ -0,0 +1,28 @@
+# Copyright 2018 The PDFium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/jumbo.gni")
+import("../../pdfium.gni")
+
+assert(pdf_enable_xfa)
+
+jumbo_source_set("fxgraphics") {
+ sources = [
+ "cxfa_gecolor.cpp",
+ "cxfa_gecolor.h",
+ "cxfa_gepath.cpp",
+ "cxfa_gepath.h",
+ "cxfa_gepattern.cpp",
+ "cxfa_gepattern.h",
+ "cxfa_geshading.cpp",
+ "cxfa_geshading.h",
+ "cxfa_graphics.cpp",
+ "cxfa_graphics.h",
+ ]
+ configs += [
+ "../../:pdfium_core_config",
+ "../:xfa_warnings",
+ ]
+ visibility = [ "../../*" ]
+}