| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'includes': [ | 6 'includes': [ |
| 7 'icu.gypi', | 7 'icu.gypi', |
| 8 ], | 8 ], |
| 9 'variables': { | 9 'variables': { |
| 10 'use_system_icu%': 0, | 10 'use_system_icu%': 0, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 ], | 38 ], |
| 39 'conditions': [ | 39 'conditions': [ |
| 40 ['component=="static_library"', { | 40 ['component=="static_library"', { |
| 41 'defines': [ | 41 'defines': [ |
| 42 'U_STATIC_IMPLEMENTATION', | 42 'U_STATIC_IMPLEMENTATION', |
| 43 ], | 43 ], |
| 44 }], | 44 }], |
| 45 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 45 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 46 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | 46 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ |
| 47 (target_arch=="arm" or target_arch=="ia32" or \ | 47 (target_arch=="arm" or target_arch=="ia32" or \ |
| 48 target_arch=="mipsel")', { | 48 target_arch=="mipsel" or target_arch=="mips")', { |
| 49 'target_conditions': [ | 49 'target_conditions': [ |
| 50 ['_toolset=="host"', { | 50 ['_toolset=="host"', { |
| 51 'cflags': [ '-m32' ], | 51 'cflags': [ '-m32' ], |
| 52 'ldflags': [ '-m32' ], | 52 'ldflags': [ '-m32' ], |
| 53 'asflags': [ '-32' ], | 53 'asflags': [ '-32' ], |
| 54 'xcode_settings': { | 54 'xcode_settings': { |
| 55 'ARCHS': [ 'i386' ], | 55 'ARCHS': [ 'i386' ], |
| 56 }, | 56 }, |
| 57 }], | 57 }], |
| 58 ], | 58 ], |
| 59 }], | 59 }], |
| 60 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 60 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 61 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | 61 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ |
| 62 (target_arch=="arm64" or target_arch=="x64" or \ | 62 (target_arch=="arm64" or target_arch=="x64" or \ |
| 63 target_arch=="mipsel64")', { | 63 target_arch=="mips64el" or target_arch=="mips64")', { |
| 64 'target_conditions': [ | 64 'target_conditions': [ |
| 65 ['_toolset=="host"', { | 65 ['_toolset=="host"', { |
| 66 'cflags': [ '-m64' ], | 66 'cflags': [ '-m64' ], |
| 67 'ldflags': [ '-m64' ], | 67 'ldflags': [ '-m64' ], |
| 68 'asflags': [ '-64' ], | 68 'asflags': [ '-64' ], |
| 69 'xcode_settings': { | 69 'xcode_settings': { |
| 70 'ARCHS': [ 'x86_64' ], | 70 'ARCHS': [ 'x86_64' ], |
| 71 }, | 71 }, |
| 72 }], | 72 }], |
| 73 ], | 73 ], |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 'type': 'static_library', | 110 'type': 'static_library', |
| 111 'defines': [ | 111 'defines': [ |
| 112 'U_HIDE_DATA_SYMBOL', | 112 'U_HIDE_DATA_SYMBOL', |
| 113 ], | 113 ], |
| 114 'sources': [ | 114 'sources': [ |
| 115 # These are hand-generated, but will do for now. The linux | 115 # These are hand-generated, but will do for now. The linux |
| 116 # version is an identical copy of the (mac) icudtl_dat.S file, | 116 # version is an identical copy of the (mac) icudtl_dat.S file, |
| 117 # modulo removal of the .private_extern and .const directives and | 117 # modulo removal of the .private_extern and .const directives and |
| 118 # with no leading underscore on the icudt52_dat symbol. | 118 # with no leading underscore on the icudt52_dat symbol. |
| 119 'android/icudtl_dat.S', | 119 'android/icudtl_dat.S', |
| 120 'linux/icudtb_dat.S', |
| 120 'linux/icudtl_dat.S', | 121 'linux/icudtl_dat.S', |
| 121 'mac/icudtl_dat.S', | 122 'mac/icudtl_dat.S', |
| 122 ], | 123 ], |
| 123 'conditions': [ | 124 'conditions': [ |
| 124 [ 'use_system_icu==1 and want_separate_host_toolset==1', { | 125 [ 'use_system_icu==1 and want_separate_host_toolset==1', { |
| 125 'toolsets': ['host'], | 126 'toolsets': ['host'], |
| 126 }], | 127 }], |
| 127 [ 'use_system_icu==0 and want_separate_host_toolset==1', { | 128 [ 'use_system_icu==0 and want_separate_host_toolset==1', { |
| 128 'toolsets': ['host', 'target'], | 129 'toolsets': ['host', 'target'], |
| 129 }], | 130 }], |
| (...skipping 29 matching lines...) Expand all Loading... |
| 159 ], | 160 ], |
| 160 }, | 161 }, |
| 161 }], # OS!=ios | 162 }], # OS!=ios |
| 162 ], # conditions | 163 ], # conditions |
| 163 }], # icu_use_data_file_flag | 164 }], # icu_use_data_file_flag |
| 164 ], # conditions | 165 ], # conditions |
| 165 'target_conditions': [ | 166 'target_conditions': [ |
| 166 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' | 167 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' |
| 167 '(OS == "android" and (_toolset != "host" or host_os != "linux"))
or ' | 168 '(OS == "android" and (_toolset != "host" or host_os != "linux"))
or ' |
| 168 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { | 169 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { |
| 169 'sources!': ['linux/icudtl_dat.S'], | 170 'sources!': ['linux/icudtl_dat.S', 'linux/icudtb_dat.S'], |
| 170 }], | 171 }], |
| 171 [ 'OS != "android" or _toolset == "host"', { | 172 [ 'OS != "android" or _toolset == "host"', { |
| 172 'sources!': ['android/icudtl_dat.S'], | 173 'sources!': ['android/icudtl_dat.S'], |
| 173 }], | 174 }], |
| 174 [ 'OS != "mac" and OS != "ios" and ' | 175 [ 'OS != "mac" and OS != "ios" and ' |
| 175 '((OS != "android" and OS != "qnx") or ' | 176 '((OS != "android" and OS != "qnx") or ' |
| 176 '_toolset != "host" or host_os != "mac")', { | 177 '_toolset != "host" or host_os != "mac")', { |
| 177 'sources!': ['mac/icudtl_dat.S'], | 178 'sources!': ['mac/icudtl_dat.S'], |
| 178 }], | 179 }], |
| 180 [ 'target_arch=="mips" or target_arch=="mips64"', { |
| 181 'sources!': ['android/icudtl_dat.S', 'linux/icudtl_dat.S', 'mac/ic
udtl_dat.S'], |
| 182 }], |
| 183 [ 'target_arch!="mips" and target_arch!="mips64"', { |
| 184 'sources!': ['linux/icudtb_dat.S'], |
| 185 }], |
| 179 ], # target_conditions | 186 ], # target_conditions |
| 180 }, | 187 }, |
| 181 { | 188 { |
| 182 'target_name': 'icui18n', | 189 'target_name': 'icui18n', |
| 183 'type': '<(component)', | 190 'type': '<(component)', |
| 184 'sources': [ | 191 'sources': [ |
| 185 '<@(icui18n_sources)', | 192 '<@(icui18n_sources)', |
| 186 ], | 193 ], |
| 187 'defines': [ | 194 'defines': [ |
| 188 'U_I18N_IMPLEMENTATION', | 195 'U_I18N_IMPLEMENTATION', |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 }, | 609 }, |
| 603 'includes': [ | 610 'includes': [ |
| 604 '../../build/shim_headers.gypi', | 611 '../../build/shim_headers.gypi', |
| 605 ], | 612 ], |
| 606 'toolsets': ['target'], | 613 'toolsets': ['target'], |
| 607 }, | 614 }, |
| 608 ], # targets | 615 ], # targets |
| 609 }], | 616 }], |
| 610 ], # conditions | 617 ], # conditions |
| 611 } | 618 } |
| OLD | NEW |