Fix pdfium_embeddertests on XFA.
[pdfium.git] / BUILD.gn
index 7fb5963..830e7d1 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1586,9 +1586,14 @@ test("pdfium_embeddertests") {
   deps = [
     "//testing/gmock",
     "//testing/gtest",
+    "//v8:v8_libplatform",
     ":pdfium"
   ]
-  include_dirs = [ "." ]
+  include_dirs = [
+    ".",
+    "//v8",
+    "//v8/include",
+  ]
   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
 }