OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Compiler: | 8 // Compiler: |
9 // COMPILER_MSVC / COMPILER_GCC | 9 // COMPILER_MSVC / COMPILER_GCC |
10 // Processor: | 10 // Processor: |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #if defined(USE_OPENSSL) && defined(USE_NSS) | 62 #if defined(USE_OPENSSL) && defined(USE_NSS) |
63 #error Cannot use both OpenSSL and NSS | 63 #error Cannot use both OpenSSL and NSS |
64 #endif | 64 #endif |
65 | 65 |
66 // For access to standard POSIXish features, use OS_POSIX instead of a | 66 // For access to standard POSIXish features, use OS_POSIX instead of a |
67 // more specific macro. | 67 // more specific macro. |
68 #if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || \ | 68 #if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || \ |
69 defined(OS_OPENBSD) || defined(OS_SOLARIS) || defined(OS_ANDROID) || \ | 69 defined(OS_OPENBSD) || defined(OS_SOLARIS) || defined(OS_ANDROID) || \ |
70 defined(OS_NACL) | 70 defined(OS_NACL) |
71 #define OS_POSIX 1 | 71 #define OS_POSIX 1 |
72 // Use base::DataPack for name/value pairs. | |
73 #define USE_BASE_DATA_PACK 1 | |
74 #endif | 72 #endif |
75 | 73 |
76 // Use tcmalloc | 74 // Use tcmalloc |
77 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(NO_TCMALLOC) | 75 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(NO_TCMALLOC) |
78 #define USE_TCMALLOC 1 | 76 #define USE_TCMALLOC 1 |
79 #endif | 77 #endif |
80 | 78 |
81 // Use heapchecker. | 79 // Use heapchecker. |
82 #if defined(OS_LINUX) && !defined(NO_HEAPCHECKER) | 80 #if defined(OS_LINUX) && !defined(NO_HEAPCHECKER) |
83 #define USE_HEAPCHECKER 1 | 81 #define USE_HEAPCHECKER 1 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 #if defined(OS_ANDROID) | 142 #if defined(OS_ANDROID) |
145 // The compiler thinks std::string::const_iterator and "const char*" are | 143 // The compiler thinks std::string::const_iterator and "const char*" are |
146 // equivalent types. | 144 // equivalent types. |
147 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 145 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
148 // The compiler thinks base::string16::const_iterator and "char16*" are | 146 // The compiler thinks base::string16::const_iterator and "char16*" are |
149 // equivalent types. | 147 // equivalent types. |
150 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 148 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
151 #endif | 149 #endif |
152 | 150 |
153 #endif // BUILD_BUILD_CONFIG_H_ | 151 #endif // BUILD_BUILD_CONFIG_H_ |
OLD | NEW |