summaryrefslogtreecommitdiff
path: root/build/standalone.gypi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-09 14:05:37 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-09 14:05:37 -0700
commitea18d0b4bdb7e993f3c78b83493e3dac9acc4a44 (patch)
tree525bea4e4c133f7bc22a4041566004d999ca21ee /build/standalone.gypi
parent70476c21026f533ffb916b6a7ce387639f34e696 (diff)
downloadpdfium-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
Diffstat (limited to 'build/standalone.gypi')
-rw-r--r--build/standalone.gypi13
1 files changed, 9 insertions, 4 deletions
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.