Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: icu.gyp

Issue 1967523002: Add big endian support (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Adjust the script Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/make_data_assembly.py » ('j') | scripts/make_data_assembly.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
},
{
« no previous file with comments | « no previous file | scripts/make_data_assembly.py » ('j') | scripts/make_data_assembly.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698