Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 7581d73420cacdbdf0bfd1034bf20ea15d1335fd..4f97e34752f1fe68a1d3167606eeedda9d02d0b7 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" ] |
+} |