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

Side by Side Diff: build/build_config.h

Issue 7744034: Allow __pnacl__ target to build code included from Chrome. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 #define ARCH_CPU_X86_FAMILY 1 103 #define ARCH_CPU_X86_FAMILY 1
104 #define ARCH_CPU_X86 1 104 #define ARCH_CPU_X86 1
105 #define ARCH_CPU_32_BITS 1 105 #define ARCH_CPU_32_BITS 1
106 #define ARCH_CPU_LITTLE_ENDIAN 1 106 #define ARCH_CPU_LITTLE_ENDIAN 1
107 #elif defined(__ARMEL__) 107 #elif defined(__ARMEL__)
108 #define ARCH_CPU_ARM_FAMILY 1 108 #define ARCH_CPU_ARM_FAMILY 1
109 #define ARCH_CPU_ARMEL 1 109 #define ARCH_CPU_ARMEL 1
110 #define ARCH_CPU_32_BITS 1 110 #define ARCH_CPU_32_BITS 1
111 #define ARCH_CPU_LITTLE_ENDIAN 1 111 #define ARCH_CPU_LITTLE_ENDIAN 1
112 #define WCHAR_T_IS_UNSIGNED 1 112 #define WCHAR_T_IS_UNSIGNED 1
113 #elif defined(__pnacl__)
114 #define ARCH_CPU_32_BITS 1
113 #else 115 #else
114 #error Please add support for your architecture in build/build_config.h 116 #error Please add support for your architecture in build/build_config.h
115 #endif 117 #endif
116 118
117 // Type detection for wchar_t. 119 // Type detection for wchar_t.
118 #if defined(OS_WIN) 120 #if defined(OS_WIN)
119 #define WCHAR_T_IS_UTF16 121 #define WCHAR_T_IS_UTF16
120 #elif defined(OS_POSIX) && defined(COMPILER_GCC) && \ 122 #elif defined(OS_POSIX) && defined(COMPILER_GCC) && \
121 defined(__WCHAR_MAX__) && \ 123 defined(__WCHAR_MAX__) && \
122 (__WCHAR_MAX__ == 0x7fffffff || __WCHAR_MAX__ == 0xffffffff) 124 (__WCHAR_MAX__ == 0x7fffffff || __WCHAR_MAX__ == 0xffffffff)
(...skipping 19 matching lines...) Expand all
142 #if defined(OS_ANDROID) 144 #if defined(OS_ANDROID)
143 // The compiler thinks std::string::const_iterator and "const char*" are 145 // The compiler thinks std::string::const_iterator and "const char*" are
144 // equivalent types. 146 // equivalent types.
145 #define STD_STRING_ITERATOR_IS_CHAR_POINTER 147 #define STD_STRING_ITERATOR_IS_CHAR_POINTER
146 // The compiler thinks base::string16::const_iterator and "char16*" are 148 // The compiler thinks base::string16::const_iterator and "char16*" are
147 // equivalent types. 149 // equivalent types.
148 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER 150 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER
149 #endif 151 #endif
150 152
151 #endif // BUILD_BUILD_CONFIG_H_ 153 #endif // BUILD_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698