| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 #elif defined(_M_IX86) || defined(__i386__) | 99 #elif defined(_M_IX86) || defined(__i386__) |
| 100 #define ARCH_CPU_X86_FAMILY 1 | 100 #define ARCH_CPU_X86_FAMILY 1 |
| 101 #define ARCH_CPU_X86 1 | 101 #define ARCH_CPU_X86 1 |
| 102 #define ARCH_CPU_32_BITS 1 | 102 #define ARCH_CPU_32_BITS 1 |
| 103 #define ARCH_CPU_LITTLE_ENDIAN 1 | 103 #define ARCH_CPU_LITTLE_ENDIAN 1 |
| 104 #elif defined(__ARMEL__) | 104 #elif defined(__ARMEL__) |
| 105 #define ARCH_CPU_ARM_FAMILY 1 | 105 #define ARCH_CPU_ARM_FAMILY 1 |
| 106 #define ARCH_CPU_ARMEL 1 | 106 #define ARCH_CPU_ARMEL 1 |
| 107 #define ARCH_CPU_32_BITS 1 | 107 #define ARCH_CPU_32_BITS 1 |
| 108 #define ARCH_CPU_LITTLE_ENDIAN 1 | 108 #define ARCH_CPU_LITTLE_ENDIAN 1 |
| 109 #elif defined(__arm64__) |
| 110 #define ARCH_CPU_ARM_FAMILY 1 |
| 111 #define ARCH_CPU_ARM64 1 |
| 112 #define ARCH_CPU_64_BITS 1 |
| 113 #define ARCH_CPU_LITTLE_ENDIAN 1 |
| 109 #elif defined(__pnacl__) | 114 #elif defined(__pnacl__) |
| 110 #define ARCH_CPU_32_BITS 1 | 115 #define ARCH_CPU_32_BITS 1 |
| 111 #define ARCH_CPU_LITTLE_ENDIAN 1 | 116 #define ARCH_CPU_LITTLE_ENDIAN 1 |
| 112 #elif defined(__MIPSEL__) | 117 #elif defined(__MIPSEL__) |
| 113 #define ARCH_CPU_MIPS_FAMILY 1 | 118 #define ARCH_CPU_MIPS_FAMILY 1 |
| 114 #define ARCH_CPU_MIPSEL 1 | 119 #define ARCH_CPU_MIPSEL 1 |
| 115 #define ARCH_CPU_32_BITS 1 | 120 #define ARCH_CPU_32_BITS 1 |
| 116 #define ARCH_CPU_LITTLE_ENDIAN 1 | 121 #define ARCH_CPU_LITTLE_ENDIAN 1 |
| 117 #else | 122 #else |
| 118 #error Please add support for your architecture in build/build_config.h | 123 #error Please add support for your architecture in build/build_config.h |
| (...skipping 27 matching lines...) Expand all Loading... |
| 146 #if defined(OS_ANDROID) | 151 #if defined(OS_ANDROID) |
| 147 // The compiler thinks std::string::const_iterator and "const char*" are | 152 // The compiler thinks std::string::const_iterator and "const char*" are |
| 148 // equivalent types. | 153 // equivalent types. |
| 149 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 154 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
| 150 // The compiler thinks base::string16::const_iterator and "char16*" are | 155 // The compiler thinks base::string16::const_iterator and "char16*" are |
| 151 // equivalent types. | 156 // equivalent types. |
| 152 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 157 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
| 153 #endif | 158 #endif |
| 154 | 159 |
| 155 #endif // BUILD_BUILD_CONFIG_H_ | 160 #endif // BUILD_BUILD_CONFIG_H_ |
| OLD | NEW |