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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 #else | 135 #else |
136 #error Please add support for your compiler in build/build_config.h | 136 #error Please add support for your compiler in build/build_config.h |
137 #endif | 137 #endif |
138 | 138 |
139 #if defined(__ARMEL__) && !defined(OS_IOS) | 139 #if defined(__ARMEL__) && !defined(OS_IOS) |
140 #define WCHAR_T_IS_UNSIGNED 1 | 140 #define WCHAR_T_IS_UNSIGNED 1 |
141 #elif defined(__MIPSEL__) | 141 #elif defined(__MIPSEL__) |
142 #define WCHAR_T_IS_UNSIGNED 0 | 142 #define WCHAR_T_IS_UNSIGNED 0 |
143 #endif | 143 #endif |
144 | 144 |
145 #if defined(OS_CHROMEOS) | |
146 // Single define to trigger whether CrOS fonts have BCI on. | |
147 // In that case font sizes/deltas should be adjusted. | |
148 //define CROS_FONTS_USING_BCI | |
149 #endif | |
150 | |
151 #if defined(OS_ANDROID) | 145 #if defined(OS_ANDROID) |
152 // The compiler thinks std::string::const_iterator and "const char*" are | 146 // The compiler thinks std::string::const_iterator and "const char*" are |
153 // equivalent types. | 147 // equivalent types. |
154 #define STD_STRING_ITERATOR_IS_CHAR_POINTER | 148 #define STD_STRING_ITERATOR_IS_CHAR_POINTER |
155 // The compiler thinks base::string16::const_iterator and "char16*" are | 149 // The compiler thinks base::string16::const_iterator and "char16*" are |
156 // equivalent types. | 150 // equivalent types. |
157 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER | 151 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER |
158 #endif | 152 #endif |
159 | 153 |
160 #endif // BUILD_BUILD_CONFIG_H_ | 154 #endif // BUILD_BUILD_CONFIG_H_ |
OLD | NEW |