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 // Compiler: | 8 // Compiler: |
9 // COMPILER_MSVC / COMPILER_GCC | 9 // COMPILER_MSVC / COMPILER_GCC |
10 // Processor: | 10 // Processor: |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 #elif defined(_M_IX86) || defined(__i386__) | 100 #elif defined(_M_IX86) || defined(__i386__) |
101 #define ARCH_CPU_X86_FAMILY 1 | 101 #define ARCH_CPU_X86_FAMILY 1 |
102 #define ARCH_CPU_X86 1 | 102 #define ARCH_CPU_X86 1 |
103 #define ARCH_CPU_32_BITS 1 | 103 #define ARCH_CPU_32_BITS 1 |
104 #define ARCH_CPU_LITTLE_ENDIAN 1 | 104 #define ARCH_CPU_LITTLE_ENDIAN 1 |
105 #elif defined(__ARMEL__) | 105 #elif defined(__ARMEL__) |
106 #define ARCH_CPU_ARM_FAMILY 1 | 106 #define ARCH_CPU_ARM_FAMILY 1 |
107 #define ARCH_CPU_ARMEL 1 | 107 #define ARCH_CPU_ARMEL 1 |
108 #define ARCH_CPU_32_BITS 1 | 108 #define ARCH_CPU_32_BITS 1 |
109 #define ARCH_CPU_LITTLE_ENDIAN 1 | 109 #define ARCH_CPU_LITTLE_ENDIAN 1 |
110 #elif defined(__arm64__) | 110 #elif defined(__arm64__) || defined(__aarch64__) |
111 #define ARCH_CPU_ARM_FAMILY 1 | 111 #define ARCH_CPU_ARM_FAMILY 1 |
112 #define ARCH_CPU_ARM64 1 | 112 #define ARCH_CPU_ARM64 1 |
113 #define ARCH_CPU_64_BITS 1 | 113 #define ARCH_CPU_64_BITS 1 |
114 #define ARCH_CPU_LITTLE_ENDIAN 1 | 114 #define ARCH_CPU_LITTLE_ENDIAN 1 |
115 #elif defined(__pnacl__) | 115 #elif defined(__pnacl__) |
116 #define ARCH_CPU_32_BITS 1 | 116 #define ARCH_CPU_32_BITS 1 |
117 #define ARCH_CPU_LITTLE_ENDIAN 1 | 117 #define ARCH_CPU_LITTLE_ENDIAN 1 |
118 #elif defined(__MIPSEL__) | 118 #elif defined(__MIPSEL__) |
119 #define ARCH_CPU_MIPS_FAMILY 1 | 119 #define ARCH_CPU_MIPS_FAMILY 1 |
120 #define ARCH_CPU_MIPSEL 1 | 120 #define ARCH_CPU_MIPSEL 1 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 #if defined(OS_ANDROID) | 152 #if defined(OS_ANDROID) |
153 // The compiler thinks std::string::const_iterator and "const char*" are | 153 // The compiler thinks std::string::const_iterator and "const char*" are |
154 // equivalent types. | 154 // equivalent types. |
155 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 155 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
156 // The compiler thinks base::string16::const_iterator and "char16*" are | 156 // The compiler thinks base::string16::const_iterator and "char16*" are |
157 // equivalent types. | 157 // equivalent types. |
158 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 158 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
159 #endif | 159 #endif |
160 | 160 |
161 #endif // BUILD_BUILD_CONFIG_H_ | 161 #endif // BUILD_BUILD_CONFIG_H_ |
OLD | NEW |