OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'gen_source_dir': '<(LIB_DIR)', | 7 'gen_source_dir': '<(LIB_DIR)', |
8 'libgen_in_cc_file': '../lib/libgen_in.cc', | |
9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 8 'builtin_in_cc_file': '../bin/builtin_in.cc', |
10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 9 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', | 10 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', | 11 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', | 12 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', |
14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | 13 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | 14 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
16 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', | 15 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', |
17 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', | 16 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', |
18 'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', | 17 'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 'generate_mirrors_cc_file', | 113 'generate_mirrors_cc_file', |
115 'generate_mirrors_patch_cc_file', | 114 'generate_mirrors_patch_cc_file', |
116 'generate_typed_data_cc_file', | 115 'generate_typed_data_cc_file', |
117 'generate_typed_data_patch_cc_file', | 116 'generate_typed_data_patch_cc_file', |
118 'generate_uri_cc_file', | 117 'generate_uri_cc_file', |
119 'generate_utf_cc_file', | 118 'generate_utf_cc_file', |
120 ], | 119 ], |
121 'includes': [ | 120 'includes': [ |
122 '../lib/async_sources.gypi', | 121 '../lib/async_sources.gypi', |
123 '../lib/collection_sources.gypi', | 122 '../lib/collection_sources.gypi', |
124 '../lib/corelib_sources.gypi', | 123 '../lib/lib_sources.gypi', |
125 '../lib/isolate_sources.gypi', | 124 '../lib/isolate_sources.gypi', |
126 '../lib/math_sources.gypi', | 125 '../lib/math_sources.gypi', |
127 '../lib/mirrors_sources.gypi', | 126 '../lib/mirrors_sources.gypi', |
128 '../lib/typed_data_sources.gypi', | 127 '../lib/typed_data_sources.gypi', |
129 ], | 128 ], |
130 'sources': [ | 129 'sources': [ |
131 'bootstrap.cc', | 130 'bootstrap.cc', |
132 # Include generated source files. | 131 # Include generated source files. |
133 '<(async_cc_file)', | 132 '<(async_cc_file)', |
134 '<(async_patch_cc_file)', | 133 '<(async_patch_cc_file)', |
(...skipping 21 matching lines...) Expand all Loading... |
156 '..', | 155 '..', |
157 ], | 156 ], |
158 }, | 157 }, |
159 { | 158 { |
160 'target_name': 'libdart_lib', | 159 'target_name': 'libdart_lib', |
161 'type': 'static_library', | 160 'type': 'static_library', |
162 'toolsets':['host', 'target'], | 161 'toolsets':['host', 'target'], |
163 'includes': [ | 162 'includes': [ |
164 '../lib/async_sources.gypi', | 163 '../lib/async_sources.gypi', |
165 '../lib/collection_sources.gypi', | 164 '../lib/collection_sources.gypi', |
166 '../lib/corelib_sources.gypi', | 165 '../lib/lib_sources.gypi', |
167 '../lib/isolate_sources.gypi', | 166 '../lib/isolate_sources.gypi', |
168 '../lib/math_sources.gypi', | 167 '../lib/math_sources.gypi', |
169 '../lib/mirrors_sources.gypi', | 168 '../lib/mirrors_sources.gypi', |
170 '../lib/typed_data_sources.gypi', | 169 '../lib/typed_data_sources.gypi', |
171 ], | 170 ], |
172 'sources': [ | 171 'sources': [ |
173 'bootstrap_nocorelib.cc', | 172 'bootstrap_nocorelib.cc', |
174 ], | 173 ], |
175 'include_dirs': [ | 174 'include_dirs': [ |
176 '..', | 175 '..', |
177 ], | 176 ], |
178 }, | 177 }, |
179 { | 178 { |
180 'target_name': 'generate_async_cc_file', | 179 'target_name': 'generate_async_cc_file', |
181 'type': 'none', | 180 'type': 'none', |
182 'toolsets':['host', 'target'], | 181 'toolsets':['host', 'target'], |
| 182 'variables': { |
| 183 'async_dart': '<(gen_source_dir)/async_gen.dart', |
| 184 }, |
183 'includes': [ | 185 'includes': [ |
184 '../../sdk/lib/async/async_sources.gypi', | 186 '../../sdk/lib/async/async_sources.gypi', |
185 ], | 187 ], |
186 'sources/': [ | 188 'sources/': [ |
187 # Exclude all .[cc|h] files. | 189 # Exclude all .[cc|h] files. |
188 # This is only here for reference. Excludes happen after | 190 # This is only here for reference. Excludes happen after |
189 # variable expansion, so the script has to do its own | 191 # variable expansion, so the script has to do its own |
190 # exclude processing of the sources being passed. | 192 # exclude processing of the sources being passed. |
191 ['exclude', '\\.cc|h$'], | 193 ['exclude', '\\.cc|h$'], |
192 ], | 194 ], |
193 'actions': [ | 195 'actions': [ |
194 { | 196 { |
| 197 'action_name': 'generate_async_dart', |
| 198 'inputs': [ |
| 199 '../tools/concat_library.py', |
| 200 '<@(_sources)', |
| 201 ], |
| 202 'outputs': [ |
| 203 '<(async_dart)', |
| 204 ], |
| 205 'action': [ |
| 206 'python', |
| 207 '<@(_inputs)', |
| 208 '--output', '<(async_dart)', |
| 209 ], |
| 210 'message': 'Generating ''<(async_dart)'' file.', |
| 211 }, |
| 212 { |
195 'action_name': 'generate_async_cc', | 213 'action_name': 'generate_async_cc', |
196 'inputs': [ | 214 'inputs': [ |
197 '../tools/gen_library_src_paths.py', | 215 '../tools/create_string_literal.py', |
198 '<(libgen_in_cc_file)', | 216 '<(builtin_in_cc_file)', |
199 '<@(_sources)', | 217 '<@(async_dart)', |
200 ], | 218 ], |
201 'outputs': [ | 219 'outputs': [ |
202 '<(async_cc_file)', | 220 '<(async_cc_file)', |
203 ], | 221 ], |
204 'action': [ | 222 'action': [ |
205 'python', | 223 'python', |
206 'tools/gen_library_src_paths.py', | 224 'tools/create_string_literal.py', |
207 '--output', '<(async_cc_file)', | 225 '--output', '<(async_cc_file)', |
208 '--input_cc', '<(libgen_in_cc_file)', | 226 '--input_cc', '<(builtin_in_cc_file)', |
209 '--include', 'vm/bootstrap.h', | 227 '--include', 'vm/bootstrap.h', |
210 '--var_name', 'dart::Bootstrap::async_source_paths_', | 228 '--var_name', 'dart::Bootstrap::async_source_', |
211 '--library_name', 'dart:async', | 229 '<@(async_dart)', |
212 '<@(_sources)', | |
213 ], | 230 ], |
214 'message': 'Generating ''<(async_cc_file)'' file.' | 231 'message': 'Generating ''<(async_cc_file)'' file.' |
215 }, | 232 }, |
216 ] | 233 ] |
217 }, | 234 }, |
218 { | 235 { |
219 'target_name': 'generate_corelib_cc_file', | 236 'target_name': 'generate_corelib_cc_file', |
220 'type': 'none', | 237 'type': 'none', |
221 'toolsets':['host', 'target'], | 238 'toolsets':['host', 'target'], |
222 'includes': [ | 239 'variables': { |
| 240 'core_dart': '<(gen_source_dir)/core_gen.dart', |
| 241 },'includes': [ |
223 # Load the shared core library sources. | 242 # Load the shared core library sources. |
224 '../../sdk/lib/core/corelib_sources.gypi', | 243 '../../sdk/lib/core/corelib_sources.gypi', |
225 ], | 244 ], |
226 'sources/': [ | 245 'sources/': [ |
227 # Exclude all .[cc|h] files. | 246 # Exclude all .[cc|h] files. |
228 # This is only here for reference. Excludes happen after | 247 # This is only here for reference. Excludes happen after |
229 # variable expansion, so the script has to do its own | 248 # variable expansion, so the script has to do its own |
230 # exclude processing of the sources being passed. | 249 # exclude processing of the sources being passed. |
231 ['exclude', '\\.cc|h$'], | 250 ['exclude', '\\.cc|h$'], |
232 ], | 251 ], |
233 'actions': [ | 252 'actions': [ |
234 { | 253 { |
| 254 'action_name': 'generate_core_dart', |
| 255 'inputs': [ |
| 256 '../tools/concat_library.py', |
| 257 '<@(_sources)', |
| 258 ], |
| 259 'outputs': [ |
| 260 '<(core_dart)', |
| 261 ], |
| 262 'action': [ |
| 263 'python', |
| 264 '<@(_inputs)', |
| 265 '--output', '<(core_dart)', |
| 266 ], |
| 267 'message': 'Generating ''<(core_dart)'' file.', |
| 268 }, |
| 269 { |
235 'action_name': 'generate_corelib_cc', | 270 'action_name': 'generate_corelib_cc', |
236 'inputs': [ | 271 'inputs': [ |
237 '../tools/gen_library_src_paths.py', | 272 '../tools/create_string_literal.py', |
238 '<(libgen_in_cc_file)', | 273 '<(builtin_in_cc_file)', |
239 '<@(_sources)', | 274 '<(core_dart)', |
240 ], | 275 ], |
241 'outputs': [ | 276 'outputs': [ |
242 '<(corelib_cc_file)', | 277 '<(corelib_cc_file)', |
243 ], | 278 ], |
244 'action': [ | 279 'action': [ |
245 'python', | 280 'python', |
246 'tools/gen_library_src_paths.py', | 281 'tools/create_string_literal.py', |
247 '--output', '<(corelib_cc_file)', | 282 '--output', '<(corelib_cc_file)', |
248 '--input_cc', '<(libgen_in_cc_file)', | 283 '--input_cc', '<(builtin_in_cc_file)', |
249 '--include', 'vm/bootstrap.h', | 284 '--include', 'vm/bootstrap.h', |
250 '--var_name', 'dart::Bootstrap::corelib_source_paths_', | 285 '--var_name', 'dart::Bootstrap::corelib_source_', |
251 '--library_name', 'dart:core', | 286 '<(core_dart)', |
252 '<@(_sources)', | |
253 ], | 287 ], |
254 'message': 'Generating ''<(corelib_cc_file)'' file.' | 288 'message': 'Generating ''<(corelib_cc_file)'' file.' |
255 }, | 289 }, |
256 ] | 290 ] |
257 }, | 291 }, |
258 { | 292 { |
259 'target_name': 'generate_corelib_patch_cc_file', | 293 'target_name': 'generate_corelib_patch_cc_file', |
260 'type': 'none', | 294 'type': 'none', |
261 'toolsets':['host', 'target'], | 295 'toolsets':['host', 'target'], |
262 'includes': [ | 296 'includes': [ |
263 # Load the runtime implementation sources. | 297 # Load the runtime implementation sources. |
264 '../lib/corelib_sources.gypi', | 298 '../lib/lib_sources.gypi', |
265 ], | 299 ], |
266 'sources/': [ | 300 'sources/': [ |
267 # Exclude all .[cc|h] files. | 301 # Exclude all .[cc|h] files. |
268 # This is only here for reference. Excludes happen after | 302 # This is only here for reference. Excludes happen after |
269 # variable expansion, so the script has to do its own | 303 # variable expansion, so the script has to do its own |
270 # exclude processing of the sources being passed. | 304 # exclude processing of the sources being passed. |
271 ['exclude', '\\.cc|h$'], | 305 ['exclude', '\\.cc|h$'], |
272 ], | 306 ], |
273 'actions': [ | 307 'actions': [ |
274 { | 308 { |
(...skipping 16 matching lines...) Expand all Loading... |
291 '<@(_sources)', | 325 '<@(_sources)', |
292 ], | 326 ], |
293 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' | 327 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' |
294 }, | 328 }, |
295 ] | 329 ] |
296 }, | 330 }, |
297 { | 331 { |
298 'target_name': 'generate_collection_cc_file', | 332 'target_name': 'generate_collection_cc_file', |
299 'type': 'none', | 333 'type': 'none', |
300 'toolsets':['host', 'target'], | 334 'toolsets':['host', 'target'], |
| 335 'variables': { |
| 336 'collection_dart': '<(gen_source_dir)/collection_gen.dart', |
| 337 }, |
301 'includes': [ | 338 'includes': [ |
302 # Load the shared collection library sources. | 339 # Load the shared collection library sources. |
303 '../../sdk/lib/collection/collection_sources.gypi', | 340 '../../sdk/lib/collection/collection_sources.gypi', |
304 ], | 341 ], |
305 'sources/': [ | 342 'sources/': [ |
306 # Exclude all .[cc|h] files. | 343 # Exclude all .[cc|h] files. |
307 # This is only here for reference. Excludes happen after | 344 # This is only here for reference. Excludes happen after |
308 # variable expansion, so the script has to do its own | 345 # variable expansion, so the script has to do its own |
309 # exclude processing of the sources being passed. | 346 # exclude processing of the sources being passed. |
310 ['exclude', '\\.cc|h$'], | 347 ['exclude', '\\.cc|h$'], |
311 ], | 348 ], |
312 'actions': [ | 349 'actions': [ |
313 { | 350 { |
| 351 'action_name': 'generate_collection_dart', |
| 352 'inputs': [ |
| 353 '../tools/concat_library.py', |
| 354 '<@(_sources)', |
| 355 ], |
| 356 'outputs': [ |
| 357 '<(collection_dart)', |
| 358 ], |
| 359 'action': [ |
| 360 'python', |
| 361 '<@(_inputs)', |
| 362 '--output', '<(collection_dart)', |
| 363 ], |
| 364 'message': 'Generating ''<(collection_dart)'' file.', |
| 365 }, |
| 366 { |
314 'action_name': 'generate_collection_cc', | 367 'action_name': 'generate_collection_cc', |
315 'inputs': [ | 368 'inputs': [ |
316 '../tools/gen_library_src_paths.py', | 369 '../tools/create_string_literal.py', |
317 '<(libgen_in_cc_file)', | 370 '<(builtin_in_cc_file)', |
318 '<@(_sources)', | 371 '<(collection_dart)', |
319 ], | 372 ], |
320 'outputs': [ | 373 'outputs': [ |
321 '<(collection_cc_file)', | 374 '<(collection_cc_file)', |
322 ], | 375 ], |
323 'action': [ | 376 'action': [ |
324 'python', | 377 'python', |
325 'tools/gen_library_src_paths.py', | 378 'tools/create_string_literal.py', |
326 '--output', '<(collection_cc_file)', | 379 '--output', '<(collection_cc_file)', |
327 '--input_cc', '<(libgen_in_cc_file)', | 380 '--input_cc', '<(builtin_in_cc_file)', |
328 '--include', 'vm/bootstrap.h', | 381 '--include', 'vm/bootstrap.h', |
329 '--var_name', 'dart::Bootstrap::collection_source_paths_', | 382 '--var_name', 'dart::Bootstrap::collection_source_', |
330 '--library_name', 'dart:collection', | 383 '<(collection_dart)', |
331 '<@(_sources)', | |
332 ], | 384 ], |
333 'message': 'Generating ''<(collection_cc_file)'' file.' | 385 'message': 'Generating ''<(collection_cc_file)'' file.' |
334 }, | 386 }, |
335 ] | 387 ] |
336 }, | 388 }, |
337 { | 389 { |
338 'target_name': 'generate_collection_dev_patch_cc_file', | 390 'target_name': 'generate_collection_dev_patch_cc_file', |
339 'type': 'none', | 391 'type': 'none', |
340 'toolsets':['host', 'target'], | 392 'toolsets':['host', 'target'], |
341 'includes': [ | 393 'includes': [ |
(...skipping 28 matching lines...) Expand all Loading... |
370 '<@(_sources)', | 422 '<@(_sources)', |
371 ], | 423 ], |
372 'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.' | 424 'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.' |
373 }, | 425 }, |
374 ] | 426 ] |
375 }, | 427 }, |
376 { | 428 { |
377 'target_name': 'generate_collection_dev_cc_file', | 429 'target_name': 'generate_collection_dev_cc_file', |
378 'type': 'none', | 430 'type': 'none', |
379 'toolsets':['host', 'target'], | 431 'toolsets':['host', 'target'], |
| 432 'variables': { |
| 433 'collection_dev_dart': '<(gen_source_dir)/collection_dev_gen.dart', |
| 434 }, |
380 'includes': [ | 435 'includes': [ |
381 # Load the shared collection_dev library sources. | 436 # Load the shared collection_dev library sources. |
382 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', | 437 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', |
383 ], | 438 ], |
384 'sources/': [ | 439 'sources/': [ |
385 # Exclude all .[cc|h] files. | 440 # Exclude all .[cc|h] files. |
386 # This is only here for reference. Excludes happen after | 441 # This is only here for reference. Excludes happen after |
387 # variable expansion, so the script has to do its own | 442 # variable expansion, so the script has to do its own |
388 # exclude processing of the sources being passed. | 443 # exclude processing of the sources being passed. |
389 ['exclude', '\\.cc|h$'], | 444 ['exclude', '\\.cc|h$'], |
390 ], | 445 ], |
391 'actions': [ | 446 'actions': [ |
392 { | 447 { |
| 448 'action_name': 'generate_collection_dev_dart', |
| 449 'inputs': [ |
| 450 '../tools/concat_library.py', |
| 451 '<@(_sources)', |
| 452 ], |
| 453 'outputs': [ |
| 454 '<(collection_dev_dart)', |
| 455 ], |
| 456 'action': [ |
| 457 'python', |
| 458 '<@(_inputs)', |
| 459 '--output', '<(collection_dev_dart)', |
| 460 ], |
| 461 'message': 'Generating ''<(collection_dev_dart)'' file.', |
| 462 }, |
| 463 { |
393 'action_name': 'generate_collection_dev_cc', | 464 'action_name': 'generate_collection_dev_cc', |
394 'inputs': [ | 465 'inputs': [ |
395 '../tools/gen_library_src_paths.py', | 466 '../tools/create_string_literal.py', |
396 '<(libgen_in_cc_file)', | 467 '<(builtin_in_cc_file)', |
397 '<@(_sources)', | 468 '<(collection_dev_dart)', |
398 ], | 469 ], |
399 'outputs': [ | 470 'outputs': [ |
400 '<(collection_dev_cc_file)', | 471 '<(collection_dev_cc_file)', |
401 ], | 472 ], |
402 'action': [ | 473 'action': [ |
403 'python', | 474 'python', |
404 'tools/gen_library_src_paths.py', | 475 'tools/create_string_literal.py', |
405 '--output', '<(collection_dev_cc_file)', | 476 '--output', '<(collection_dev_cc_file)', |
406 '--input_cc', '<(libgen_in_cc_file)', | 477 '--input_cc', '<(builtin_in_cc_file)', |
407 '--include', 'vm/bootstrap.h', | 478 '--include', 'vm/bootstrap.h', |
408 '--var_name', 'dart::Bootstrap::collection_dev_source_paths_', | 479 '--var_name', 'dart::Bootstrap::collection_dev_source_', |
409 '--library_name', 'dart:_collection-dev', | 480 '<(collection_dev_dart)', |
410 '<@(_sources)', | |
411 ], | 481 ], |
412 'message': 'Generating ''<(collection_dev_cc_file)'' file.' | 482 'message': 'Generating ''<(collection_dev_cc_file)'' file.' |
413 }, | 483 }, |
414 ] | 484 ] |
415 }, | 485 }, |
416 { | 486 { |
417 'target_name': 'generate_crypto_cc_file', | 487 'target_name': 'generate_crypto_cc_file', |
418 'type': 'none', | 488 'type': 'none', |
419 'toolsets':['host', 'target'], | 489 'toolsets':['host', 'target'], |
| 490 'variables': { |
| 491 'crypto_dart': '<(gen_source_dir)/crypto_gen.dart', |
| 492 }, |
420 'includes': [ | 493 'includes': [ |
421 # Load the shared crypto sources. | 494 # Load the shared crypto sources. |
422 '../../sdk/lib/crypto/crypto_sources.gypi', | 495 '../../sdk/lib/crypto/crypto_sources.gypi', |
423 ], | 496 ], |
424 'actions': [ | 497 'actions': [ |
425 { | 498 { |
| 499 'action_name': 'generate_crypto_dart', |
| 500 'inputs': [ |
| 501 '../tools/concat_library.py', |
| 502 '<@(_sources)', |
| 503 ], |
| 504 'outputs': [ |
| 505 '<(crypto_dart)', |
| 506 ], |
| 507 'action': [ |
| 508 'python', |
| 509 '<@(_inputs)', |
| 510 '--output', '<(crypto_dart)', |
| 511 ], |
| 512 'message': 'Generating ''<(crypto_dart)'' file.', |
| 513 }, |
| 514 { |
426 'action_name': 'generate_crypto_cc', | 515 'action_name': 'generate_crypto_cc', |
427 'inputs': [ | 516 'inputs': [ |
428 '../tools/gen_library_src_paths.py', | 517 '../tools/create_string_literal.py', |
429 '<(libgen_in_cc_file)', | 518 '<(builtin_in_cc_file)', |
430 '<@(_sources)', | 519 '<(crypto_dart)', |
431 ], | 520 ], |
432 'outputs': [ | 521 'outputs': [ |
433 '<(crypto_cc_file)', | 522 '<(crypto_cc_file)', |
434 ], | 523 ], |
435 'action': [ | 524 'action': [ |
436 'python', | 525 'python', |
437 'tools/gen_library_src_paths.py', | 526 'tools/create_string_literal.py', |
438 '--output', '<(crypto_cc_file)', | 527 '--output', '<(crypto_cc_file)', |
439 '--input_cc', '<(libgen_in_cc_file)', | 528 '--input_cc', '<(builtin_in_cc_file)', |
440 '--include', 'vm/bootstrap.h', | 529 '--include', 'vm/bootstrap.h', |
441 '--var_name', 'dart::Bootstrap::crypto_source_paths_', | 530 '--var_name', 'dart::Bootstrap::crypto_source_', |
442 '--library_name', 'dart:crypto', | 531 '<(crypto_dart)', |
443 '<@(_sources)', | |
444 ], | 532 ], |
445 'message': 'Generating ''<(crypto_cc_file)'' file.' | 533 'message': 'Generating ''<(crypto_cc_file)'' file.' |
446 }, | 534 }, |
447 ] | 535 ] |
448 }, | 536 }, |
449 { | 537 { |
450 'target_name': 'generate_math_cc_file', | 538 'target_name': 'generate_math_cc_file', |
451 'type': 'none', | 539 'type': 'none', |
452 'toolsets':['host', 'target'], | 540 'toolsets':['host', 'target'], |
| 541 'variables': { |
| 542 'math_dart': '<(gen_source_dir)/math_gen.dart', |
| 543 }, |
453 'includes': [ | 544 'includes': [ |
454 # Load the shared math library sources. | 545 # Load the shared math library sources. |
455 '../../sdk/lib/math/math_sources.gypi', | 546 '../../sdk/lib/math/math_sources.gypi', |
456 ], | 547 ], |
457 'sources/': [ | 548 'sources/': [ |
458 # Exclude all .[cc|h] files. | 549 # Exclude all .[cc|h] files. |
459 # This is only here for reference. Excludes happen after | 550 # This is only here for reference. Excludes happen after |
460 # variable expansion, so the script has to do its own | 551 # variable expansion, so the script has to do its own |
461 # exclude processing of the sources being passed. | 552 # exclude processing of the sources being passed. |
462 ['exclude', '\\.cc|h$'], | 553 ['exclude', '\\.cc|h$'], |
463 ], | 554 ], |
464 'actions': [ | 555 'actions': [ |
465 { | 556 { |
| 557 'action_name': 'generate_math_dart', |
| 558 'inputs': [ |
| 559 '../tools/concat_library.py', |
| 560 '<@(_sources)', |
| 561 ], |
| 562 'outputs': [ |
| 563 '<(math_dart)', |
| 564 ], |
| 565 'action': [ |
| 566 'python', |
| 567 '<@(_inputs)', |
| 568 '--output', '<(math_dart)', |
| 569 ], |
| 570 'message': 'Generating ''<(math_dart)'' file.', |
| 571 }, |
| 572 { |
466 'action_name': 'generate_math_cc', | 573 'action_name': 'generate_math_cc', |
467 'inputs': [ | 574 'inputs': [ |
468 '../tools/gen_library_src_paths.py', | 575 '../tools/create_string_literal.py', |
469 '<(libgen_in_cc_file)', | 576 '<(builtin_in_cc_file)', |
470 '<@(_sources)', | 577 '<(math_dart)', |
471 ], | 578 ], |
472 'outputs': [ | 579 'outputs': [ |
473 '<(math_cc_file)', | 580 '<(math_cc_file)', |
474 ], | 581 ], |
475 'action': [ | 582 'action': [ |
476 'python', | 583 'python', |
477 'tools/gen_library_src_paths.py', | 584 'tools/create_string_literal.py', |
478 '--output', '<(math_cc_file)', | 585 '--output', '<(math_cc_file)', |
479 '--input_cc', '<(libgen_in_cc_file)', | 586 '--input_cc', '<(builtin_in_cc_file)', |
480 '--include', 'vm/bootstrap.h', | 587 '--include', 'vm/bootstrap.h', |
481 '--var_name', 'dart::Bootstrap::math_source_paths_', | 588 '--var_name', 'dart::Bootstrap::math_source_', |
482 '--library_name', 'dart:math', | 589 '<(math_dart)', |
483 '<@(_sources)', | |
484 ], | 590 ], |
485 'message': 'Generating ''<(math_cc_file)'' file.' | 591 'message': 'Generating ''<(math_cc_file)'' file.' |
486 }, | 592 }, |
487 ] | 593 ] |
488 }, | 594 }, |
489 { | 595 { |
490 'target_name': 'generate_math_patch_cc_file', | 596 'target_name': 'generate_math_patch_cc_file', |
491 'type': 'none', | 597 'type': 'none', |
492 'toolsets':['host', 'target'], | 598 'toolsets':['host', 'target'], |
493 'includes': [ | 599 'includes': [ |
(...skipping 28 matching lines...) Expand all Loading... |
522 '<@(_sources)', | 628 '<@(_sources)', |
523 ], | 629 ], |
524 'message': 'Generating ''<(math_patch_cc_file)'' file.' | 630 'message': 'Generating ''<(math_patch_cc_file)'' file.' |
525 }, | 631 }, |
526 ] | 632 ] |
527 }, | 633 }, |
528 { | 634 { |
529 'target_name': 'generate_mirrors_cc_file', | 635 'target_name': 'generate_mirrors_cc_file', |
530 'type': 'none', | 636 'type': 'none', |
531 'toolsets':['host', 'target'], | 637 'toolsets':['host', 'target'], |
| 638 'variables': { |
| 639 'mirrors_dart': '<(gen_source_dir)/mirrors_gen.dart', |
| 640 }, |
532 'includes': [ | 641 'includes': [ |
533 # Load the shared core library sources. | 642 # Load the shared core library sources. |
534 '../../sdk/lib/mirrors/mirrors_sources.gypi', | 643 '../../sdk/lib/mirrors/mirrors_sources.gypi', |
535 ], | 644 ], |
536 'sources/': [ | 645 'sources/': [ |
537 # Exclude all .[cc|h] files. | 646 # Exclude all .[cc|h] files. |
538 # This is only here for reference. Excludes happen after | 647 # This is only here for reference. Excludes happen after |
539 # variable expansion, so the script has to do its own | 648 # variable expansion, so the script has to do its own |
540 # exclude processing of the sources being passed. | 649 # exclude processing of the sources being passed. |
541 ['exclude', '\\.cc|h$'], | 650 ['exclude', '\\.cc|h$'], |
542 ], | 651 ], |
543 'actions': [ | 652 'actions': [ |
544 { | 653 { |
| 654 'action_name': 'generate_mirrors_dart', |
| 655 'inputs': [ |
| 656 '../tools/concat_library.py', |
| 657 '<@(_sources)', |
| 658 ], |
| 659 'outputs': [ |
| 660 '<(mirrors_dart)', |
| 661 ], |
| 662 'action': [ |
| 663 'python', |
| 664 '<@(_inputs)', |
| 665 '--output', '<(mirrors_dart)', |
| 666 ], |
| 667 'message': 'Generating ''<(mirrors_dart)'' file.', |
| 668 }, |
| 669 { |
545 'action_name': 'generate_mirrors_cc', | 670 'action_name': 'generate_mirrors_cc', |
546 'inputs': [ | 671 'inputs': [ |
547 '../tools/gen_library_src_paths.py', | 672 '../tools/create_string_literal.py', |
548 '<(libgen_in_cc_file)', | 673 '<(builtin_in_cc_file)', |
549 '<@(_sources)', | 674 '<(mirrors_dart)', |
550 ], | 675 ], |
551 'outputs': [ | 676 'outputs': [ |
552 '<(mirrors_cc_file)', | 677 '<(mirrors_cc_file)', |
553 ], | 678 ], |
554 'action': [ | 679 'action': [ |
555 'python', | 680 'python', |
556 'tools/gen_library_src_paths.py', | 681 'tools/create_string_literal.py', |
557 '--output', '<(mirrors_cc_file)', | 682 '--output', '<(mirrors_cc_file)', |
558 '--input_cc', '<(libgen_in_cc_file)', | 683 '--input_cc', '<(builtin_in_cc_file)', |
559 '--include', 'vm/bootstrap.h', | 684 '--include', 'vm/bootstrap.h', |
560 '--var_name', 'dart::Bootstrap::mirrors_source_paths_', | 685 '--var_name', 'dart::Bootstrap::mirrors_source_', |
561 '--library_name', 'dart:mirrors', | 686 '<(mirrors_dart)', |
562 '<@(_sources)', | |
563 ], | 687 ], |
564 'message': 'Generating ''<(mirrors_cc_file)'' file.' | 688 'message': 'Generating ''<(mirrors_cc_file)'' file.' |
565 }, | 689 }, |
566 ] | 690 ] |
567 }, | 691 }, |
568 { | 692 { |
569 'target_name': 'generate_mirrors_patch_cc_file', | 693 'target_name': 'generate_mirrors_patch_cc_file', |
570 'type': 'none', | 694 'type': 'none', |
571 'toolsets':['host', 'target'], | 695 'toolsets':['host', 'target'], |
572 'includes': [ | 696 'includes': [ |
(...skipping 28 matching lines...) Expand all Loading... |
601 '<@(_sources)', | 725 '<@(_sources)', |
602 ], | 726 ], |
603 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' | 727 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' |
604 }, | 728 }, |
605 ] | 729 ] |
606 }, | 730 }, |
607 { | 731 { |
608 'target_name': 'generate_isolate_cc_file', | 732 'target_name': 'generate_isolate_cc_file', |
609 'type': 'none', | 733 'type': 'none', |
610 'toolsets':['host', 'target'], | 734 'toolsets':['host', 'target'], |
| 735 'variables': { |
| 736 'isolate_dart': '<(gen_source_dir)/isolate_gen.dart', |
| 737 }, |
611 'includes': [ | 738 'includes': [ |
612 # Load the runtime implementation sources. | 739 # Load the runtime implementation sources. |
613 '../../sdk/lib/isolate/isolate_sources.gypi', | 740 '../../sdk/lib/isolate/isolate_sources.gypi', |
614 ], | 741 ], |
615 'sources/': [ | 742 'sources/': [ |
616 # Exclude all .[cc|h] files. | 743 # Exclude all .[cc|h] files. |
617 # This is only here for reference. Excludes happen after | 744 # This is only here for reference. Excludes happen after |
618 # variable expansion, so the script has to do its own | 745 # variable expansion, so the script has to do its own |
619 # exclude processing of the sources being passed. | 746 # exclude processing of the sources being passed. |
620 ['exclude', '\\.cc|h$'], | 747 ['exclude', '\\.cc|h$'], |
621 ], | 748 ], |
622 'actions': [ | 749 'actions': [ |
623 { | 750 { |
| 751 'action_name': 'generate_isolate_dart', |
| 752 'inputs': [ |
| 753 '../tools/concat_library.py', |
| 754 '<@(_sources)', |
| 755 ], |
| 756 'outputs': [ |
| 757 '<(isolate_dart)', |
| 758 ], |
| 759 'action': [ |
| 760 'python', |
| 761 '<@(_inputs)', |
| 762 '--output', '<(isolate_dart)', |
| 763 ], |
| 764 'message': 'Generating ''<(isolate_dart)'' file.', |
| 765 }, |
| 766 { |
624 'action_name': 'generate_isolate_cc', | 767 'action_name': 'generate_isolate_cc', |
625 'inputs': [ | 768 'inputs': [ |
626 '../tools/gen_library_src_paths.py', | 769 '../tools/create_string_literal.py', |
627 '<(libgen_in_cc_file)', | 770 '<(builtin_in_cc_file)', |
628 '<@(_sources)', | 771 '<(isolate_dart)', |
629 ], | 772 ], |
630 'outputs': [ | 773 'outputs': [ |
631 '<(isolate_cc_file)', | 774 '<(isolate_cc_file)', |
632 ], | 775 ], |
633 'action': [ | 776 'action': [ |
634 'python', | 777 'python', |
635 'tools/gen_library_src_paths.py', | 778 'tools/create_string_literal.py', |
636 '--output', '<(isolate_cc_file)', | 779 '--output', '<(isolate_cc_file)', |
637 '--input_cc', '<(libgen_in_cc_file)', | 780 '--input_cc', '<(builtin_in_cc_file)', |
638 '--include', 'vm/bootstrap.h', | 781 '--include', 'vm/bootstrap.h', |
639 '--var_name', 'dart::Bootstrap::isolate_source_paths_', | 782 '--var_name', 'dart::Bootstrap::isolate_source_', |
640 '--library_name', 'dart:isolate', | 783 '<(isolate_dart)', |
641 '<@(_sources)', | |
642 ], | 784 ], |
643 'message': 'Generating ''<(isolate_cc_file)'' file.' | 785 'message': 'Generating ''<(isolate_cc_file)'' file.' |
644 }, | 786 }, |
645 ] | 787 ] |
646 }, | 788 }, |
647 { | 789 { |
648 'target_name': 'generate_async_patch_cc_file', | 790 'target_name': 'generate_async_patch_cc_file', |
649 'type': 'none', | 791 'type': 'none', |
650 'toolsets':['host', 'target'], | 792 'toolsets':['host', 'target'], |
651 'includes': [ | 793 'includes': [ |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 '<@(_sources)', | 900 '<@(_sources)', |
759 ], | 901 ], |
760 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' | 902 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' |
761 }, | 903 }, |
762 ] | 904 ] |
763 }, | 905 }, |
764 { | 906 { |
765 'target_name': 'generate_json_cc_file', | 907 'target_name': 'generate_json_cc_file', |
766 'type': 'none', | 908 'type': 'none', |
767 'toolsets':['host', 'target'], | 909 'toolsets':['host', 'target'], |
| 910 'variables': { |
| 911 'json_dart': '<(gen_source_dir)/json_gen.dart', |
| 912 }, |
768 'includes': [ | 913 'includes': [ |
769 # Load the shared json sources. | 914 # Load the shared json sources. |
770 '../../sdk/lib/json/json_sources.gypi', | 915 '../../sdk/lib/json/json_sources.gypi', |
771 ], | 916 ], |
772 'actions': [ | 917 'actions': [ |
773 { | 918 { |
| 919 'action_name': 'generate_json_dart', |
| 920 'inputs': [ |
| 921 '../tools/concat_library.py', |
| 922 '<@(_sources)', |
| 923 ], |
| 924 'outputs': [ |
| 925 '<(json_dart)', |
| 926 ], |
| 927 'action': [ |
| 928 'python', |
| 929 '<@(_inputs)', |
| 930 '--output', '<(json_dart)', |
| 931 ], |
| 932 'message': 'Generating ''<(json_dart)'' file.', |
| 933 }, |
| 934 { |
774 'action_name': 'generate_json_cc', | 935 'action_name': 'generate_json_cc', |
775 'inputs': [ | 936 'inputs': [ |
776 '../tools/gen_library_src_paths.py', | 937 '../tools/create_string_literal.py', |
777 '<(libgen_in_cc_file)', | 938 '<(builtin_in_cc_file)', |
778 '<@(_sources)', | 939 '<(json_dart)', |
779 ], | 940 ], |
780 'outputs': [ | 941 'outputs': [ |
781 '<(json_cc_file)', | 942 '<(json_cc_file)', |
782 ], | 943 ], |
783 'action': [ | 944 'action': [ |
784 'python', | 945 'python', |
785 'tools/gen_library_src_paths.py', | 946 'tools/create_string_literal.py', |
786 '--output', '<(json_cc_file)', | 947 '--output', '<(json_cc_file)', |
787 '--input_cc', '<(libgen_in_cc_file)', | 948 '--input_cc', '<(builtin_in_cc_file)', |
788 '--include', 'vm/bootstrap.h', | 949 '--include', 'vm/bootstrap.h', |
789 '--var_name', 'dart::Bootstrap::json_source_paths_', | 950 '--var_name', 'dart::Bootstrap::json_source_', |
790 '--library_name', 'dart:json', | 951 '<(json_dart)', |
791 '<@(_sources)', | |
792 ], | 952 ], |
793 'message': 'Generating ''<(json_cc_file)'' file.' | 953 'message': 'Generating ''<(json_cc_file)'' file.' |
794 }, | 954 }, |
795 ] | 955 ] |
796 }, | 956 }, |
797 { | 957 { |
798 'target_name': 'generate_json_patch_cc_file', | 958 'target_name': 'generate_json_patch_cc_file', |
799 'type': 'none', | 959 'type': 'none', |
800 'toolsets':['host', 'target'], | 960 'toolsets':['host', 'target'], |
801 'includes': [ | 961 'includes': [ |
(...skipping 28 matching lines...) Expand all Loading... |
830 '<@(_sources)', | 990 '<@(_sources)', |
831 ], | 991 ], |
832 'message': 'Generating ''<(json_patch_cc_file)'' file.' | 992 'message': 'Generating ''<(json_patch_cc_file)'' file.' |
833 }, | 993 }, |
834 ] | 994 ] |
835 }, | 995 }, |
836 { | 996 { |
837 'target_name': 'generate_typed_data_cc_file', | 997 'target_name': 'generate_typed_data_cc_file', |
838 'type': 'none', | 998 'type': 'none', |
839 'toolsets':['host', 'target'], | 999 'toolsets':['host', 'target'], |
| 1000 'variables': { |
| 1001 'typed_data_dart': '<(gen_source_dir)/typed_data_gen.dart', |
| 1002 }, |
840 'includes': [ | 1003 'includes': [ |
841 # Load the shared library sources. | 1004 # Load the shared library sources. |
842 '../../sdk/lib/typed_data/typed_data_sources.gypi', | 1005 '../../sdk/lib/typed_data/typed_data_sources.gypi', |
843 ], | 1006 ], |
844 'sources/': [ | 1007 'sources/': [ |
845 # Exclude all .[cc|h] files. | 1008 # Exclude all .[cc|h] files. |
846 # This is only here for reference. Excludes happen after | 1009 # This is only here for reference. Excludes happen after |
847 # variable expansion, so the script has to do its own | 1010 # variable expansion, so the script has to do its own |
848 # exclude processing of the sources being passed. | 1011 # exclude processing of the sources being passed. |
849 ['exclude', '\\.cc|h$'], | 1012 ['exclude', '\\.cc|h$'], |
850 ], | 1013 ], |
851 'actions': [ | 1014 'actions': [ |
852 { | 1015 { |
| 1016 'action_name': 'generate_typed_data_dart', |
| 1017 'inputs': [ |
| 1018 '../tools/concat_library.py', |
| 1019 '<@(_sources)', |
| 1020 ], |
| 1021 'outputs': [ |
| 1022 '<(typed_data_dart)', |
| 1023 ], |
| 1024 'action': [ |
| 1025 'python', |
| 1026 '<@(_inputs)', |
| 1027 '--output', '<(typed_data_dart)', |
| 1028 ], |
| 1029 'message': 'Generating ''<(typed_data_dart)'' file.', |
| 1030 }, |
| 1031 { |
853 'action_name': 'generate_typed_data_cc', | 1032 'action_name': 'generate_typed_data_cc', |
854 'inputs': [ | 1033 'inputs': [ |
855 '../tools/gen_library_src_paths.py', | 1034 '../tools/create_string_literal.py', |
856 '<(libgen_in_cc_file)', | 1035 '<(builtin_in_cc_file)', |
857 '<@(_sources)', | 1036 '<(typed_data_dart)', |
858 ], | 1037 ], |
859 'outputs': [ | 1038 'outputs': [ |
860 '<(typed_data_cc_file)', | 1039 '<(typed_data_cc_file)', |
861 ], | 1040 ], |
862 'action': [ | 1041 'action': [ |
863 'python', | 1042 'python', |
864 'tools/gen_library_src_paths.py', | 1043 'tools/create_string_literal.py', |
865 '--output', '<(typed_data_cc_file)', | 1044 '--output', '<(typed_data_cc_file)', |
866 '--input_cc', '<(libgen_in_cc_file)', | 1045 '--input_cc', '<(builtin_in_cc_file)', |
867 '--include', 'vm/bootstrap.h', | 1046 '--include', 'vm/bootstrap.h', |
868 '--var_name', 'dart::Bootstrap::typed_data_source_paths_', | 1047 '--var_name', 'dart::Bootstrap::typed_data_source_', |
869 '--library_name', 'dart:typed_data', | 1048 '<(typed_data_dart)', |
870 '<@(_sources)', | |
871 ], | 1049 ], |
872 'message': 'Generating ''<(typed_data_cc_file)'' file.' | 1050 'message': 'Generating ''<(typed_data_cc_file)'' file.' |
873 }, | 1051 }, |
874 ] | 1052 ] |
875 }, | 1053 }, |
876 { | 1054 { |
877 'target_name': 'generate_typed_data_patch_cc_file', | 1055 'target_name': 'generate_typed_data_patch_cc_file', |
878 'type': 'none', | 1056 'type': 'none', |
879 'toolsets':['host', 'target'], | 1057 'toolsets':['host', 'target'], |
880 'includes': [ | 1058 'includes': [ |
(...skipping 28 matching lines...) Expand all Loading... |
909 '<@(_sources)', | 1087 '<@(_sources)', |
910 ], | 1088 ], |
911 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | 1089 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' |
912 }, | 1090 }, |
913 ] | 1091 ] |
914 }, | 1092 }, |
915 { | 1093 { |
916 'target_name': 'generate_uri_cc_file', | 1094 'target_name': 'generate_uri_cc_file', |
917 'type': 'none', | 1095 'type': 'none', |
918 'toolsets':['host', 'target'], | 1096 'toolsets':['host', 'target'], |
| 1097 'variables': { |
| 1098 'uri_dart': '<(gen_source_dir)/uri_gen.dart', |
| 1099 }, |
919 'includes': [ | 1100 'includes': [ |
920 # Load the shared uri sources. | 1101 # Load the shared uri sources. |
921 '../../sdk/lib/uri/uri_sources.gypi', | 1102 '../../sdk/lib/uri/uri_sources.gypi', |
922 ], | 1103 ], |
923 'actions': [ | 1104 'actions': [ |
924 { | 1105 { |
| 1106 'action_name': 'generate_uri_dart', |
| 1107 'inputs': [ |
| 1108 '../tools/concat_library.py', |
| 1109 '<@(_sources)', |
| 1110 ], |
| 1111 'outputs': [ |
| 1112 '<(uri_dart)', |
| 1113 ], |
| 1114 'action': [ |
| 1115 'python', |
| 1116 '<@(_inputs)', |
| 1117 '--output', '<(uri_dart)', |
| 1118 ], |
| 1119 'message': 'Generating ''<(uri_dart)'' file.' |
| 1120 }, |
| 1121 { |
925 'action_name': 'generate_uri_cc', | 1122 'action_name': 'generate_uri_cc', |
926 'inputs': [ | 1123 'inputs': [ |
927 '../tools/gen_library_src_paths.py', | 1124 '../tools/create_string_literal.py', |
928 '<(libgen_in_cc_file)', | 1125 '<(builtin_in_cc_file)', |
929 '<@(_sources)', | 1126 '<(uri_dart)', |
930 ], | 1127 ], |
931 'outputs': [ | 1128 'outputs': [ |
932 '<(uri_cc_file)', | 1129 '<(uri_cc_file)', |
933 ], | 1130 ], |
934 'action': [ | 1131 'action': [ |
935 'python', | 1132 'python', |
936 'tools/gen_library_src_paths.py', | 1133 'tools/create_string_literal.py', |
937 '--output', '<(uri_cc_file)', | 1134 '--output', '<(uri_cc_file)', |
938 '--input_cc', '<(libgen_in_cc_file)', | 1135 '--input_cc', '<(builtin_in_cc_file)', |
939 '--include', 'vm/bootstrap.h', | 1136 '--include', 'vm/bootstrap.h', |
940 '--var_name', 'dart::Bootstrap::uri_source_paths_', | 1137 '--var_name', 'dart::Bootstrap::uri_source_', |
941 '--library_name', 'dart:uri', | 1138 '<(uri_dart)', |
942 '<@(_sources)', | |
943 ], | 1139 ], |
944 'message': 'Generating ''<(uri_cc_file)'' file.' | 1140 'message': 'Generating ''<(uri_cc_file)'' file.' |
945 }, | 1141 }, |
946 ] | 1142 ] |
947 }, | 1143 }, |
948 { | 1144 { |
949 'target_name': 'generate_utf_cc_file', | 1145 'target_name': 'generate_utf_cc_file', |
950 'type': 'none', | 1146 'type': 'none', |
951 'toolsets':['host', 'target'], | 1147 'toolsets':['host', 'target'], |
| 1148 'variables': { |
| 1149 'utf_dart': '<(gen_source_dir)/utf_gen.dart', |
| 1150 }, |
952 'includes': [ | 1151 'includes': [ |
953 # Load the shared utf sources. | 1152 # Load the shared utf sources. |
954 '../../sdk/lib/utf/utf_sources.gypi', | 1153 '../../sdk/lib/utf/utf_sources.gypi', |
955 ], | 1154 ], |
956 'actions': [ | 1155 'actions': [ |
957 { | 1156 { |
| 1157 'action_name': 'generate_utf_dart', |
| 1158 'inputs': [ |
| 1159 '../tools/concat_library.py', |
| 1160 '<@(_sources)', |
| 1161 ], |
| 1162 'outputs': [ |
| 1163 '<(utf_dart)', |
| 1164 ], |
| 1165 'action': [ |
| 1166 'python', |
| 1167 '<@(_inputs)', |
| 1168 '--output', '<(utf_dart)', |
| 1169 ], |
| 1170 'message': 'Generating ''<(utf_dart)'' file.', |
| 1171 }, |
| 1172 { |
958 'action_name': 'generate_utf_cc', | 1173 'action_name': 'generate_utf_cc', |
959 'inputs': [ | 1174 'inputs': [ |
960 '../tools/gen_library_src_paths.py', | 1175 '../tools/create_string_literal.py', |
961 '<(libgen_in_cc_file)', | 1176 '<(builtin_in_cc_file)', |
962 '<@(_sources)', | 1177 '<(utf_dart)', |
963 ], | 1178 ], |
964 'outputs': [ | 1179 'outputs': [ |
965 '<(utf_cc_file)', | 1180 '<(utf_cc_file)', |
966 ], | 1181 ], |
967 'action': [ | 1182 'action': [ |
968 'python', | 1183 'python', |
969 'tools/gen_library_src_paths.py', | 1184 'tools/create_string_literal.py', |
970 '--output', '<(utf_cc_file)', | 1185 '--output', '<(utf_cc_file)', |
971 '--input_cc', '<(libgen_in_cc_file)', | 1186 '--input_cc', '<(builtin_in_cc_file)', |
972 '--include', 'vm/bootstrap.h', | 1187 '--include', 'vm/bootstrap.h', |
973 '--var_name', 'dart::Bootstrap::utf_source_paths_', | 1188 '--var_name', 'dart::Bootstrap::utf_source_', |
974 '--library_name', 'dart:utf', | 1189 '<(utf_dart)', |
975 '<@(_sources)', | |
976 ], | 1190 ], |
977 'message': 'Generating ''<(utf_cc_file)'' file.' | 1191 'message': 'Generating ''<(utf_cc_file)'' file.' |
978 }, | 1192 }, |
979 ] | 1193 ] |
980 }, | 1194 }, |
981 { | 1195 { |
982 'target_name': 'generate_snapshot_test_dat_file', | 1196 'target_name': 'generate_snapshot_test_dat_file', |
983 'type': 'none', | 1197 'type': 'none', |
984 'toolsets':['host', 'target'], | 1198 'toolsets':['host', 'target'], |
985 'actions': [ | 1199 'actions': [ |
(...skipping 15 matching lines...) Expand all Loading... |
1001 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1215 '--include', 'INTENTIONALLY_LEFT_BLANK', |
1002 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1216 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
1003 '<(snapshot_test_dart_file)', | 1217 '<(snapshot_test_dart_file)', |
1004 ], | 1218 ], |
1005 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1219 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
1006 }, | 1220 }, |
1007 ] | 1221 ] |
1008 }, | 1222 }, |
1009 ] | 1223 ] |
1010 } | 1224 } |
OLD | NEW |