summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-22 17:36:32 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-22 17:36:32 -0800
commit1b1bb499613adc8b051ed602b04bea8758e582e6 (patch)
tree894a89762946cda8d5a015eb9e4fb587adde0749 /BUILD.gn
parent19c6160ba46af0ec266c9b3903a65ef3186176df (diff)
downloadpdfium-1b1bb499613adc8b051ed602b04bea8758e582e6.tar.xz
Merge to XFA: pdfium_embeddertests fixes
This pulls in: af9be4f Add pdfium_embeddertests to BUILD.gn 36faa4a Fix build of pdfium_embeddertest under V8_USE_EXTERNAL_STARTUP_DATA. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/873453005
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn18
1 files changed, 18 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index bd3d3bc104..87f360d2b5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1560,3 +1560,21 @@ test("pdfium_unittests") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
+
+test("pdfium_embeddertests") {
+ sources = [
+ "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
+ "fpdfsdk/src/fpdfview_embeddertest.cpp",
+ "testing/embedder_test.cpp",
+ "testing/embedder_test.h",
+ "testing/fx_string_testhelpers.cpp",
+ "testing/fx_string_testhelpers.h",
+ ]
+ deps = [
+ "//testing/gtest",
+ ":pdfium"
+ ]
+ include_dirs = [ "." ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
+}