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