| 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', |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 '<@(_sources)', | 347 '<@(_sources)', |
| 348 ], | 348 ], |
| 349 'outputs': [ | 349 'outputs': [ |
| 350 '<(resources_cc_file)', | 350 '<(resources_cc_file)', |
| 351 ], | 351 ], |
| 352 'action': [ | 352 'action': [ |
| 353 'python', | 353 'python', |
| 354 'tools/create_resources.py', | 354 'tools/create_resources.py', |
| 355 '--output', '<(resources_cc_file)', | 355 '--output', '<(resources_cc_file)', |
| 356 '--root_prefix', 'bin/', | 356 '--root_prefix', 'bin/', |
| 357 '<@(_sources)', | 357 '--package_dir', '<(PRODUCT_DIR)/', |
| 358 '--third_party_dir', '../third_party/', |
| 359 '--rebase', 'vmservice/client/', |
| 360 'bin/resources_sources.gypi', |
| 358 ], | 361 ], |
| 359 'message': 'Generating ''<(resources_cc_file)'' file.' | 362 'message': 'Generating ''<(resources_cc_file)'' file.' |
| 360 }, | 363 }, |
| 361 ] | 364 ] |
| 362 }, | 365 }, |
| 363 { | 366 { |
| 364 # dart binary with a snapshot of corelibs built in. | 367 # dart binary with a snapshot of corelibs built in. |
| 365 'target_name': 'dart', | 368 'target_name': 'dart', |
| 366 'type': 'executable', | 369 'type': 'executable', |
| 367 'dependencies': [ | 370 'dependencies': [ |
| 371 '../pkg/pkg.gyp:pkg_packages', |
| 368 'libdart', | 372 'libdart', |
| 369 'libdart_builtin', | 373 'libdart_builtin', |
| 370 'libdart_io', | 374 'libdart_io', |
| 371 'generate_snapshot_file#host', | 375 'generate_snapshot_file#host', |
| 372 'generate_resources_cc_file#host', | 376 'generate_resources_cc_file#host', |
| 373 ], | 377 ], |
| 374 'include_dirs': [ | 378 'include_dirs': [ |
| 375 '..', | 379 '..', |
| 376 ], | 380 ], |
| 377 'sources': [ | 381 'sources': [ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 ], | 427 ], |
| 424 }, | 428 }, |
| 425 }], | 429 }], |
| 426 ], | 430 ], |
| 427 }, | 431 }, |
| 428 { | 432 { |
| 429 # dart binary without any snapshot built in. | 433 # dart binary without any snapshot built in. |
| 430 'target_name': 'dart_no_snapshot', | 434 'target_name': 'dart_no_snapshot', |
| 431 'type': 'executable', | 435 'type': 'executable', |
| 432 'dependencies': [ | 436 'dependencies': [ |
| 437 '../pkg/pkg.gyp:pkg_packages', |
| 433 'libdart_withcore', | 438 'libdart_withcore', |
| 434 'libdart_builtin', | 439 'libdart_builtin', |
| 435 'libdart_io', | 440 'libdart_io', |
| 436 'generate_resources_cc_file#host', | 441 'generate_resources_cc_file#host', |
| 437 ], | 442 ], |
| 438 'include_dirs': [ | 443 'include_dirs': [ |
| 439 '..', | 444 '..', |
| 440 ], | 445 ], |
| 441 'sources': [ | 446 'sources': [ |
| 442 'main.cc', | 447 'main.cc', |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 '-fPIC', | 676 '-fPIC', |
| 672 ], | 677 ], |
| 673 }], | 678 }], |
| 674 ], | 679 ], |
| 675 }, | 680 }, |
| 676 ], | 681 ], |
| 677 }], | 682 }], |
| 678 ], | 683 ], |
| 679 } | 684 } |
| 680 | 685 |
| OLD | NEW |