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

Side by Side Diff: include/v8config.h

Issue 2175193003: Remove NaCl support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 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
« no previous file with comments | « gypfiles/vs_toolchain.py ('k') | src/base/atomicops.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 V8CONFIG_H_ 5 #ifndef V8CONFIG_H_
6 #define V8CONFIG_H_ 6 #define V8CONFIG_H_
7 7
8 // clang-format off 8 // clang-format off
9 9
10 // Platform headers for feature detection below. 10 // Platform headers for feature detection below.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // ----------------------------------------------------------------------------- 56 // -----------------------------------------------------------------------------
57 // Operating system detection 57 // Operating system detection
58 // 58 //
59 // V8_OS_ANDROID - Android 59 // V8_OS_ANDROID - Android
60 // V8_OS_BSD - BSDish (Mac OS X, Net/Free/Open/DragonFlyBSD) 60 // V8_OS_BSD - BSDish (Mac OS X, Net/Free/Open/DragonFlyBSD)
61 // V8_OS_CYGWIN - Cygwin 61 // V8_OS_CYGWIN - Cygwin
62 // V8_OS_DRAGONFLYBSD - DragonFlyBSD 62 // V8_OS_DRAGONFLYBSD - DragonFlyBSD
63 // V8_OS_FREEBSD - FreeBSD 63 // V8_OS_FREEBSD - FreeBSD
64 // V8_OS_LINUX - Linux 64 // V8_OS_LINUX - Linux
65 // V8_OS_MACOSX - Mac OS X 65 // V8_OS_MACOSX - Mac OS X
66 // V8_OS_NACL - Native Client
67 // V8_OS_NETBSD - NetBSD 66 // V8_OS_NETBSD - NetBSD
68 // V8_OS_OPENBSD - OpenBSD 67 // V8_OS_OPENBSD - OpenBSD
69 // V8_OS_POSIX - POSIX compatible (mostly everything except Windows) 68 // V8_OS_POSIX - POSIX compatible (mostly everything except Windows)
70 // V8_OS_QNX - QNX Neutrino 69 // V8_OS_QNX - QNX Neutrino
71 // V8_OS_SOLARIS - Sun Solaris and OpenSolaris 70 // V8_OS_SOLARIS - Sun Solaris and OpenSolaris
72 // V8_OS_AIX - AIX 71 // V8_OS_AIX - AIX
73 // V8_OS_WIN - Microsoft Windows 72 // V8_OS_WIN - Microsoft Windows
74 73
75 #if defined(__ANDROID__) 74 #if defined(__ANDROID__)
76 # define V8_OS_ANDROID 1 75 # define V8_OS_ANDROID 1
77 # define V8_OS_LINUX 1 76 # define V8_OS_LINUX 1
78 # define V8_OS_POSIX 1 77 # define V8_OS_POSIX 1
79 #elif defined(__APPLE__) 78 #elif defined(__APPLE__)
80 # define V8_OS_BSD 1 79 # define V8_OS_BSD 1
81 # define V8_OS_MACOSX 1 80 # define V8_OS_MACOSX 1
82 # define V8_OS_POSIX 1 81 # define V8_OS_POSIX 1
83 #elif defined(__native_client__)
84 # define V8_OS_NACL 1
85 # define V8_OS_POSIX 1
86 #elif defined(__CYGWIN__) 82 #elif defined(__CYGWIN__)
87 # define V8_OS_CYGWIN 1 83 # define V8_OS_CYGWIN 1
88 # define V8_OS_POSIX 1 84 # define V8_OS_POSIX 1
89 #elif defined(__linux__) 85 #elif defined(__linux__)
90 # define V8_OS_LINUX 1 86 # define V8_OS_LINUX 1
91 # define V8_OS_POSIX 1 87 # define V8_OS_POSIX 1
92 #elif defined(__sun) 88 #elif defined(__sun)
93 # define V8_OS_POSIX 1 89 # define V8_OS_POSIX 1
94 # define V8_OS_SOLARIS 1 90 # define V8_OS_SOLARIS 1
95 #elif defined(_AIX) 91 #elif defined(_AIX)
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // int foo() WARN_UNUSED_RESULT; 419 // int foo() WARN_UNUSED_RESULT;
424 #if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT 420 #if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
425 #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) 421 #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
426 #else 422 #else
427 #define V8_WARN_UNUSED_RESULT /* NOT SUPPORTED */ 423 #define V8_WARN_UNUSED_RESULT /* NOT SUPPORTED */
428 #endif 424 #endif
429 425
430 // clang-format on 426 // clang-format on
431 427
432 #endif // V8CONFIG_H_ 428 #endif // V8CONFIG_H_
OLDNEW
« no previous file with comments | « gypfiles/vs_toolchain.py ('k') | src/base/atomicops.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698