Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: tools/gyp/v8.gyp

Issue 23414008: Revert "Snapshot i18n Javascript code" and "Fix mjsunit/debug-script after r16298". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/debug-script.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index 8be7ded9fd94356b773ec0abad4cb048fff27c03..eefd142b7042040d7b6f298e37b8e4eeff57e0ac 100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -129,6 +129,11 @@
],
},
}],
+ ['v8_enable_i18n_support==1', {
+ 'sources': [
+ '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc',
+ ],
+ }],
],
'dependencies': [
'v8_base.<(v8_target_arch)',
@@ -192,6 +197,11 @@
'V8_SHARED',
],
}],
+ ['v8_enable_i18n_support==1', {
+ 'sources': [
+ '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc',
+ ],
+ }],
]
},
{
@@ -814,6 +824,10 @@
]
}],
['v8_enable_i18n_support==1', {
+ 'sources': [
+ '../../src/extensions/i18n/i18n-extension.cc',
+ '../../src/extensions/i18n/i18n-extension.h',
+ ],
'dependencies': [
'<(DEPTH)/third_party/icu/icu.gyp:icui18n',
'<(DEPTH)/third_party/icu/icu.gyp:icuuc',
@@ -841,15 +855,24 @@
'toolsets': ['target'],
}],
['v8_enable_i18n_support==1', {
- 'variables': {
- 'i18n_library_files': [
- '../../src/i18n.js',
+ 'actions': [{
+ 'action_name': 'js2c_i18n',
+ 'inputs': [
+ '../../tools/js2c.py',
+ '<@(i18n_library_files)',
],
- },
- }, {
- 'variables': {
- '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': {
@@ -883,6 +906,18 @@
'../../src/harmony-string.js',
'../../src/harmony-array.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': [
{
@@ -890,7 +925,6 @@
'inputs': [
'../../tools/js2c.py',
'<@(library_files)',
- '<@(i18n_library_files)',
],
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
@@ -901,8 +935,7 @@
'<@(_outputs)',
'CORE',
'<(v8_compress_startup_data)',
- '<@(library_files)',
- '<@(i18n_library_files)',
+ '<@(library_files)'
],
},
{
« no previous file with comments | « test/mjsunit/debug-script.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698