summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-03-03 09:49:29 -0800
committerTom Sepez <tsepez@chromium.org>2015-03-03 09:49:29 -0800
commit2785fb46249df5229e057917e54fe161bb0e3517 (patch)
tree1cd2074dbcc4d0d81efb4fde3131002306084f22 /BUILD.gn
parent49ccaeba9e16a04898ded5312e2f8a0178875410 (diff)
downloadpdfium-2785fb46249df5229e057917e54fe161bb0e3517.tar.xz
Fix pdfium_embeddertests on XFA.
Required to avoid a DCHECK() due to recent changes in V8 initialization. This mirrors the changes introduced at b045ed21 to pdfium_test.cpp in pdfium_embeddertest.cpp R=jam@chromium.org Review URL: https://codereview.chromium.org/969243002
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn7
1 files changed, 6 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 7fb5963f67..830e7d1309 100644
--- 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" ]
}