| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 ], | 368 ], |
| 369 }, | 369 }, |
| 370 { | 370 { |
| 371 # Completely statically linked binary for generating snapshots. | 371 # Completely statically linked binary for generating snapshots. |
| 372 'target_name': 'gen_snapshot', | 372 'target_name': 'gen_snapshot', |
| 373 'type': 'executable', | 373 'type': 'executable', |
| 374 'toolsets':['host'], | 374 'toolsets':['host'], |
| 375 'dependencies': [ | 375 'dependencies': [ |
| 376 'libdart_nosnapshot', | 376 'libdart_nosnapshot', |
| 377 'libdart_builtin', | 377 'libdart_builtin', |
| 378 'libdart_io', |
| 378 ], | 379 ], |
| 379 'include_dirs': [ | 380 'include_dirs': [ |
| 380 '..', | 381 '..', |
| 381 ], | 382 ], |
| 382 'sources': [ | 383 'sources': [ |
| 383 'address_sanitizer.cc', | 384 'address_sanitizer.cc', |
| 384 'gen_snapshot.cc', | 385 'gen_snapshot.cc', |
| 385 # Very limited native resolver provided. | 386 # Very limited native resolver provided. |
| 386 'builtin_gen_snapshot.cc', | 387 'builtin_gen_snapshot.cc', |
| 387 'builtin_common.cc', | 388 'builtin_common.cc', |
| 388 'builtin.cc', | 389 'builtin.cc', |
| 389 'builtin.h', | 390 'builtin.h', |
| 390 'platform_android.cc', | 391 'platform_android.cc', |
| 391 'platform_linux.cc', | 392 'platform_linux.cc', |
| 392 'platform_macos.cc', | 393 'platform_macos.cc', |
| 393 'platform_win.cc', | 394 'platform_win.cc', |
| 394 'platform.h', | 395 'platform.h', |
| 396 'vmservice_impl.cc', |
| 397 'vmservice_impl.h', |
| 395 # Include generated source files. | 398 # Include generated source files. |
| 396 '<(builtin_cc_file)', | 399 '<(builtin_cc_file)', |
| 397 '<(io_cc_file)', | 400 '<(io_cc_file)', |
| 398 '<(io_patch_cc_file)', | 401 '<(io_patch_cc_file)', |
| 402 '<(resources_cc_file)', |
| 399 ], | 403 ], |
| 400 'defines': [ | 404 'defines': [ |
| 401 'PLATFORM_DISABLE_SOCKET' | 405 'PLATFORM_DISABLE_SOCKET', |
| 402 ], | 406 ], |
| 403 'conditions': [ | 407 'conditions': [ |
| 404 ['OS=="win"', { | 408 ['OS=="win"', { |
| 405 'link_settings': { | 409 'link_settings': { |
| 406 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 410 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 407 }, | 411 }, |
| 408 }], | 412 }], |
| 409 ], | 413 ], |
| 410 }, | 414 }, |
| 411 { | 415 { |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 }], | 813 }], |
| 810 ['OS=="linux"', { | 814 ['OS=="linux"', { |
| 811 'cflags': [ | 815 'cflags': [ |
| 812 '-fPIC', | 816 '-fPIC', |
| 813 ], | 817 ], |
| 814 }], | 818 }], |
| 815 ], | 819 ], |
| 816 }, | 820 }, |
| 817 ], | 821 ], |
| 818 } | 822 } |
| OLD | NEW |