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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 'copies': [{ | 98 'copies': [{ |
99 'destination': '<(PRODUCT_DIR)', | 99 'destination': '<(PRODUCT_DIR)', |
100 'conditions': [ | 100 'conditions': [ |
101 ['OS == "android"', { | 101 ['OS == "android"', { |
102 'files': [ | 102 'files': [ |
103 'android/icudtl.dat', | 103 'android/icudtl.dat', |
104 ], | 104 ], |
105 } , { # else: OS != android | 105 } , { # else: OS != android |
106 'conditions': [ | 106 'conditions': [ |
107 # Big Endian | 107 # Big Endian |
108 [ 'v8_host_byteorder=="big"', { | 108 [ 'v8_host_byteorder=="big" or target_arch=="mips" or \ |
| 109 target_arch=="mips64"', { |
109 'files': [ | 110 'files': [ |
110 'common/icudtb.dat', | 111 'common/icudtb.dat', |
111 ], | 112 ], |
112 } , { # else: ! Big Endian = Little Endian | 113 } , { # else: ! Big Endian = Little Endian |
113 'files': [ | 114 'files': [ |
114 'common/icudtl.dat', | 115 'common/icudtl.dat', |
115 ], | 116 ], |
116 }], | 117 }], |
117 ], | 118 ], |
118 }], | 119 }], |
119 ], | 120 ], |
120 }], | 121 }], |
121 }, | 122 }, |
122 { | 123 { |
123 'target_name': 'data_assembly', | 124 'target_name': 'data_assembly', |
124 'type': 'none', | 125 'type': 'none', |
125 'conditions': [ | 126 'conditions': [ |
126 [ 'v8_host_byteorder=="big"', { # Big Endian | 127 [ 'v8_host_byteorder=="big" or target_arch=="mips" or \ |
| 128 target_arch=="mips64"', { # Big Endian |
127 'data_assembly_inputs': [ | 129 'data_assembly_inputs': [ |
128 'common/icudtb.dat', | 130 'common/icudtb.dat', |
129 ], | 131 ], |
130 'data_assembly_outputs': [ | 132 'data_assembly_outputs': [ |
131 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', | 133 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', |
132 ], | 134 ], |
133 }, { # Little Endian | 135 }, { # Little Endian |
134 'data_assembly_outputs': [ | 136 'data_assembly_outputs': [ |
135 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', | 137 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', |
136 ], | 138 ], |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'U_HIDE_DATA_SYMBOL', | 181 'U_HIDE_DATA_SYMBOL', |
180 ], | 182 ], |
181 'dependencies': [ | 183 'dependencies': [ |
182 'data_assembly#target', | 184 'data_assembly#target', |
183 ], | 185 ], |
184 'sources': [ | 186 'sources': [ |
185 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', | 187 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', |
186 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', | 188 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', |
187 ], | 189 ], |
188 'conditions': [ | 190 'conditions': [ |
189 [ 'v8_host_byteorder=="big"', { | 191 [ 'v8_host_byteorder=="big" or target_arch=="mips" or \ |
190 'sources!': ['<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_da
t.S'], | 192 target_arch=="mips64"', { |
| 193 'sources!': [ |
| 194 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S' |
| 195 ], |
191 }, { | 196 }, { |
192 'sources!': ['<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_da
t.S'], | 197 'sources!': [ |
| 198 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S' |
| 199 ], |
193 }], | 200 }], |
194 [ 'use_system_icu==1 and want_separate_host_toolset==1', { | 201 [ 'use_system_icu==1 and want_separate_host_toolset==1', { |
195 'toolsets': ['host'], | 202 'toolsets': ['host'], |
196 }], | 203 }], |
197 [ 'use_system_icu==0 and want_separate_host_toolset==1', { | 204 [ 'use_system_icu==0 and want_separate_host_toolset==1', { |
198 'toolsets': ['host', 'target'], | 205 'toolsets': ['host', 'target'], |
199 }], | 206 }], |
200 [ 'use_system_icu==0 and want_separate_host_toolset==0', { | 207 [ 'use_system_icu==0 and want_separate_host_toolset==0', { |
201 'toolsets': ['target'], | 208 'toolsets': ['target'], |
202 }], | 209 }], |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 }, | 687 }, |
681 'includes': [ | 688 'includes': [ |
682 'shim_headers.gypi', | 689 'shim_headers.gypi', |
683 ], | 690 ], |
684 'toolsets': ['target'], | 691 'toolsets': ['target'], |
685 }, | 692 }, |
686 ], # targets | 693 ], # targets |
687 }], | 694 }], |
688 ], # conditions | 695 ], # conditions |
689 } | 696 } |
OLD | NEW |