| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file adds defines about the platform we're currently building on. | 5 // This file adds defines about the platform we're currently building on. |
| 6 // Operating System: | 6 // Operating System: |
| 7 // OS_WIN / OS_MACOSX / OS_LINUX / OS_POSIX (MACOSX or LINUX) / | 7 // OS_WIN / OS_MACOSX / OS_LINUX / OS_POSIX (MACOSX or LINUX) / |
| 8 // OS_NACL (NACL_SFI or NACL_NONSFI) / OS_NACL_SFI / OS_NACL_NONSFI | 8 // OS_NACL (NACL_SFI or NACL_NONSFI) / OS_NACL_SFI / OS_NACL_NONSFI |
| 9 // OS_CHROMEOS is set by the build system | 9 // OS_CHROMEOS is set by the build system |
| 10 // Compiler: | 10 // Compiler: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 #define OS_OPENBSD 1 | 59 #define OS_OPENBSD 1 |
| 60 #elif defined(__sun) | 60 #elif defined(__sun) |
| 61 #define OS_SOLARIS 1 | 61 #define OS_SOLARIS 1 |
| 62 #elif defined(__QNXNTO__) | 62 #elif defined(__QNXNTO__) |
| 63 #define OS_QNX 1 | 63 #define OS_QNX 1 |
| 64 #elif defined(_AIX) | 64 #elif defined(_AIX) |
| 65 #define OS_AIX 1 | 65 #define OS_AIX 1 |
| 66 #else | 66 #else |
| 67 #error Please add support for your platform in build/build_config.h | 67 #error Please add support for your platform in build/build_config.h |
| 68 #endif | 68 #endif |
| 69 // NOTE: Adding a new port? Please follow |
| 70 // https://chromium.googlesource.com/chromium/src/+/master/docs/new_port_policy.
md |
| 69 | 71 |
| 70 #if defined(USE_OPENSSL_CERTS) && defined(USE_NSS_CERTS) | 72 #if defined(USE_OPENSSL_CERTS) && defined(USE_NSS_CERTS) |
| 71 #error Cannot use both OpenSSL and NSS for certificates | 73 #error Cannot use both OpenSSL and NSS for certificates |
| 72 #endif | 74 #endif |
| 73 | 75 |
| 74 // For access to standard BSD features, use OS_BSD instead of a | 76 // For access to standard BSD features, use OS_BSD instead of a |
| 75 // more specific macro. | 77 // more specific macro. |
| 76 #if defined(OS_FREEBSD) || defined(OS_NETBSD) || defined(OS_OPENBSD) | 78 #if defined(OS_FREEBSD) || defined(OS_NETBSD) || defined(OS_OPENBSD) |
| 77 #define OS_BSD 1 | 79 #define OS_BSD 1 |
| 78 #endif | 80 #endif |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 #if defined(OS_ANDROID) | 186 #if defined(OS_ANDROID) |
| 185 // The compiler thinks std::string::const_iterator and "const char*" are | 187 // The compiler thinks std::string::const_iterator and "const char*" are |
| 186 // equivalent types. | 188 // equivalent types. |
| 187 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 189 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
| 188 // The compiler thinks base::string16::const_iterator and "char16*" are | 190 // The compiler thinks base::string16::const_iterator and "char16*" are |
| 189 // equivalent types. | 191 // equivalent types. |
| 190 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 192 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
| 191 #endif | 193 #endif |
| 192 | 194 |
| 193 #endif // BUILD_BUILD_CONFIG_H_ | 195 #endif // BUILD_BUILD_CONFIG_H_ |
| OLD | NEW |