|
133 | 133 | {
|
134 | 134 | 'target_name': 'icudata',
|
135 | 135 | 'type': '<(library)',
|
136 |
| - 'toolsets': [ 'host' ], |
| 136 | + 'toolsets': [ 'target' ], |
137 | 137 | 'conditions': [
|
138 | 138 | [ 'OS == "win"', {
|
139 | 139 | 'conditions': [
|
|
157 | 157 | }, { # icu_small == TRUE and OS == win
|
158 | 158 | # link against stub data primarily
|
159 | 159 | # then, use icupkg and genccode to rebuild data
|
160 |
| - 'dependencies': [ 'icustubdata#target', 'genccode#host', 'icupkg#host', 'genrb#host', 'iculslocs#host' ], |
| 160 | + 'dependencies': [ 'icustubdata', 'genccode#host', 'icupkg#host', 'genrb#host', 'iculslocs#host' ], |
161 | 161 | 'export_dependent_settings': [ 'icustubdata' ],
|
162 | 162 | 'actions': [
|
163 | 163 | {
|
|
196 | 196 | [ 'icu_small == "false"', {
|
197 | 197 | # full data - just build the full data file, then we are done.
|
198 | 198 | 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/icudt<(icu_ver_major)_dat.c' ],
|
199 |
| - 'dependencies': [ 'genccode#host', 'icupkg#host', 'icu_implementation#host', 'icu_uconfig#host' ], |
| 199 | + 'dependencies': [ 'genccode#host', 'icupkg#host', 'icu_implementation#host', 'icu_uconfig' ], |
200 | 200 | 'include_dirs': [
|
201 | 201 | '../../deps/icu/source/common',
|
202 | 202 | ],
|
|
236 | 236 | }, { # icu_small == true ( and OS != win )
|
237 | 237 | # link against stub data (as primary data)
|
238 | 238 | # then, use icupkg and genccode to rebuild small data
|
239 |
| - 'dependencies': [ 'icustubdata#target', 'genccode#host', 'icupkg#host', 'genrb#host', 'iculslocs#host', |
240 |
| - 'icu_implementation#target', 'icu_uconfig#target' ], |
| 239 | + 'dependencies': [ 'icustubdata', 'genccode#host', 'icupkg#host', 'genrb#host', 'iculslocs#host', |
| 240 | + 'icu_implementation', 'icu_uconfig' ], |
241 | 241 | 'export_dependent_settings': [ 'icustubdata' ],
|
242 | 242 | 'actions': [
|
243 | 243 | {
|
|
298 | 298 | },
|
299 | 299 | # this target is for v8 consumption.
|
300 | 300 | # it is icuuc + stubdata
|
| 301 | + # it is only built for target |
301 | 302 | {
|
302 | 303 | 'target_name': 'icuuc',
|
303 | 304 | 'type': 'none',
|
304 |
| - 'toolsets': [ 'host', 'target' ], |
| 305 | + 'toolsets': [ 'target' ], |
305 | 306 | 'dependencies': [ 'icuucx', 'icudata' ],
|
306 | 307 | 'export_dependent_settings': [ 'icuucx', 'icudata' ],
|
307 | 308 | },
|
|
0 commit comments