| 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': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 | 8 |
| 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', | 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', | 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', |
| 11 'builtin_in_cc_file': 'builtin_in.cc', | 11 'builtin_in_cc_file': 'builtin_in.cc', |
| 12 'builtin_cc_file': '<(gen_source_dir)/builtin_gen.cc', | 12 'builtin_cc_file': '<(gen_source_dir)/builtin_gen.cc', |
| 13 'snapshot_in_cc_file': 'snapshot_in.cc', | 13 'snapshot_in_cc_file': 'snapshot_in.cc', |
| 14 'vm_isolate_snapshot_bin_file': '<(gen_source_dir)/vm_isolate_snapshot_gen.b
in', | 14 'vm_isolate_snapshot_bin_file': '<(gen_source_dir)/vm_isolate_snapshot_gen.b
in', |
| 15 'isolate_snapshot_bin_file': '<(gen_source_dir)/isolate_snapshot_gen.bin', | 15 'isolate_snapshot_bin_file': '<(gen_source_dir)/isolate_snapshot_gen.bin', |
| 16 'gen_snapshot_stamp_file': '<(gen_source_dir)/gen_snapshot.stamp', |
| 16 'resources_cc_file': '<(gen_source_dir)/resources_gen.cc', | 17 'resources_cc_file': '<(gen_source_dir)/resources_gen.cc', |
| 17 'bootstrap_resources_cc_file': | 18 'bootstrap_resources_cc_file': |
| 18 '<(gen_source_dir)/bootstrap_resources_gen.cc', | 19 '<(gen_source_dir)/bootstrap_resources_gen.cc', |
| 19 'snapshot_cc_file': '<(gen_source_dir)/snapshot_gen.cc', | 20 'snapshot_cc_file': '<(gen_source_dir)/snapshot_gen.cc', |
| 20 }, | 21 }, |
| 21 'targets': [ | 22 'targets': [ |
| 22 { | 23 { |
| 23 'target_name': 'generate_builtin_cc_file', | 24 'target_name': 'generate_builtin_cc_file', |
| 24 'type': 'none', | 25 'type': 'none', |
| 25 'toolsets':['host'], | 26 'toolsets':['host'], |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 'gen_snapshot#host', | 414 'gen_snapshot#host', |
| 414 ], | 415 ], |
| 415 'actions': [ | 416 'actions': [ |
| 416 { | 417 { |
| 417 'action_name': 'generate_snapshot_bin', | 418 'action_name': 'generate_snapshot_bin', |
| 418 'inputs': [ | 419 'inputs': [ |
| 419 '../tools/create_snapshot_bin.py', | 420 '../tools/create_snapshot_bin.py', |
| 420 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', | 421 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
| 421 ], | 422 ], |
| 422 'outputs': [ | 423 'outputs': [ |
| 423 '<(vm_isolate_snapshot_bin_file)', | 424 '<(gen_snapshot_stamp_file)', |
| 424 '<(isolate_snapshot_bin_file)', | |
| 425 ], | 425 ], |
| 426 'action': [ | 426 'action': [ |
| 427 'python', | 427 'python', |
| 428 'tools/create_snapshot_bin.py', | 428 'tools/create_snapshot_bin.py', |
| 429 '--executable', | 429 '--executable', |
| 430 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', | 430 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
| 431 '--vm_output_bin', '<(vm_isolate_snapshot_bin_file)', | 431 '--vm_output_bin', '<(vm_isolate_snapshot_bin_file)', |
| 432 '--output_bin', '<(isolate_snapshot_bin_file)', | 432 '--output_bin', '<(isolate_snapshot_bin_file)', |
| 433 '--target_os', '<(OS)' | 433 '--target_os', '<(OS)', |
| 434 '--timestamp_file', '<(gen_snapshot_stamp_file)', |
| 434 ], | 435 ], |
| 435 'message': 'Generating ''<(vm_isolate_snapshot_bin_file)'' ''<(isolate
_snapshot_bin_file)'' files.' | 436 'message': 'Generating ''<(vm_isolate_snapshot_bin_file)'' ''<(isolate
_snapshot_bin_file)'' files.' |
| 436 }, | 437 }, |
| 437 ], | 438 ], |
| 438 }, | 439 }, |
| 439 { | 440 { |
| 440 # Generate snapshot file. | 441 # Generate snapshot file. |
| 441 'target_name': 'generate_snapshot_file', | 442 'target_name': 'generate_snapshot_file', |
| 442 'type': 'none', | 443 'type': 'none', |
| 443 'toolsets':['host'], | 444 'toolsets':['host'], |
| 444 'dependencies': [ | 445 'dependencies': [ |
| 445 'generate_snapshot_bin#host', | 446 'generate_snapshot_bin#host', |
| 446 ], | 447 ], |
| 447 'actions': [ | 448 'actions': [ |
| 448 { | 449 { |
| 449 'action_name': 'generate_snapshot_file', | 450 'action_name': 'generate_snapshot_file', |
| 450 'inputs': [ | 451 'inputs': [ |
| 451 '../tools/create_snapshot_file.py', | 452 '../tools/create_snapshot_file.py', |
| 453 '<(gen_snapshot_stamp_file)', |
| 452 '<(snapshot_in_cc_file)', | 454 '<(snapshot_in_cc_file)', |
| 453 '<(vm_isolate_snapshot_bin_file)', | |
| 454 '<(isolate_snapshot_bin_file)', | |
| 455 ], | 455 ], |
| 456 'outputs': [ | 456 'outputs': [ |
| 457 '<(snapshot_cc_file)', | 457 '<(snapshot_cc_file)', |
| 458 ], | 458 ], |
| 459 'action': [ | 459 'action': [ |
| 460 'python', | 460 'python', |
| 461 'tools/create_snapshot_file.py', | 461 'tools/create_snapshot_file.py', |
| 462 '--vm_input_bin', '<(vm_isolate_snapshot_bin_file)', | 462 '--vm_input_bin', '<(vm_isolate_snapshot_bin_file)', |
| 463 '--input_bin', '<(isolate_snapshot_bin_file)', | 463 '--input_bin', '<(isolate_snapshot_bin_file)', |
| 464 '--input_cc', '<(snapshot_in_cc_file)', | 464 '--input_cc', '<(snapshot_in_cc_file)', |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 }], | 805 }], |
| 806 ['OS=="linux"', { | 806 ['OS=="linux"', { |
| 807 'cflags': [ | 807 'cflags': [ |
| 808 '-fPIC', | 808 '-fPIC', |
| 809 ], | 809 ], |
| 810 }], | 810 }], |
| 811 ], | 811 ], |
| 812 }, | 812 }, |
| 813 ], | 813 ], |
| 814 } | 814 } |
| OLD | NEW |