diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-09 14:05:37 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-09 14:05:37 -0700 |
commit | ea18d0b4bdb7e993f3c78b83493e3dac9acc4a44 (patch) | |
tree | 525bea4e4c133f7bc22a4041566004d999ca21ee | |
parent | 70476c21026f533ffb916b6a7ce387639f34e696 (diff) | |
download | pdfium-ea18d0b4bdb7e993f3c78b83493e3dac9acc4a44.tar.xz |
Update DEPS to pull V8 from the new repository.
Also update build files to deal with the new revision. The main issue
is the external startup files for v8. The default is not to use them
(simpler for standalone users to deploy), but can be built either way.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1059023003
-rw-r--r-- | DEPS | 2 | ||||
-rw-r--r-- | build/standalone.gypi | 13 |
2 files changed, 10 insertions, 5 deletions
@@ -14,7 +14,7 @@ deps = { "https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038", "v8": - "https://chromium.googlesource.com/external/v8", + "https://chromium.googlesource.com/v8/v8.git", "v8/third_party/icu": "https://chromium.googlesource.com/chromium/deps/icu46", diff --git a/build/standalone.gypi b/build/standalone.gypi index 645b9f2b7b..8aecd30446 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -42,6 +42,7 @@ 'target_arch%': '<(target_arch)', 'werror%': '-Werror', 'v8_optimized_debug%': 0, + 'v8_use_external_startup_data%': 0, 'icu_gyp_path': '../v8/third_party/icu/icu.gyp', 'conditions': [ ['OS == "win"', { @@ -57,7 +58,7 @@ 'Debug': { 'cflags': [ '-g', - '-O0', + '-O0', '-fdata-sections', '-ffunction-sections', ], @@ -140,9 +141,6 @@ 'msvs_configuration_platform': 'x64', }, }, - 'defines!': [ - 'DEBUG', - ], 'cflags': [ '-Wall', '-W', @@ -264,6 +262,13 @@ ], # target_conditions }, # target_defaults }], # OS=="mac" + ['v8_use_external_startup_data==1', { + 'target_defaults': { + 'defines': [ + 'V8_USE_EXTERNAL_STARTUP_DATA', + ], + }, + }], # v8_use_external_startup_data==1 ], 'xcode_settings': { # See comment in Chromium's common.gypi for why this is needed. |