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 'eventhandler.cc', | 9 'eventhandler.cc', |
10 'eventhandler.h', | 10 'eventhandler.h', |
11 'eventhandler_android.cc', | 11 'eventhandler_android.cc', |
12 'eventhandler_android.h', | 12 'eventhandler_android.h', |
13 'eventhandler_linux.cc', | 13 'eventhandler_linux.cc', |
14 'eventhandler_linux.h', | 14 'eventhandler_linux.h', |
15 'eventhandler_macos.cc', | 15 'eventhandler_macos.cc', |
16 'eventhandler_macos.h', | 16 'eventhandler_macos.h', |
| 17 'eventhandler_unsupported.cc', |
17 'eventhandler_win.cc', | 18 'eventhandler_win.cc', |
18 'eventhandler_win.h', | 19 'eventhandler_win.h', |
19 'file_system_watcher.cc', | 20 'file_system_watcher.cc', |
20 'file_system_watcher.h', | 21 'file_system_watcher.h', |
21 'file_system_watcher_android.cc', | 22 'file_system_watcher_android.cc', |
22 'file_system_watcher_linux.cc', | 23 'file_system_watcher_linux.cc', |
23 'file_system_watcher_macos.cc', | 24 'file_system_watcher_macos.cc', |
| 25 'file_system_watcher_unsupported.cc', |
24 'file_system_watcher_win.cc', | 26 'file_system_watcher_win.cc', |
25 'filter.cc', | 27 'filter.cc', |
26 'filter.h', | 28 'filter.h', |
27 'filter_unsupported.cc', | 29 'filter_unsupported.cc', |
28 'io_service.cc', | 30 'io_service.cc', |
29 'io_service.h', | 31 'io_service.h', |
30 'io_service_no_ssl.cc', | 32 'io_service_no_ssl.cc', |
31 'io_service_no_ssl.h', | 33 'io_service_no_ssl.h', |
32 'io_service_unsupported.cc', | 34 'io_service_unsupported.cc', |
33 'platform.cc', | 35 'platform.cc', |
34 'platform.h', | 36 'platform.h', |
35 'platform_android.cc', | 37 'platform_android.cc', |
36 'platform_linux.cc', | 38 'platform_linux.cc', |
37 'platform_macos.cc', | 39 'platform_macos.cc', |
| 40 'platform_unsupported.cc', |
38 'platform_win.cc', | 41 'platform_win.cc', |
39 'process.cc', | 42 'process.cc', |
40 'process.h', | 43 'process.h', |
41 'process_android.cc', | 44 'process_android.cc', |
42 'process_linux.cc', | 45 'process_linux.cc', |
43 'process_macos.cc', | 46 'process_macos.cc', |
| 47 'process_unsupported.cc', |
44 'process_win.cc', | 48 'process_win.cc', |
45 '../../third_party/root_certificates/root_certificates.cc', | 49 '../../third_party/root_certificates/root_certificates.cc', |
46 'root_certificates_unsupported.cc', | 50 'root_certificates_unsupported.cc', |
47 'secure_socket.h', | 51 'secure_socket.h', |
48 'secure_socket_boringssl.cc', | 52 'secure_socket_boringssl.cc', |
49 'secure_socket_boringssl.h', | 53 'secure_socket_boringssl.h', |
50 'secure_socket_macos.cc', | 54 'secure_socket_macos.cc', |
51 'secure_socket_macos.h', | 55 'secure_socket_macos.h', |
52 'secure_socket_unsupported.cc', | 56 'secure_socket_unsupported.cc', |
53 'socket.cc', | 57 'socket.cc', |
54 'socket.h', | 58 'socket.h', |
55 'socket_android.cc', | 59 'socket_android.cc', |
56 'socket_android.h', | 60 'socket_android.h', |
57 'socket_linux.cc', | 61 'socket_linux.cc', |
58 'socket_linux.h', | 62 'socket_linux.h', |
59 'socket_macos.cc', | 63 'socket_macos.cc', |
60 'socket_macos.h', | 64 'socket_macos.h', |
| 65 'socket_unsupported.cc', |
61 'socket_win.cc', | 66 'socket_win.cc', |
62 'socket_win.h', | 67 'socket_win.h', |
63 'stdio.cc', | 68 'stdio.cc', |
64 'stdio.h', | 69 'stdio.h', |
65 'stdio_android.cc', | 70 'stdio_android.cc', |
66 'stdio_linux.cc', | 71 'stdio_linux.cc', |
67 'stdio_macos.cc', | 72 'stdio_macos.cc', |
| 73 'stdio_unsupported.cc', |
68 'stdio_win.cc', | 74 'stdio_win.cc', |
69 ], | 75 ], |
70 'conditions': [ | |
71 ['dart_io_support==1', { | |
72 'sources!' : [ | |
73 'filter_unsupported.cc', | |
74 'io_service_unsupported.cc', | |
75 ], | |
76 },{ # else dart_io_support == 0 | |
77 'sources!' : [ | |
78 'filter.cc', | |
79 'filter.h', | |
80 'io_service.cc', | |
81 'io_service.h', | |
82 'io_service_no_ssl.cc', | |
83 'io_service_no_ssl.h', | |
84 '../../third_party/root_certificates/root_certificates.cc', | |
85 'root_certificates_unsupported.cc', | |
86 'secure_socket.h', | |
87 'secure_socket_boringssl.cc', | |
88 'secure_socket_boringssl.h', | |
89 'secure_socket_macos.cc', | |
90 'secure_socket_macos.h', | |
91 ], | |
92 }], | |
93 ], | |
94 } | 76 } |
OLD | NEW |