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

Side by Side Diff: third_party/WebKit/Source/wtf/build_config.h

Issue 2748083005: Move files in wtf/ to platform/wtf/ (Part 1). (Closed)
Patch Set: Created 3 years, 9 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 | « third_party/WebKit/Source/wtf/TypeTraits.h ('k') | 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 /* 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc. 2 // Use of this source code is governed by a BSD-style license that can be
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 // found in the LICENSE file.
4 * Copyright (C) 2007-2009 Torch Mobile, Inc.
5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 *
17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 *
22 */
23 4
24 #ifndef WTF_build_config_h 5 #include "platform/wtf/build_config.h"
25 #define WTF_build_config_h
26 6
27 #include "build/build_config.h" 7 // The contents of this header was moved to platform/wtf as part of
28 #include "wtf/Compiler.h" 8 // WTF migration project. See the following post for details:
29 9 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gY CAAJ
30 /* ==== Platform adaptation macros: these describe properties of the target
31 * environment. ==== */
32
33 /* HAVE() - specific system features (headers, functions or similar) that are
34 * present or not */
35 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE)
36 /* OS() - underlying operating system; only to be used for mandated low-level
37 services like
38 virtual memory, not to choose a GUI toolkit */
39 #define OS(WTF_FEATURE) (defined OS_##WTF_FEATURE && OS_##WTF_FEATURE)
40
41 /* ==== Policy decision macros: these define policy choices for a particular
42 * port. ==== */
43
44 /* USE() - use a particular third-party library or optional OS service */
45 #define USE(WTF_FEATURE) \
46 (defined WTF_USE_##WTF_FEATURE && WTF_USE_##WTF_FEATURE)
47 /* ENABLE() - turn on a specific feature of WebKit */
48 #define ENABLE(WTF_FEATURE) \
49 (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE)
50
51 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is
52 * set. */
53 #if !OS(WIN) && !OS(POSIX)
54 #error Either OS(WIN) or OS(POSIX) needs to be set.
55 #endif
56
57 #endif // WTF_build_config_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/TypeTraits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698