summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-22 17:25:59 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-22 17:25:59 -0800
commitaf9be4fe77e1067f1cc265de8aae547f6358bc44 (patch)
treee078639934a554db6e8b033161fa791739215493
parent36faa4ac92100936d108354a066218d1aae327a3 (diff)
downloadpdfium-af9be4fe77e1067f1cc265de8aae547f6358bc44.tar.xz
Add pdfium_embeddertests to BUILD.gn
This brings BUILD.gn into equivalence with pdfium.gyp. Blocked on https://codereview.chromium.org/851283006/ R=thestig@chromium.org Review URL: https://codereview.chromium.org/871453004
-rw-r--r--BUILD.gn18
1 files changed, 18 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 7581d73420..4f97e34752 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -810,3 +810,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" ]
+}