| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 'socket_win.h', | 62 'socket_win.h', |
| 63 'stdio.cc', | 63 'stdio.cc', |
| 64 'stdio.h', | 64 'stdio.h', |
| 65 'stdio_android.cc', | 65 'stdio_android.cc', |
| 66 'stdio_linux.cc', | 66 'stdio_linux.cc', |
| 67 'stdio_macos.cc', | 67 'stdio_macos.cc', |
| 68 'stdio_win.cc', | 68 'stdio_win.cc', |
| 69 ], | 69 ], |
| 70 'conditions': [ | 70 'conditions': [ |
| 71 ['dart_io_support==1', { | 71 ['dart_io_support==1', { |
| 72 'conditions': [ | |
| 73 ['dart_io_secure_socket==1', { | |
| 74 'sources!' : [ | |
| 75 'io_service_no_ssl.cc', | |
| 76 'io_service_no_ssl.h', | |
| 77 'secure_socket_unsupported.cc', | |
| 78 ], | |
| 79 'conditions': [ | |
| 80 ['dart_io_ssl_builtin_roots==0 or OS=="mac"', { | |
| 81 # On Mac, we use the system keystore, so do not compile in the | |
| 82 # root certs. | |
| 83 'sources!' : [ | |
| 84 '../../third_party/root_certificates/root_certificates.cc', | |
| 85 ], | |
| 86 }, { # else dart_io_ssl_builtin_roots == 1 and OS != mac. | |
| 87 'sources!' : [ | |
| 88 'root_certificates_unsupported.cc', | |
| 89 ], | |
| 90 }], | |
| 91 ], | |
| 92 }, { # else dart_io_secure_socket == 0 | |
| 93 'sources!' : [ | |
| 94 '../../third_party/root_certificates/root_certificates.cc', | |
| 95 'root_certificates_unsupported.cc', | |
| 96 'io_service.cc', | |
| 97 'io_service.h', | |
| 98 'secure_socket.h', | |
| 99 'secure_socket_boringssl.cc', | |
| 100 'secure_socket_boringssl.h', | |
| 101 'secure_socket_macos.cc', | |
| 102 'secure_socket_macos.h', | |
| 103 ], | |
| 104 }], | |
| 105 ], | |
| 106 'sources!' : [ | 72 'sources!' : [ |
| 107 'filter_unsupported.cc', | 73 'filter_unsupported.cc', |
| 108 'io_service_unsupported.cc', | 74 'io_service_unsupported.cc', |
| 109 ], | 75 ], |
| 110 },{ # else dart_io_support == 0 | 76 },{ # else dart_io_support == 0 |
| 111 'sources!' : [ | 77 'sources!' : [ |
| 112 'filter.cc', | 78 'filter.cc', |
| 113 'filter.h', | 79 'filter.h', |
| 114 'io_service.cc', | 80 'io_service.cc', |
| 115 'io_service.h', | 81 'io_service.h', |
| 116 'io_service_no_ssl.cc', | 82 'io_service_no_ssl.cc', |
| 117 'io_service_no_ssl.h', | 83 'io_service_no_ssl.h', |
| 118 '../../third_party/root_certificates/root_certificates.cc', | 84 '../../third_party/root_certificates/root_certificates.cc', |
| 119 'root_certificates_unsupported.cc', | 85 'root_certificates_unsupported.cc', |
| 120 'secure_socket.h', | 86 'secure_socket.h', |
| 121 'secure_socket_boringssl.cc', | 87 'secure_socket_boringssl.cc', |
| 122 'secure_socket_boringssl.h', | 88 'secure_socket_boringssl.h', |
| 123 'secure_socket_macos.cc', | 89 'secure_socket_macos.cc', |
| 124 'secure_socket_macos.h', | 90 'secure_socket_macos.h', |
| 125 ], | 91 ], |
| 126 }], | 92 }], |
| 127 ], | 93 ], |
| 128 } | 94 } |
| OLD | NEW |