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