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 // Compiler: | 9 // Compiler: |
10 // COMPILER_MSVC / COMPILER_GCC | 10 // COMPILER_MSVC / COMPILER_GCC |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 #elif defined(__aarch64__) | 116 #elif defined(__aarch64__) |
117 #define ARCH_CPU_ARM_FAMILY 1 | 117 #define ARCH_CPU_ARM_FAMILY 1 |
118 #define ARCH_CPU_ARM64 1 | 118 #define ARCH_CPU_ARM64 1 |
119 #define ARCH_CPU_64_BITS 1 | 119 #define ARCH_CPU_64_BITS 1 |
120 #define ARCH_CPU_LITTLE_ENDIAN 1 | 120 #define ARCH_CPU_LITTLE_ENDIAN 1 |
121 #elif defined(__pnacl__) | 121 #elif defined(__pnacl__) |
122 #define ARCH_CPU_32_BITS 1 | 122 #define ARCH_CPU_32_BITS 1 |
123 #define ARCH_CPU_LITTLE_ENDIAN 1 | 123 #define ARCH_CPU_LITTLE_ENDIAN 1 |
124 #elif defined(__MIPSEL__) | 124 #elif defined(__MIPSEL__) |
125 #if defined(__LP64__) | 125 #if defined(__LP64__) |
126 #define ARCH_CPU_MIPS64_FAMILY 1 | 126 #define ARCH_CPU_MIPS_FAMILY 1 |
127 #define ARCH_CPU_MIPS64EL 1 | 127 #define ARCH_CPU_MIPS64EL 1 |
128 #define ARCH_CPU_64_BITS 1 | 128 #define ARCH_CPU_64_BITS 1 |
129 #define ARCH_CPU_LITTLE_ENDIAN 1 | 129 #define ARCH_CPU_LITTLE_ENDIAN 1 |
130 #else | 130 #else |
131 #define ARCH_CPU_MIPS_FAMILY 1 | 131 #define ARCH_CPU_MIPS_FAMILY 1 |
132 #define ARCH_CPU_MIPSEL 1 | 132 #define ARCH_CPU_MIPSEL 1 |
133 #define ARCH_CPU_32_BITS 1 | 133 #define ARCH_CPU_32_BITS 1 |
134 #define ARCH_CPU_LITTLE_ENDIAN 1 | 134 #define ARCH_CPU_LITTLE_ENDIAN 1 |
135 #endif | 135 #endif |
136 #else | 136 #else |
(...skipping 22 matching lines...) Expand all Loading... |
159 #if defined(OS_ANDROID) | 159 #if defined(OS_ANDROID) |
160 // The compiler thinks std::string::const_iterator and "const char*" are | 160 // The compiler thinks std::string::const_iterator and "const char*" are |
161 // equivalent types. | 161 // equivalent types. |
162 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 162 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
163 // The compiler thinks base::string16::const_iterator and "char16*" are | 163 // The compiler thinks base::string16::const_iterator and "char16*" are |
164 // equivalent types. | 164 // equivalent types. |
165 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 165 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
166 #endif | 166 #endif |
167 | 167 |
168 #endif // BUILD_BUILD_CONFIG_H_ | 168 #endif // BUILD_BUILD_CONFIG_H_ |
OLD | NEW |