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 # This file contains some C++ sources for the dart:io library. The other | 5 # This file contains some C++ sources for the dart:io library. The other |
6 # implementation files are in builtin_impl_sources.gypi. | 6 # implementation files are in builtin_impl_sources.gypi. |
7 { | 7 { |
8 'sources': [ | 8 'sources': [ |
9 'common.cc', | 9 'common.cc', |
10 'crypto.cc', | 10 'crypto.cc', |
11 'crypto_android.cc', | 11 'crypto_android.cc', |
12 'crypto_linux.cc', | 12 'crypto_linux.cc', |
13 'crypto_macos.cc', | 13 'crypto_macos.cc', |
14 'crypto_win.cc', | 14 'crypto_win.cc', |
15 'eventhandler.cc', | 15 'eventhandler.cc', |
16 'eventhandler.h', | 16 'eventhandler.h', |
17 'eventhandler_android.cc', | 17 'eventhandler_android.cc', |
18 'eventhandler_linux.cc', | 18 'eventhandler_linux.cc', |
19 'eventhandler_linux.h', | 19 'eventhandler_linux.h', |
20 'eventhandler_macos.cc', | 20 'eventhandler_macos.cc', |
21 'eventhandler_macos.h', | 21 'eventhandler_macos.h', |
22 'eventhandler_win.cc', | 22 'eventhandler_win.cc', |
23 'eventhandler_win.h', | 23 'eventhandler_win.h', |
24 'filter.cc', | 24 'filter.cc', |
25 'filter.h', | 25 'filter.h', |
| 26 'filter_unsupported.cc', |
26 'net/nss_memio.cc', | 27 'net/nss_memio.cc', |
27 'net/nss_memio.h', | 28 'net/nss_memio.h', |
28 'platform.cc', | 29 'platform.cc', |
29 'platform.h', | 30 'platform.h', |
30 'platform_android.cc', | 31 'platform_android.cc', |
31 'platform_linux.cc', | 32 'platform_linux.cc', |
32 'platform_macos.cc', | 33 'platform_macos.cc', |
33 'platform_win.cc', | 34 'platform_win.cc', |
34 'process.cc', | 35 'process.cc', |
35 'process.h', | 36 'process.h', |
36 'process_android.cc', | 37 'process_android.cc', |
37 'process_linux.cc', | 38 'process_linux.cc', |
38 'process_macos.cc', | 39 'process_macos.cc', |
39 'process_win.cc', | 40 'process_win.cc', |
40 'socket.cc', | 41 'socket.cc', |
41 'socket.h', | 42 'socket.h', |
42 'socket_android.cc', | 43 'socket_android.cc', |
43 'socket_linux.cc', | 44 'socket_linux.cc', |
44 'socket_macos.cc', | 45 'socket_macos.cc', |
45 'socket_win.cc', | 46 'socket_win.cc', |
46 'secure_socket.cc', | 47 'secure_socket.cc', |
47 'secure_socket.h', | 48 'secure_socket.h', |
| 49 'secure_socket_unsupported.cc', |
| 50 ], |
| 51 'conditions': [ |
| 52 ['dart_io_support==1', { |
| 53 'sources!' : [ |
| 54 'filter_unsupported.cc', |
| 55 'secure_socket_unsupported.cc', |
| 56 ], |
| 57 },{ # else dart_io_support == 0 |
| 58 'sources!' : [ |
| 59 'filter.cc', |
| 60 'filter.h', |
| 61 'net/nss_memio.cc', |
| 62 'net/nss_memio.h', |
| 63 'secure_socket.cc', |
| 64 'secure_socket.h', |
| 65 ], |
| 66 }], |
48 ], | 67 ], |
49 } | 68 } |
OLD | NEW |