Enable 64-bit build of host toolset
When building v8 mksnapshot host toolset as 64-bit, it requires icu to
be 64-bit also.
BUG=346626
R=jochen@chromium.org, jshin@chromium.org
Review URL: https://codereview.chromium.org/212593002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@262949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/icu.gyp b/icu.gyp
index 5c175c3..9090607 100644
--- a/icu.gyp
+++ b/icu.gyp
@@ -43,6 +43,21 @@
}],
],
}],
+ ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
+ or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
+ (target_arch=="arm64" or target_arch=="x64" or \
+ target_arch=="mipsel64")', {
+ 'target_conditions': [
+ ['_toolset=="host"', {
+ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
+ 'asflags': [ '-64' ],
+ 'xcode_settings': {
+ 'ARCHS': [ 'x86_64' ],
+ },
+ }],
+ ],
+ }],
],
'include_dirs': [
'source/common',
@@ -94,7 +109,7 @@
'sources/': [['exclude', 'icudt46l_dat']],
# Compile in the stub data symbol.
'sources': ['source/stubdata/stubdata.c'],
-
+
# Make sure any binary depending on this gets the data file.
'conditions': [
['OS != "ios"', {
@@ -120,7 +135,7 @@
},
}], # OS!=ios
], # conditions
- }], # icu_use_data_file_flag
+ }], # icu_use_data_file_flag
], # conditions
'target_conditions': [
[ 'OS == "win" or OS == "mac" or OS == "ios" or '