OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 #if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) | 5 #if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) |
6 | 6 |
7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
8 #if defined(TARGET_OS_MACOS) || \ | 8 #if defined(TARGET_OS_MACOS) || defined(TARGET_OS_ANDROID) || \ |
9 defined(TARGET_OS_ANDROID) || \ | |
10 defined(DART_IO_ROOT_CERTS_DISABLED) | 9 defined(DART_IO_ROOT_CERTS_DISABLED) |
11 | 10 |
12 namespace dart { | 11 namespace dart { |
13 namespace bin { | 12 namespace bin { |
14 | 13 |
15 const unsigned char* root_certificates_pem = NULL; | 14 const unsigned char* root_certificates_pem = NULL; |
16 unsigned int root_certificates_pem_length = 0; | 15 unsigned int root_certificates_pem_length = 0; |
17 | 16 |
18 } // namespace bin | 17 } // namespace bin |
19 } // namespace dart | 18 } // namespace dart |
20 | 19 |
21 #endif // defined(TARGET_OS_MACOS) || defined(TARGET_OS_ANDROID) || ... | 20 #endif // defined(TARGET_OS_MACOS) || defined(TARGET_OS_ANDROID) || ... |
22 | 21 |
23 #endif // !defined(DART_IO_DISABLED) && | 22 #endif // !defined(DART_IO_DISABLED) && |
24 // !defined(DART_IO_SECURE_SOCKET_DISABLED) | 23 // !defined(DART_IO_SECURE_SOCKET_DISABLED) |
OLD | NEW |