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

Unified Diff: tools/gyp/v8.gyp

Issue 18487004: Import the v8-i18n extension into v8 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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
« src/extensions/i18n/date-format.js ('K') | « src/natives.h ('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 eedd5ea080381cd11a28d285b57d138fb4e6ac5e..d701e941065ea5eb6aa5f18177e467fd2da65b81 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',
+ ],
+ }],
]
},
{
@@ -779,6 +789,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:*',
+ ]
+ }],
],
},
{
@@ -790,6 +821,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': [
@@ -819,6 +870,18 @@
'../../src/typedarray.js',
'../../src/generator.js'
],
+ 'i18n_library_files': [
+ '../../src/extensions/i18n/break-iterator.js',
+ '../../src/extensions/i18n/collator.js',
+ '../../src/extensions/i18n/date-format.js',
+ '../../src/extensions/i18n/footer.js',
+ '../../src/extensions/i18n/globals.js',
+ '../../src/extensions/i18n/header.js',
+ '../../src/extensions/i18n/i18n-utils.js',
+ '../../src/extensions/i18n/locale.js',
+ '../../src/extensions/i18n/number-format.js',
+ '../../src/extensions/i18n/overrides.js',
+ ],
},
'actions': [
{
« src/extensions/i18n/date-format.js ('K') | « src/natives.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698