Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: third_party/cld/base/build_config.h

Issue 1632253002: Allocator cleanup: remove CHROME_PROFILER_TIME and rotten tcmalloc deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // For access to standard POSIXish features, use OS_POSIX instead of a 52 // For access to standard POSIXish features, use OS_POSIX instead of a
53 // more specific macro. 53 // more specific macro.
54 #if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || \ 54 #if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || \
55 defined(OS_OPENBSD) || defined(OS_SOLARIS) || defined(OS_ANDROID) 55 defined(OS_OPENBSD) || defined(OS_SOLARIS) || defined(OS_ANDROID)
56 #define OS_POSIX 1 56 #define OS_POSIX 1
57 // Use base::DataPack for name/value pairs. 57 // Use base::DataPack for name/value pairs.
58 #define USE_BASE_DATA_PACK 1 58 #define USE_BASE_DATA_PACK 1
59 #endif 59 #endif
60 60
61 // Use tcmalloc
62 #if defined(OS_WIN) && ! defined(NO_TCMALLOC)
63 #define USE_TCMALLOC 1
64 #endif
65
66 // Compiler detection. 61 // Compiler detection.
67 #if defined(__GNUC__) 62 #if defined(__GNUC__)
68 #define COMPILER_GCC 1 63 #define COMPILER_GCC 1
69 #elif defined(_MSC_VER) 64 #elif defined(_MSC_VER)
70 #define COMPILER_MSVC 1 65 #define COMPILER_MSVC 1
71 #else 66 #else
72 #error Please add support for your compiler in build/build_config.h 67 #error Please add support for your compiler in build/build_config.h
73 #endif 68 #endif
74 69
75 // Processor architecture detection. For more info on what's defined, see: 70 // Processor architecture detection. For more info on what's defined, see:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // On Posix, we'll detect short wchar_t, but projects aren't guaranteed to 111 // On Posix, we'll detect short wchar_t, but projects aren't guaranteed to
117 // compile in this mode (in particular, Chrome doesn't). This is intended for 112 // compile in this mode (in particular, Chrome doesn't). This is intended for
118 // other projects using base who manage their own dependencies and make sure 113 // other projects using base who manage their own dependencies and make sure
119 // short wchar works for them. 114 // short wchar works for them.
120 #define WCHAR_T_IS_UTF16 115 #define WCHAR_T_IS_UTF16
121 #else 116 #else
122 #error Please add support for your compiler in build/build_config.h 117 #error Please add support for your compiler in build/build_config.h
123 #endif 118 #endif
124 119
125 #endif // BUILD_BUILD_CONFIG_H_ 120 #endif // BUILD_BUILD_CONFIG_H_
OLDNEW
« base/profiler/alternate_timer.h ('K') | « third_party/cld/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698