summaryrefslogtreecommitdiff
path: root/fpdfsdk/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-15 23:51:28 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-15 23:51:28 +0000
commit1929d6e1d44ed9bd692c930d5cf79fb2bd80f1e6 (patch)
treeeb99fda121d93741b79d65cf22bf90100093d90a /fpdfsdk/BUILD.gn
parenta996ff444d4bf57a78d59dde59b280ca0542962a (diff)
downloadpdfium-1929d6e1d44ed9bd692c930d5cf79fb2bd80f1e6.tar.xz
Split pdfium_embeddertests sources.chromium/3582
Move foo_embeddertest.cpp to the same BUILD.gn file as foo.cpp. Set up dependencies to make pdfium_embeddertests pass gn check. Change-Id: If1fe67c261960c35c344c1047950cd7fdb32c4a1 Reviewed-on: https://pdfium-review.googlesource.com/c/43997 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/BUILD.gn')
-rw-r--r--fpdfsdk/BUILD.gn31
1 files changed, 31 insertions, 0 deletions
diff --git a/fpdfsdk/BUILD.gn b/fpdfsdk/BUILD.gn
index 3799d35107..1759ccf767 100644
--- a/fpdfsdk/BUILD.gn
+++ b/fpdfsdk/BUILD.gn
@@ -105,3 +105,34 @@ pdfium_unittest_source_set("unittests") {
]
pdfium_root_dir = "../"
}
+
+pdfium_embeddertest_source_set("embeddertests") {
+ sources = [
+ "cpdfsdk_annotiterator_embeddertest.cpp",
+ "fpdf_annot_embeddertest.cpp",
+ "fpdf_attachment_embeddertest.cpp",
+ "fpdf_dataavail_embeddertest.cpp",
+ "fpdf_doc_embeddertest.cpp",
+ "fpdf_edit_embeddertest.cpp",
+ "fpdf_editpath_embeddertest.cpp",
+ "fpdf_ext_embeddertest.cpp",
+ "fpdf_flatten_embeddertest.cpp",
+ "fpdf_formfill_embeddertest.cpp",
+ "fpdf_ppo_embeddertest.cpp",
+ "fpdf_save_embeddertest.cpp",
+ "fpdf_structtree_embeddertest.cpp",
+ "fpdf_text_embeddertest.cpp",
+ "fpdf_transformpage_embeddertest.cpp",
+ "fpdf_view_c_api_test.c",
+ "fpdf_view_c_api_test.h",
+ "fpdf_view_embeddertest.cpp",
+ ]
+ deps = [
+ ":fpdfsdk",
+ "../core/fpdfapi/font",
+ "../core/fpdfapi/page",
+ "../core/fpdfapi/parser",
+ "../core/fxge",
+ ]
+ pdfium_root_dir = "../"
+}