summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJochen Eisinger <jochen@chromium.org>2015-12-10 11:45:30 +0100
committerJochen Eisinger <jochen@chromium.org>2015-12-10 11:45:30 +0100
commit94edf0c37d1ee6a03697375b9e227071ff2ee69d (patch)
tree7199fd74afb3609bfa8656f495654f204557c470 /BUILD.gn
parentd9324d8f7345d4546c06c4a9d6cd497b0f7f3ad2 (diff)
downloadpdfium-94edf0c37d1ee6a03697375b9e227071ff2ee69d.tar.xz
Fix BUILD.gn to load the correct V8 snapshot configurationchromium/2589chromium/2588
BUG=pdfium:299 R=kcc@chromium.org Review URL: https://codereview.chromium.org/1520443002 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index f1583abaf0..3b029b5fb0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build_overrides/v8.gni")
import("//testing/test.gni")
import("pdfium.gni")
@@ -170,6 +171,7 @@ source_set("test_support") {
"//v8",
"//v8/include",
]
+ configs += [ "//v8:external_startup_data" ]
}
configs += [ ":pdfium_config" ]
}
@@ -688,6 +690,7 @@ static_library("javascript") {
public_deps = [
"//v8",
]
+ configs += [ "//v8:external_startup_data" ]
} else {
sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ]
}
@@ -780,6 +783,7 @@ test("pdfium_embeddertests") {
"//v8",
"//v8/include",
]
+ configs += [ "//v8:external_startup_data" ]
}
configs += [ ":pdfium_config" ]
}