diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-02 17:11:31 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-06 16:53:06 +0200 |
commit | 704fd8f3745527fc080f96e54e5ec1857c505399 (patch) | |
tree | bff68e8a731f3618d3e8f1708aa9de194bc1f612 /deps/v8/tools/gyp/v8.gyp | |
parent | eec43351c44c0bec31a83e1a28be15e30722936a (diff) | |
download | node-new-704fd8f3745527fc080f96e54e5ec1857c505399.tar.gz |
v8: upgrade to v3.20.2
Diffstat (limited to 'deps/v8/tools/gyp/v8.gyp')
-rw-r--r-- | deps/v8/tools/gyp/v8.gyp | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/deps/v8/tools/gyp/v8.gyp b/deps/v8/tools/gyp/v8.gyp index ed37e72261..892e437dce 100644 --- a/deps/v8/tools/gyp/v8.gyp +++ b/deps/v8/tools/gyp/v8.gyp @@ -26,6 +26,9 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. { + 'variables': { + 'v8_code': 1, + }, 'includes': ['../../build/common.gypi'], 'targets': [ { @@ -126,6 +129,11 @@ ], }, }], + ['v8_enable_i18n_support==1', { + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc', + ], + }], ], 'dependencies': [ 'v8_base.<(v8_target_arch)', @@ -189,6 +197,11 @@ 'V8_SHARED', ], }], + ['v8_enable_i18n_support==1', { + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc', + ], + }], ] }, { @@ -324,12 +337,22 @@ '../../src/heap.h', '../../src/hydrogen-environment-liveness.cc', '../../src/hydrogen-environment-liveness.h', + '../../src/hydrogen-escape-analysis.cc', + '../../src/hydrogen-escape-analysis.h', '../../src/hydrogen-instructions.cc', '../../src/hydrogen-instructions.h', '../../src/hydrogen.cc', '../../src/hydrogen.h', '../../src/hydrogen-gvn.cc', '../../src/hydrogen-gvn.h', + '../../src/hydrogen-infer-representation.cc', + '../../src/hydrogen-infer-representation.h', + '../../src/hydrogen-range-analysis.cc', + '../../src/hydrogen-range-analysis.h', + '../../src/hydrogen-uint32-analysis.cc', + '../../src/hydrogen-uint32-analysis.h', + '../../src/hydrogen-osr.cc', + '../../src/hydrogen-osr.h', '../../src/ic-inl.h', '../../src/ic.cc', '../../src/ic.h', @@ -772,6 +795,27 @@ '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', ] }], + ['v8_enable_i18n_support==1', { + 'sources': [ + '../../src/extensions/i18n/break-iterator.cc', + '../../src/extensions/i18n/break-iterator.h', + '../../src/extensions/i18n/collator.cc', + '../../src/extensions/i18n/collator.h', + '../../src/extensions/i18n/date-format.cc', + '../../src/extensions/i18n/date-format.h', + '../../src/extensions/i18n/i18n-extension.cc', + '../../src/extensions/i18n/i18n-extension.h', + '../../src/extensions/i18n/i18n-utils.cc', + '../../src/extensions/i18n/i18n-utils.h', + '../../src/extensions/i18n/locale.cc', + '../../src/extensions/i18n/locale.h', + '../../src/extensions/i18n/number-format.cc', + '../../src/extensions/i18n/number-format.h', + ], + 'dependencies': [ + '<(DEPTH)/third_party/icu/icu.gyp:*', + ] + }], ], }, { @@ -783,6 +827,26 @@ }, { 'toolsets': ['target'], }], + ['v8_enable_i18n_support==1', { + 'actions': [{ + 'action_name': 'js2c_i18n', + 'inputs': [ + '../../tools/js2c.py', + '<@(i18n_library_files)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc', + ], + 'action': [ + 'python', + '../../tools/js2c.py', + '<@(_outputs)', + 'I18N', + '<(v8_compress_startup_data)', + '<@(i18n_library_files)' + ], + }], + }], ], 'variables': { 'library_files': [ @@ -812,6 +876,18 @@ '../../src/typedarray.js', '../../src/generator.js' ], + 'i18n_library_files': [ + '../../src/extensions/i18n/header.js', + '../../src/extensions/i18n/globals.js', + '../../src/extensions/i18n/locale.js', + '../../src/extensions/i18n/collator.js', + '../../src/extensions/i18n/number-format.js', + '../../src/extensions/i18n/date-format.js', + '../../src/extensions/i18n/break-iterator.js', + '../../src/extensions/i18n/i18n-utils.js', + '../../src/extensions/i18n/overrides.js', + '../../src/extensions/i18n/footer.js', + ], }, 'actions': [ { |