summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser
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 /core/fpdfapi/parser
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 'core/fpdfapi/parser')
-rw-r--r--core/fpdfapi/parser/BUILD.gn12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/BUILD.gn b/core/fpdfapi/parser/BUILD.gn
index 52de29dfc9..45035b3d0e 100644
--- a/core/fpdfapi/parser/BUILD.gn
+++ b/core/fpdfapi/parser/BUILD.gn
@@ -115,3 +115,15 @@ pdfium_unittest_source_set("unittests") {
cflags = [ "-Wno-inconsistent-missing-override" ]
}
}
+
+pdfium_embeddertest_source_set("embeddertests") {
+ sources = [
+ "cpdf_parser_embeddertest.cpp",
+ "cpdf_security_handler_embeddertest.cpp",
+ "fpdf_parser_decode_embeddertest.cpp",
+ ]
+ deps = [
+ ":parser",
+ ]
+ pdfium_root_dir = "../../../"
+}