OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 (__WCHAR_MAX__ == 0x7fff || __WCHAR_MAX__ == 0xffff) | 120 (__WCHAR_MAX__ == 0x7fff || __WCHAR_MAX__ == 0xffff) |
121 // On Posix, we'll detect short wchar_t, but projects aren't guaranteed to | 121 // On Posix, we'll detect short wchar_t, but projects aren't guaranteed to |
122 // compile in this mode (in particular, Chrome doesn't). This is intended for | 122 // compile in this mode (in particular, Chrome doesn't). This is intended for |
123 // other projects using base who manage their own dependencies and make sure | 123 // other projects using base who manage their own dependencies and make sure |
124 // short wchar works for them. | 124 // short wchar works for them. |
125 #define WCHAR_T_IS_UTF16 | 125 #define WCHAR_T_IS_UTF16 |
126 #else | 126 #else |
127 #error Please add support for your compiler in build/build_config.h | 127 #error Please add support for your compiler in build/build_config.h |
128 #endif | 128 #endif |
129 | 129 |
| 130 #if defined(OS_CHROMEOS) |
| 131 // Single define to trigger whether CrOS fonts have BCI on. |
| 132 // In that case font sizes/deltas should be adjusted. |
| 133 //define CROS_FONTS_USING_BCI |
| 134 #endif |
| 135 |
130 #endif // BUILD_BUILD_CONFIG_H_ | 136 #endif // BUILD_BUILD_CONFIG_H_ |
OLD | NEW |