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

Side by Side Diff: src/base/build_config.h

Issue 321123002: Make presubmit script happy again. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 6 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 | « samples/process.cc ('k') | src/jsregexp.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project 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 #ifndef V8_BASE_BUILD_CONFIG_H_ 5 #ifndef V8_BASE_BUILD_CONFIG_H_
6 #define V8_BASE_BUILD_CONFIG_H_ 6 #define V8_BASE_BUILD_CONFIG_H_
7 7
8 #include "include/v8config.h" 8 #include "include/v8config.h"
9 9
10 // Processor architecture detection. For more info on what's defined, see: 10 // Processor architecture detection. For more info on what's defined, see:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 # define CAN_USE_ARMV7_INSTRUCTIONS 1 51 # define CAN_USE_ARMV7_INSTRUCTIONS 1
52 # ifndef CAN_USE_VFP3_INSTRUCTIONS 52 # ifndef CAN_USE_VFP3_INSTRUCTIONS
53 # define CAN_USE_VFP3_INSTRUCTIONS 53 # define CAN_USE_VFP3_INSTRUCTIONS
54 # endif 54 # endif
55 #endif 55 #endif
56 56
57 57
58 // Target architecture detection. This may be set externally. If not, detect 58 // Target architecture detection. This may be set externally. If not, detect
59 // in the same way as the host architecture, that is, target the native 59 // in the same way as the host architecture, that is, target the native
60 // environment as presented by the compiler. 60 // environment as presented by the compiler.
61 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_X87 &&\ 61 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_X87 && \
62 !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS 62 !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS
63 #if defined(_M_X64) || defined(__x86_64__) 63 #if defined(_M_X64) || defined(__x86_64__)
64 #define V8_TARGET_ARCH_X64 1 64 #define V8_TARGET_ARCH_X64 1
65 #elif defined(_M_IX86) || defined(__i386__) 65 #elif defined(_M_IX86) || defined(__i386__)
66 #define V8_TARGET_ARCH_IA32 1 66 #define V8_TARGET_ARCH_IA32 1
67 #elif defined(__AARCH64EL__) 67 #elif defined(__AARCH64EL__)
68 #define V8_TARGET_ARCH_ARM64 1 68 #define V8_TARGET_ARCH_ARM64 1
69 #elif defined(__ARMEL__) 69 #elif defined(__ARMEL__)
70 #define V8_TARGET_ARCH_ARM 1 70 #define V8_TARGET_ARCH_ARM 1
71 #elif defined(__MIPSEB__) || defined(__MIPSEL__) 71 #elif defined(__MIPSEB__) || defined(__MIPSEL__)
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #define V8_TARGET_LITTLE_ENDIAN 1 111 #define V8_TARGET_LITTLE_ENDIAN 1
112 #else 112 #else
113 #error Unknown target architecture endianness 113 #error Unknown target architecture endianness
114 #endif 114 #endif
115 115
116 #if V8_OS_MACOSX || defined(__FreeBSD__) || defined(__OpenBSD__) 116 #if V8_OS_MACOSX || defined(__FreeBSD__) || defined(__OpenBSD__)
117 #define USING_BSD_ABI 117 #define USING_BSD_ABI
118 #endif 118 #endif
119 119
120 #endif // V8_BASE_BUILD_CONFIG_H_ 120 #endif // V8_BASE_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « samples/process.cc ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698