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

Side by Side Diff: build/build_config.h

Issue 2417443002: GN: Add PPC/s390 Linux support (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « base/debug/debugger_posix.cc ('k') | tools/gn/args.cc » ('j') | 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) 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 #if defined(_M_X64) || defined(__x86_64__) 104 #if defined(_M_X64) || defined(__x86_64__)
105 #define ARCH_CPU_X86_FAMILY 1 105 #define ARCH_CPU_X86_FAMILY 1
106 #define ARCH_CPU_X86_64 1 106 #define ARCH_CPU_X86_64 1
107 #define ARCH_CPU_64_BITS 1 107 #define ARCH_CPU_64_BITS 1
108 #define ARCH_CPU_LITTLE_ENDIAN 1 108 #define ARCH_CPU_LITTLE_ENDIAN 1
109 #elif defined(_M_IX86) || defined(__i386__) 109 #elif defined(_M_IX86) || defined(__i386__)
110 #define ARCH_CPU_X86_FAMILY 1 110 #define ARCH_CPU_X86_FAMILY 1
111 #define ARCH_CPU_X86 1 111 #define ARCH_CPU_X86 1
112 #define ARCH_CPU_32_BITS 1 112 #define ARCH_CPU_32_BITS 1
113 #define ARCH_CPU_LITTLE_ENDIAN 1 113 #define ARCH_CPU_LITTLE_ENDIAN 1
114 #elif defined(__s390x__)
115 #define ARCH_CPU_S390_FAMILY 1
116 #define ARCH_CPU_S390X 1
117 #define ARCH_CPU_64_BITS 1
118 #define ARCH_CPU_BIG_ENDIAN 1
119 #elif defined(__s390__)
120 #define ARCH_CPU_S390_FAMILY 1
121 #define ARCH_CPU_S390 1
122 #define ARCH_CPU_31_BITS 1
123 #define ARCH_CPU_BIG_ENDIAN 1
124 #elif defined(__PPC64__) && defined(__BIG_ENDIAN__)
125 #define ARCH_CPU_PPC64_FAMILY 1
126 #define ARCH_CPU_PPC64 1
127 #define ARCH_CPU_64_BITS 1
128 #define ARCH_CPU_BIG_ENDIAN 1
129 #elif defined(__PPC64__) && defined(__LITTLE_ENDIAN__)
130 #define ARCH_CPU_PPC64_FAMILY 1
131 #define ARCH_CPU_PPC64 1
132 #define ARCH_CPU_64_BITS 1
133 #define ARCH_CPU_LITTLE_ENDIAN 1
134 #elif defined(__PPC__)
135 #define ARCH_CPU_PPC_FAMILY 1
136 #define ARCH_CPU_PPC 1
137 #define ARCH_CPU_32_BITS 1
138 #define ARCH_CPU_BIG_ENDIAN 1
114 #elif defined(__ARMEL__) 139 #elif defined(__ARMEL__)
115 #define ARCH_CPU_ARM_FAMILY 1 140 #define ARCH_CPU_ARM_FAMILY 1
116 #define ARCH_CPU_ARMEL 1 141 #define ARCH_CPU_ARMEL 1
117 #define ARCH_CPU_32_BITS 1 142 #define ARCH_CPU_32_BITS 1
118 #define ARCH_CPU_LITTLE_ENDIAN 1 143 #define ARCH_CPU_LITTLE_ENDIAN 1
119 #elif defined(__aarch64__) 144 #elif defined(__aarch64__)
120 #define ARCH_CPU_ARM_FAMILY 1 145 #define ARCH_CPU_ARM_FAMILY 1
121 #define ARCH_CPU_ARM64 1 146 #define ARCH_CPU_ARM64 1
122 #define ARCH_CPU_64_BITS 1 147 #define ARCH_CPU_64_BITS 1
123 #define ARCH_CPU_LITTLE_ENDIAN 1 148 #define ARCH_CPU_LITTLE_ENDIAN 1
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 #if defined(OS_ANDROID) 187 #if defined(OS_ANDROID)
163 // The compiler thinks std::string::const_iterator and "const char*" are 188 // The compiler thinks std::string::const_iterator and "const char*" are
164 // equivalent types. 189 // equivalent types.
165 #define STD_STRING_ITERATOR_IS_CHAR_POINTER 190 #define STD_STRING_ITERATOR_IS_CHAR_POINTER
166 // The compiler thinks base::string16::const_iterator and "char16*" are 191 // The compiler thinks base::string16::const_iterator and "char16*" are
167 // equivalent types. 192 // equivalent types.
168 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER 193 #define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER
169 #endif 194 #endif
170 195
171 #endif // BUILD_BUILD_CONFIG_H_ 196 #endif // BUILD_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « base/debug/debugger_posix.cc ('k') | tools/gn/args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698