Skip to content

Commit

Permalink
fixup! icu gyp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
refack committed Oct 31, 2018
1 parent 2ac5c4c commit a5e87ab
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions tools/icu/common.gypi
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
'configurations': {
'Debug': {
'cflags': [
'-Wno-deprecated-declarations',
'-Wno-strict-aliasing'
],
'cflags_cc!': [ '-fno-rtti' ],
'cflags_cc': [ '-frtti' ],
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES',
'WARNING_CFLAGS': [
'-Wno-deprecated-declarations',
'-Wno-strict-aliasing'
],
},
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeTypeInfo': 'true',
'ExceptionHandling': '1',
'AdditionalOptions': [ '/source-charset:utf-8' ],
},
},
'defines': [
'U_ATTRIBUTE_DEPRECATED=',
'_CRT_SECURE_NO_DEPRECATE=',
'U_STATIC_IMPLEMENTATION=1',
'UCONFIG_NO_SERVICE=1',
'U_ENABLE_DYLOAD=0',
'U_STATIC_IMPLEMENTATION=1',
'U_HAVE_STD_STRING=1',
# TODO(srl295): reenable following pending
# https://code.google.com/p/v8/issues/detail?id=3345
# (saves some space)
'UCONFIG_NO_BREAK_ITERATION=0',
],
},
'Release': {
'cflags': [
'-Wno-deprecated-declarations',
'-Wno-strict-aliasing'
],
'cflags_cc!': [ '-fno-rtti' ],
'cflags_cc': [ '-frtti' ],
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES',
'WARNING_CFLAGS': [
'-Wno-deprecated-declarations',
'-Wno-strict-aliasing'
],
},
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeTypeInfo': 'true',
'ExceptionHandling': '1',
'AdditionalOptions': [ '/source-charset:utf-8' ],
},
},
'defines': [
'U_ATTRIBUTE_DEPRECATED=',
'_CRT_SECURE_NO_DEPRECATE=',
'U_STATIC_IMPLEMENTATION=1',
'UCONFIG_NO_SERVICE=1',
'U_ENABLE_DYLOAD=0',
'U_STATIC_IMPLEMENTATION=1',
'U_HAVE_STD_STRING=1',
# TODO(srl295): reenable following pending
# https://code.google.com/p/v8/issues/detail?id=3345
# (saves some space)
'UCONFIG_NO_BREAK_ITERATION=0',
],
},
},
}

0 comments on commit a5e87ab

Please sign in to comment.