diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-12-10 14:38:06 +0100 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-12-10 14:38:06 +0100 |
commit | 7ed503d2dbe0b51550f85df1c47990d12eb68f59 (patch) | |
tree | af1f0a9a1308589f71c9b824f983a76f33c083b5 | |
parent | 36a9d086bc8a89d699461b3a03c56745ceae98c3 (diff) | |
download | pdfium-7ed503d2dbe0b51550f85df1c47990d12eb68f59.tar.xz |
Fix BUILD.gn to load the correct V8 snapshot configuration
BUG=pdfium:299
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1520443002 .
(cherry picked from commit 94edf0c37d1ee6a03697375b9e227071ff2ee69d)
Review URL: https://codereview.chromium.org/1517653003 .
-rw-r--r-- | BUILD.gn | 4 | ||||
-rw-r--r-- | samples/BUILD.gn | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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") @@ -183,6 +184,7 @@ source_set("test_support") { "//v8", "//v8/include", ] + configs += [ "//v8:external_startup_data" ] } configs += [ ":pdfium_config" ] } @@ -725,6 +727,7 @@ static_library("javascript") { public_deps = [ "//v8", ] + configs += [ "//v8:external_startup_data" ] } else { sources += [ "fpdfsdk/src/javascript/JS_Runtime_Stub.cpp" ] } @@ -1522,6 +1525,7 @@ test("pdfium_embeddertests") { "//v8", "//v8/include", ] + configs += [ "//v8:external_startup_data" ] } configs += [ ":pdfium_config" ] } diff --git a/samples/BUILD.gn b/samples/BUILD.gn index e1192c4a43..e3652086e4 100644 --- a/samples/BUILD.gn +++ b/samples/BUILD.gn @@ -3,6 +3,7 @@ # found in the LICENSE file. import("//build/config/sanitizers/sanitizers.gni") +import("//build_overrides/v8.gni") import("../pdfium.gni") group("samples") { @@ -54,6 +55,7 @@ executable("pdfium_test") { "//v8", "//v8/include", ] + configs += [ "//v8:external_startup_data" ] } configs += [ ":pdfium_samples_config" ] } |