| 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 'platform_android.cc', | 392 'platform_android.cc', |
| 393 'platform_linux.cc', | 393 'platform_linux.cc', |
| 394 'platform_macos.cc', | 394 'platform_macos.cc', |
| 395 'platform_win.cc', | 395 'platform_win.cc', |
| 396 'platform.h', | 396 'platform.h', |
| 397 # Include generated source files. | 397 # Include generated source files. |
| 398 '<(builtin_cc_file)', | 398 '<(builtin_cc_file)', |
| 399 '<(io_cc_file)', | 399 '<(io_cc_file)', |
| 400 '<(io_patch_cc_file)', | 400 '<(io_patch_cc_file)', |
| 401 ], | 401 ], |
| 402 'defines': [ |
| 403 'PLATFORM_DISABLE_SOCKET' |
| 404 ], |
| 402 'conditions': [ | 405 'conditions': [ |
| 403 ['OS=="win"', { | 406 ['OS=="win"', { |
| 404 'link_settings': { | 407 'link_settings': { |
| 405 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 408 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 406 }, | 409 }, |
| 407 }], | 410 }], |
| 408 ], | 411 ], |
| 409 }, | 412 }, |
| 410 { | 413 { |
| 411 # Generate snapshot bin file. | 414 # Generate snapshot bin file. |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 }], | 801 }], |
| 799 ['OS=="linux"', { | 802 ['OS=="linux"', { |
| 800 'cflags': [ | 803 'cflags': [ |
| 801 '-fPIC', | 804 '-fPIC', |
| 802 ], | 805 ], |
| 803 }], | 806 }], |
| 804 ], | 807 ], |
| 805 }, | 808 }, |
| 806 ], | 809 ], |
| 807 } | 810 } |
| OLD | NEW |