| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 ], | 330 ], |
| 331 'message': 'Generating ''<(snapshot_cc_file)'' file.' | 331 'message': 'Generating ''<(snapshot_cc_file)'' file.' |
| 332 }, | 332 }, |
| 333 ] | 333 ] |
| 334 }, | 334 }, |
| 335 { | 335 { |
| 336 'target_name': 'generate_resources_cc_file', | 336 'target_name': 'generate_resources_cc_file', |
| 337 'type': 'none', | 337 'type': 'none', |
| 338 'toolsets':['host'], | 338 'toolsets':['host'], |
| 339 'includes': [ | 339 'includes': [ |
| 340 'resources_sources.gypi' | 340 'resources_sources.gypi', |
| 341 ], | 341 ], |
| 342 'actions': [ | 342 'actions': [ |
| 343 { | 343 { |
| 344 'action_name': 'generate_resources_cc', | 344 'action_name': 'generate_resources_cc', |
| 345 'inputs': [ | 345 'inputs': [ |
| 346 '../tools/create_resources.py', | 346 '../tools/create_resources.py', |
| 347 '<@(_sources)', | 347 '<@(_sources)', |
| 348 ], | 348 ], |
| 349 'outputs': [ | 349 'outputs': [ |
| 350 '<(resources_cc_file)', | 350 '<(resources_cc_file)', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 374 'include_dirs': [ | 374 'include_dirs': [ |
| 375 '..', | 375 '..', |
| 376 ], | 376 ], |
| 377 'sources': [ | 377 'sources': [ |
| 378 'main.cc', | 378 'main.cc', |
| 379 'builtin_natives.cc', | 379 'builtin_natives.cc', |
| 380 'builtin_nolib.cc', | 380 'builtin_nolib.cc', |
| 381 'builtin.h', | 381 'builtin.h', |
| 382 'io_natives.h', | 382 'io_natives.h', |
| 383 'resources.h', | 383 'resources.h', |
| 384 'vmservice.h', |
| 385 'vmservice_impl.cc', |
| 386 'vmservice_impl.h', |
| 384 '<(snapshot_cc_file)', | 387 '<(snapshot_cc_file)', |
| 385 '<(resources_cc_file)', | 388 '<(resources_cc_file)', |
| 386 ], | 389 ], |
| 387 'conditions': [ | 390 'conditions': [ |
| 388 ['OS=="win"', { | 391 ['OS=="win"', { |
| 389 'link_settings': { | 392 'link_settings': { |
| 390 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | 393 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
| 391 }, | 394 }, |
| 392 # Generate an import library on Windows, by exporting a function. | 395 # Generate an import library on Windows, by exporting a function. |
| 393 # Extensions use this import library to link to the API in dart.exe. | 396 # Extensions use this import library to link to the API in dart.exe. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 'include_dirs': [ | 438 'include_dirs': [ |
| 436 '..', | 439 '..', |
| 437 ], | 440 ], |
| 438 'sources': [ | 441 'sources': [ |
| 439 'main.cc', | 442 'main.cc', |
| 440 'builtin.cc', | 443 'builtin.cc', |
| 441 'builtin_natives.cc', | 444 'builtin_natives.cc', |
| 442 'builtin.h', | 445 'builtin.h', |
| 443 'io_natives.h', | 446 'io_natives.h', |
| 444 'resources.h', | 447 'resources.h', |
| 448 'vmservice.h', |
| 449 'vmservice_impl.cc', |
| 450 'vmservice_impl.h', |
| 445 # Include generated source files. | 451 # Include generated source files. |
| 446 '<(builtin_cc_file)', | 452 '<(builtin_cc_file)', |
| 447 '<(io_cc_file)', | 453 '<(io_cc_file)', |
| 448 '<(io_patch_cc_file)', | 454 '<(io_patch_cc_file)', |
| 449 '<(resources_cc_file)', | 455 '<(resources_cc_file)', |
| 450 'snapshot_empty.cc', | 456 'snapshot_empty.cc', |
| 451 ], | 457 ], |
| 452 'conditions': [ | 458 'conditions': [ |
| 453 ['OS=="win"', { | 459 ['OS=="win"', { |
| 454 'link_settings': { | 460 'link_settings': { |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 '-fPIC', | 671 '-fPIC', |
| 666 ], | 672 ], |
| 667 }], | 673 }], |
| 668 ], | 674 ], |
| 669 }, | 675 }, |
| 670 ], | 676 ], |
| 671 }], | 677 }], |
| 672 ], | 678 ], |
| 673 } | 679 } |
| 674 | 680 |
| OLD | NEW |