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', |
(...skipping 25 matching lines...) Expand all Loading... |
36 'platform_linux.cc', | 36 'platform_linux.cc', |
37 'platform_macos.cc', | 37 'platform_macos.cc', |
38 'platform_win.cc', | 38 'platform_win.cc', |
39 'process.cc', | 39 'process.cc', |
40 'process.h', | 40 'process.h', |
41 'process_android.cc', | 41 'process_android.cc', |
42 'process_linux.cc', | 42 'process_linux.cc', |
43 'process_macos.cc', | 43 'process_macos.cc', |
44 'process_win.cc', | 44 'process_win.cc', |
45 '../../third_party/root_certificates/root_certificates.cc', | 45 '../../third_party/root_certificates/root_certificates.cc', |
46 'secure_socket.cc', | |
47 'secure_socket.h', | 46 'secure_socket.h', |
| 47 'secure_socket_boringssl.cc', |
| 48 'secure_socket_boringssl.h', |
| 49 'secure_socket_macos.cc', |
| 50 'secure_socket_macos.h', |
48 'secure_socket_unsupported.cc', | 51 'secure_socket_unsupported.cc', |
49 'socket.cc', | 52 'socket.cc', |
50 'socket.h', | 53 'socket.h', |
51 'socket_android.cc', | 54 'socket_android.cc', |
52 'socket_android.h', | 55 'socket_android.h', |
53 'socket_linux.cc', | 56 'socket_linux.cc', |
54 'socket_linux.h', | 57 'socket_linux.h', |
55 'socket_macos.cc', | 58 'socket_macos.cc', |
56 'socket_macos.h', | 59 'socket_macos.h', |
57 'socket_win.cc', | 60 'socket_win.cc', |
58 'socket_win.h', | 61 'socket_win.h', |
59 'stdio.cc', | 62 'stdio.cc', |
60 'stdio.h', | 63 'stdio.h', |
61 'stdio_android.cc', | 64 'stdio_android.cc', |
62 'stdio_linux.cc', | 65 'stdio_linux.cc', |
63 'stdio_macos.cc', | 66 'stdio_macos.cc', |
64 'stdio_win.cc', | 67 'stdio_win.cc', |
65 ], | 68 ], |
66 'conditions': [ | 69 'conditions': [ |
67 ['dart_io_support==1', { | 70 ['dart_io_support==1', { |
68 'conditions': [ | 71 'conditions': [ |
69 ['dart_io_secure_socket==1', { | 72 ['dart_io_secure_socket==1', { |
70 'sources!' : [ | 73 'sources!' : [ |
71 'io_service_no_ssl.cc', | 74 'io_service_no_ssl.cc', |
72 'io_service_no_ssl.h', | 75 'io_service_no_ssl.h', |
73 'secure_socket_unsupported.cc', | 76 'secure_socket_unsupported.cc', |
74 ], | 77 ], |
| 78 'conditions': [ |
| 79 ['OS=="mac"', { |
| 80 # On Mac, we use the system keystore, so do not compile in the |
| 81 # root certs. |
| 82 'sources!': [ |
| 83 '../../third_party/root_certificates/root_certificates.cc', |
| 84 ], |
| 85 }], |
| 86 ], |
75 }, { # else dart_io_secure_socket == 0 | 87 }, { # else dart_io_secure_socket == 0 |
76 'sources!' : [ | 88 'sources!' : [ |
77 '../../third_party/root_certificates/root_certificates.cc', | 89 '../../third_party/root_certificates/root_certificates.cc', |
78 'io_service.cc', | 90 'io_service.cc', |
79 'io_service.h', | 91 'io_service.h', |
80 'secure_socket.cc', | |
81 'secure_socket.h', | 92 'secure_socket.h', |
| 93 'secure_socket_boringssl.cc', |
| 94 'secure_socket_boringssl.h', |
| 95 'secure_socket_macos.cc', |
| 96 'secure_socket_macos.h', |
82 ], | 97 ], |
83 }], | 98 }], |
84 ], | 99 ], |
85 'sources!' : [ | 100 'sources!' : [ |
86 'filter_unsupported.cc', | 101 'filter_unsupported.cc', |
87 'io_service_unsupported.cc', | 102 'io_service_unsupported.cc', |
88 ], | 103 ], |
89 },{ # else dart_io_support == 0 | 104 },{ # else dart_io_support == 0 |
90 'sources!' : [ | 105 'sources!' : [ |
91 'filter.cc', | 106 'filter.cc', |
92 'filter.h', | 107 'filter.h', |
93 'io_service.cc', | 108 'io_service.cc', |
94 'io_service.h', | 109 'io_service.h', |
95 'io_service_no_ssl.cc', | 110 'io_service_no_ssl.cc', |
96 'io_service_no_ssl.h', | 111 'io_service_no_ssl.h', |
97 '../../third_party/root_certificates/root_certificates.cc', | 112 '../../third_party/root_certificates/root_certificates.cc', |
98 'secure_socket.cc', | |
99 'secure_socket.h', | 113 'secure_socket.h', |
| 114 'secure_socket_boringssl.cc', |
| 115 'secure_socket_boringssl.h', |
| 116 'secure_socket_macos.cc', |
| 117 'secure_socket_macos.h', |
100 ], | 118 ], |
101 }], | 119 }], |
102 ], | 120 ], |
103 } | 121 } |
OLD | NEW |