Index: icu.gyp |
diff --git a/icu.gyp b/icu.gyp |
index 9675c734ab7621a06086aa5afb713948952297d9..29121566e7014c3abdcc2591ef2b6b5d21e26958 100644 |
--- a/icu.gyp |
+++ b/icu.gyp |
@@ -45,7 +45,7 @@ |
['(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=="arm" or target_arch=="ia32" or \ |
- target_arch=="mipsel")', { |
+ target_arch=="mipsel" or target_arch=="mips")', { |
'target_conditions': [ |
['_toolset=="host"', { |
'cflags': [ '-m32' ], |
@@ -60,7 +60,7 @@ |
['(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_arch=="mips64el" or target_arch=="mips64")', { |
'target_conditions': [ |
['_toolset=="host"', { |
'cflags': [ '-m64' ], |
@@ -117,6 +117,7 @@ |
# modulo removal of the .private_extern and .const directives and |
# with no leading underscore on the icudt52_dat symbol. |
'android/icudtl_dat.S', |
+ 'linux/icudtb_dat.S', |
'linux/icudtl_dat.S', |
'mac/icudtl_dat.S', |
], |
@@ -166,7 +167,7 @@ |
[ 'OS == "win" or OS == "mac" or OS == "ios" or ' |
'(OS == "android" and (_toolset != "host" or host_os != "linux")) or ' |
'(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { |
- 'sources!': ['linux/icudtl_dat.S'], |
+ 'sources!': ['linux/icudtl_dat.S', 'linux/icudtb_dat.S'], |
}], |
[ 'OS != "android" or _toolset == "host"', { |
'sources!': ['android/icudtl_dat.S'], |
@@ -176,6 +177,12 @@ |
'_toolset != "host" or host_os != "mac")', { |
'sources!': ['mac/icudtl_dat.S'], |
}], |
+ [ 'target_arch=="mips" or target_arch=="mips64"', { |
+ 'sources!': ['android/icudtl_dat.S', 'linux/icudtl_dat.S', 'mac/icudtl_dat.S'], |
+ }], |
+ [ 'target_arch!="mips" and target_arch!="mips64"', { |
+ 'sources!': ['linux/icudtb_dat.S'], |
+ }], |
], # target_conditions |
}, |
{ |