Skip to content

Commit a5e87ab

Browse files
committed
fixup! icu gyp fix
1 parent 2ac5c4c commit a5e87ab

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

tools/icu/common.gypi

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
'configurations': {
3+
'Debug': {
4+
'cflags': [
5+
'-Wno-deprecated-declarations',
6+
'-Wno-strict-aliasing'
7+
],
8+
'cflags_cc!': [ '-fno-rtti' ],
9+
'cflags_cc': [ '-frtti' ],
10+
'xcode_settings': {
11+
'GCC_ENABLE_CPP_RTTI': 'YES',
12+
'WARNING_CFLAGS': [
13+
'-Wno-deprecated-declarations',
14+
'-Wno-strict-aliasing'
15+
],
16+
},
17+
'msvs_settings': {
18+
'VCCLCompilerTool': {
19+
'RuntimeTypeInfo': 'true',
20+
'ExceptionHandling': '1',
21+
'AdditionalOptions': [ '/source-charset:utf-8' ],
22+
},
23+
},
24+
'defines': [
25+
'U_ATTRIBUTE_DEPRECATED=',
26+
'_CRT_SECURE_NO_DEPRECATE=',
27+
'U_STATIC_IMPLEMENTATION=1',
28+
'UCONFIG_NO_SERVICE=1',
29+
'U_ENABLE_DYLOAD=0',
30+
'U_STATIC_IMPLEMENTATION=1',
31+
'U_HAVE_STD_STRING=1',
32+
# TODO(srl295): reenable following pending
33+
# https://code.google.com/p/v8/issues/detail?id=3345
34+
# (saves some space)
35+
'UCONFIG_NO_BREAK_ITERATION=0',
36+
],
37+
},
38+
'Release': {
39+
'cflags': [
40+
'-Wno-deprecated-declarations',
41+
'-Wno-strict-aliasing'
42+
],
43+
'cflags_cc!': [ '-fno-rtti' ],
44+
'cflags_cc': [ '-frtti' ],
45+
'xcode_settings': {
46+
'GCC_ENABLE_CPP_RTTI': 'YES',
47+
'WARNING_CFLAGS': [
48+
'-Wno-deprecated-declarations',
49+
'-Wno-strict-aliasing'
50+
],
51+
},
52+
'msvs_settings': {
53+
'VCCLCompilerTool': {
54+
'RuntimeTypeInfo': 'true',
55+
'ExceptionHandling': '1',
56+
'AdditionalOptions': [ '/source-charset:utf-8' ],
57+
},
58+
},
59+
'defines': [
60+
'U_ATTRIBUTE_DEPRECATED=',
61+
'_CRT_SECURE_NO_DEPRECATE=',
62+
'U_STATIC_IMPLEMENTATION=1',
63+
'UCONFIG_NO_SERVICE=1',
64+
'U_ENABLE_DYLOAD=0',
65+
'U_STATIC_IMPLEMENTATION=1',
66+
'U_HAVE_STD_STRING=1',
67+
# TODO(srl295): reenable following pending
68+
# https://code.google.com/p/v8/issues/detail?id=3345
69+
# (saves some space)
70+
'UCONFIG_NO_BREAK_ITERATION=0',
71+
],
72+
},
73+
},
74+
}

0 commit comments

Comments
 (0)