Index: src/v8.gyp |
diff --git a/src/v8.gyp b/src/v8.gyp |
index e85fcb5bb2a833e76ed7f6eb222fc1b02b8cbf00..ef0c562ebcf13f9481da9dc93a3382d0366bd661 100644 |
--- a/src/v8.gyp |
+++ b/src/v8.gyp |
@@ -1603,7 +1603,20 @@ |
'dependencies': [ |
'<(icu_gyp_path):icui18n', |
'<(icu_gyp_path):icuuc', |
- ] |
+ ], |
+ 'conditions': [ |
+ ['icu_use_data_file_flag==1', { |
+ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], |
+ }, { # else icu_use_data_file_flag !=1 |
+ 'conditions': [ |
+ ['OS=="win"', { |
+ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], |
+ }, { |
+ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], |
+ }], |
+ ], |
+ }], |
+ ], |
}, { # v8_enable_i18n_support==0 |
'sources!': [ |
'i18n.cc', |
@@ -1615,17 +1628,6 @@ |
'<(icu_gyp_path):icudata', |
], |
}], |
- ['icu_use_data_file_flag==1', { |
- 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], |
- }, { # else icu_use_data_file_flag !=1 |
- 'conditions': [ |
- ['OS=="win"', { |
- 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], |
- }, { |
- 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], |
- }], |
- ], |
- }], |
], |
}, |
{ |