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