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

Side by Side Diff: build/build_config.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 // 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 // Compiler: 9 // Compiler:
10 // COMPILER_MSVC / COMPILER_GCC 10 // COMPILER_MSVC / COMPILER_GCC
(...skipping 30 matching lines...) Expand all
41 #elif defined(__linux__) 41 #elif defined(__linux__)
42 #define OS_LINUX 1 42 #define OS_LINUX 1
43 // include a system header to pull in features.h for glibc/uclibc macros. 43 // include a system header to pull in features.h for glibc/uclibc macros.
44 #include <unistd.h> 44 #include <unistd.h>
45 #if defined(__GLIBC__) && !defined(__UCLIBC__) 45 #if defined(__GLIBC__) && !defined(__UCLIBC__)
46 // we really are using glibc, not uClibc pretending to be glibc 46 // we really are using glibc, not uClibc pretending to be glibc
47 #define LIBC_GLIBC 1 47 #define LIBC_GLIBC 1
48 #endif 48 #endif
49 #elif defined(_WIN32) 49 #elif defined(_WIN32)
50 #define OS_WIN 1 50 #define OS_WIN 1
51 #define TOOLKIT_VIEWS 1
51 #elif defined(__FreeBSD__) 52 #elif defined(__FreeBSD__)
52 #define OS_FREEBSD 1 53 #define OS_FREEBSD 1
53 #elif defined(__OpenBSD__) 54 #elif defined(__OpenBSD__)
54 #define OS_OPENBSD 1 55 #define OS_OPENBSD 1
55 #elif defined(__sun) 56 #elif defined(__sun)
56 #define OS_SOLARIS 1 57 #define OS_SOLARIS 1
57 #elif defined(__QNXNTO__) 58 #elif defined(__QNXNTO__)
58 #define OS_QNX 1 59 #define OS_QNX 1
59 #else 60 #else
60 #error Please add support for your platform in build/build_config.h 61 #error Please add support for your platform in build/build_config.h
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 #if defined(OS_ANDROID) 159 #if defined(OS_ANDROID)
159 // The compiler thinks std::string::const_iterator and "const char*" are 160 // The compiler thinks std::string::const_iterator and "const char*" are
160 // equivalent types. 161 // equivalent types.
161 #define STD_STRING_ITERATOR_IS_CHAR_POINTER 162 #define STD_STRING_ITERATOR_IS_CHAR_POINTER
162 // The compiler thinks base::string16::const_iterator and "char16*" are 163 // The compiler thinks base::string16::const_iterator and "char16*" are
163 // equivalent types. 164 // equivalent types.
164 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER 165 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER
165 #endif 166 #endif
166 167
167 #endif // BUILD_BUILD_CONFIG_H_ 168 #endif // BUILD_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « build/android/test_runner.py ('k') | build/common.gypi » ('j') | shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698