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 [ 'target_arch=="mips" or target_arch=="mips64"', { |
109 'files': [ | 109 'files': [ |
110 'common/icudtb.dat', | 110 'common/icudtb.dat', |
111 ], | 111 ], |
112 }, 'v8_host_byteorder=="big"', { | |
jungshik at Google
2016/11/21 23:45:25
can you just OR 'v8_host_byteorder==big' with 'tar
| |
113 'files': [ | |
114 'common/icudtb.dat', | |
115 ], | |
112 } , { # else: ! Big Endian = Little Endian | 116 } , { # else: ! Big Endian = Little Endian |
113 'files': [ | 117 'files': [ |
114 'common/icudtl.dat', | 118 'common/icudtl.dat', |
115 ], | 119 ], |
116 }], | 120 }], |
117 ], | 121 ], |
118 }], | 122 }], |
119 ], | 123 ], |
120 }], | 124 }], |
121 }, | 125 }, |
122 { | 126 { |
123 'target_name': 'data_assembly', | 127 'target_name': 'data_assembly', |
124 'type': 'none', | 128 'type': 'none', |
125 'conditions': [ | 129 'conditions': [ |
126 [ 'v8_host_byteorder=="big"', { # Big Endian | 130 [ 'target_arch=="mips" or target_arch=="mips64"', { |
127 'data_assembly_inputs': [ | 131 'data_assembly_inputs': [ |
128 'common/icudtb.dat', | 132 'common/icudtb.dat', |
129 ], | 133 ], |
134 'data_assembly_outputs': [ | |
135 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', | |
136 ], | |
137 }, 'v8_host_byteorder=="big"', { # Big Endian | |
jungshik at Google
2016/11/21 23:45:25
The same here...
| |
138 'data_assembly_inputs': [ | |
139 'common/icudtb.dat', | |
140 ], | |
130 'data_assembly_outputs': [ | 141 'data_assembly_outputs': [ |
131 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', | 142 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', |
132 ], | 143 ], |
133 }, { # Little Endian | 144 }, { # Little Endian |
134 'data_assembly_outputs': [ | 145 'data_assembly_outputs': [ |
135 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', | 146 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', |
136 ], | 147 ], |
137 'conditions': [ | 148 'conditions': [ |
138 ['OS == "android"', { | 149 ['OS == "android"', { |
139 'data_assembly_inputs': [ | 150 'data_assembly_inputs': [ |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
179 'U_HIDE_DATA_SYMBOL', | 190 'U_HIDE_DATA_SYMBOL', |
180 ], | 191 ], |
181 'dependencies': [ | 192 'dependencies': [ |
182 'data_assembly#target', | 193 'data_assembly#target', |
183 ], | 194 ], |
184 'sources': [ | 195 'sources': [ |
185 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', | 196 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_dat.S', |
186 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', | 197 '<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_dat.S', |
187 ], | 198 ], |
188 'conditions': [ | 199 'conditions': [ |
189 [ 'v8_host_byteorder=="big"', { | 200 [ 'target_arch=="mips" or target_arch=="mips64"', { |
201 'sources!': ['<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_da t.S'], | |
202 }, 'v8_host_byteorder=="big"', { | |
190 'sources!': ['<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_da t.S'], | 203 'sources!': ['<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtl_da t.S'], |
191 }, { | 204 }, { |
192 'sources!': ['<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_da t.S'], | 205 'sources!': ['<(SHARED_INTERMEDIATE_DIR)/third_party/icu/icudtb_da t.S'], |
193 }], | 206 }], |
194 [ 'use_system_icu==1 and want_separate_host_toolset==1', { | 207 [ 'use_system_icu==1 and want_separate_host_toolset==1', { |
195 'toolsets': ['host'], | 208 'toolsets': ['host'], |
196 }], | 209 }], |
197 [ 'use_system_icu==0 and want_separate_host_toolset==1', { | 210 [ 'use_system_icu==0 and want_separate_host_toolset==1', { |
198 'toolsets': ['host', 'target'], | 211 'toolsets': ['host', 'target'], |
199 }], | 212 }], |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
680 }, | 693 }, |
681 'includes': [ | 694 'includes': [ |
682 'shim_headers.gypi', | 695 'shim_headers.gypi', |
683 ], | 696 ], |
684 'toolsets': ['target'], | 697 'toolsets': ['target'], |
685 }, | 698 }, |
686 ], # targets | 699 ], # targets |
687 }], | 700 }], |
688 ], # conditions | 701 ], # conditions |
689 } | 702 } |
OLD | NEW |