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

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

Issue 1611343002: wtf reformat test Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pydent Created 4 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc. 2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Copyright (C) 2007-2009 Torch Mobile, Inc. 4 * Copyright (C) 2007-2009 Torch Mobile, Inc.
5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 12 matching lines...) Expand all
23 23
24 #ifndef WTF_build_config_h 24 #ifndef WTF_build_config_h
25 #define WTF_build_config_h 25 #define WTF_build_config_h
26 26
27 #include "build/build_config.h" 27 #include "build/build_config.h"
28 #include "wtf/Compiler.h" 28 #include "wtf/Compiler.h"
29 29
30 /* ==== Platform adaptation macros: these describe properties of the target envi ronment. ==== */ 30 /* ==== Platform adaptation macros: these describe properties of the target envi ronment. ==== */
31 31
32 /* HAVE() - specific system features (headers, functions or similar) that are pr esent or not */ 32 /* HAVE() - specific system features (headers, functions or similar) that are pr esent or not */
33 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE) 33 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE)
34 /* OS() - underlying operating system; only to be used for mandated low-level se rvices like 34 /* OS() - underlying operating system; only to be used for mandated low-level se rvices like
35 virtual memory, not to choose a GUI toolkit */ 35 virtual memory, not to choose a GUI toolkit */
36 #define OS(WTF_FEATURE) (defined OS_##WTF_FEATURE && OS_##WTF_FEATURE) 36 #define OS(WTF_FEATURE) (defined OS_##WTF_FEATURE && OS_##WTF_FEATURE)
37 37
38 /* ==== Policy decision macros: these define policy choices for a particular por t. ==== */ 38 /* ==== Policy decision macros: these define policy choices for a particular por t. ==== */
39 39
40 /* USE() - use a particular third-party library or optional OS service */ 40 /* USE() - use a particular third-party library or optional OS service */
41 #define USE(WTF_FEATURE) (defined WTF_USE_##WTF_FEATURE && WTF_USE_##WTF_FEATUR E) 41 #define USE(WTF_FEATURE) \
42 (defined WTF_USE_##WTF_FEATURE && WTF_USE_##WTF_FEATURE)
42 /* ENABLE() - turn on a specific feature of WebKit */ 43 /* ENABLE() - turn on a specific feature of WebKit */
43 #define ENABLE(WTF_FEATURE) (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATU RE) 44 #define ENABLE(WTF_FEATURE) \
45 (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE)
44 46
45 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set . */ 47 /* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set . */
46 #if !OS(WIN) && !OS(POSIX) 48 #if !OS(WIN) && !OS(POSIX)
47 #error Either OS(WIN) or OS(POSIX) needs to be set. 49 #error Either OS(WIN) or OS(POSIX) needs to be set.
48 #endif 50 #endif
49 51
50 #endif // WTF_build_config_h 52 #endif // WTF_build_config_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/asm/SaturatedArithmeticARM.h ('k') | third_party/WebKit/Source/wtf/dtoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698