| 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 // Compiler: | 10 // Compiler: |
| 10 // COMPILER_MSVC / COMPILER_GCC | 11 // COMPILER_MSVC / COMPILER_GCC |
| 11 // Processor: | 12 // Processor: |
| 12 // ARCH_CPU_X86 / ARCH_CPU_X86_64 / ARCH_CPU_X86_FAMILY (X86 or X86_64) | 13 // ARCH_CPU_X86 / ARCH_CPU_X86_64 / ARCH_CPU_X86_FAMILY (X86 or X86_64) |
| 13 // ARCH_CPU_32_BITS / ARCH_CPU_64_BITS | 14 // ARCH_CPU_32_BITS / ARCH_CPU_64_BITS |
| 14 | 15 |
| 15 #ifndef BUILD_BUILD_CONFIG_H_ | 16 #ifndef BUILD_BUILD_CONFIG_H_ |
| 16 #define BUILD_BUILD_CONFIG_H_ | 17 #define BUILD_BUILD_CONFIG_H_ |
| 17 | 18 |
| 18 // A set of macros to use for platform detection. | 19 // A set of macros to use for platform detection. |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 #if defined(OS_ANDROID) | 160 #if defined(OS_ANDROID) |
| 160 // The compiler thinks std::string::const_iterator and "const char*" are | 161 // The compiler thinks std::string::const_iterator and "const char*" are |
| 161 // equivalent types. | 162 // equivalent types. |
| 162 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 163 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
| 163 // The compiler thinks base::string16::const_iterator and "char16*" are | 164 // The compiler thinks base::string16::const_iterator and "char16*" are |
| 164 // equivalent types. | 165 // equivalent types. |
| 165 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 166 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
| 166 #endif | 167 #endif |
| 167 | 168 |
| 168 #endif // BUILD_BUILD_CONFIG_H_ | 169 #endif // BUILD_BUILD_CONFIG_H_ |
| OLD | NEW |