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

Side by Side Diff: Source/wtf/Platform.h

Issue 13886014: Remove FeatureDefines.h as it was designed to deal with the variety of build systems for WebKit. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove FeatureDefines.h Created 7 years, 8 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 | « Source/wtf/FeatureDefines.h ('k') | Source/wtf/wtf.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved.
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. 3 * Copyright (C) 2007-2009 Torch Mobile, Inc.
4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 #endif /* OS(DARWIN) */ 536 #endif /* OS(DARWIN) */
537 537
538 #if OS(WINDOWS) 538 #if OS(WINDOWS)
539 #define HAVE_SYS_TIMEB_H 1 539 #define HAVE_SYS_TIMEB_H 1
540 #define HAVE_ALIGNED_MALLOC 1 540 #define HAVE_ALIGNED_MALLOC 1
541 #define HAVE_ISDEBUGGERPRESENT 1 541 #define HAVE_ISDEBUGGERPRESENT 1
542 #define HAVE_VIRTUALALLOC 1 542 #define HAVE_VIRTUALALLOC 1
543 #define WTF_USE_OS_RANDOMNESS 1 543 #define WTF_USE_OS_RANDOMNESS 1
544 #endif 544 #endif
545 545
546 /* ENABLE macro defaults */
547
548 /* FIXME: move out all ENABLE() defines from here to FeatureDefines.h */
549
550 /* Include feature macros */
551 #include <wtf/FeatureDefines.h>
552
553 /* FIXME: When all platforms' compositors can compute their own filter outsets, we should remove this define. 546 /* FIXME: When all platforms' compositors can compute their own filter outsets, we should remove this define.
554 https://bugs.webkit.org/show_bug.cgi?id=112830 */ 547 https://bugs.webkit.org/show_bug.cgi?id=112830 */
555 #if USE(CG) 548 #if USE(CG)
556 #define HAVE_COMPOSITOR_FILTER_OUTSETS 1 549 #define HAVE_COMPOSITOR_FILTER_OUTSETS 1
557 #endif 550 #endif
558 551
559 #if !defined(WTF_USE_3D_GRAPHICS) 552 #if !defined(WTF_USE_3D_GRAPHICS)
560 #define WTF_USE_3D_GRAPHICS 1 553 #define WTF_USE_3D_GRAPHICS 1
561 #endif 554 #endif
562 555
563 #if CPU(ARM_THUMB2) 556 #if CPU(ARM_THUMB2)
564 #define ENABLE_BRANCH_COMPACTION 1 557 #define ENABLE_BRANCH_COMPACTION 1
565 #endif 558 #endif
566 559
567 #if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H) 560 #if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H)
568 #define ENABLE_THREADING_LIBDISPATCH 1 561 #define ENABLE_THREADING_LIBDISPATCH 1
569 #elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP) 562 #elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP)
570 #define ENABLE_THREADING_OPENMP 1 563 #define ENABLE_THREADING_OPENMP 1
571 #elif !defined(THREADING_GENERIC) 564 #elif !defined(THREADING_GENERIC)
572 #define ENABLE_THREADING_GENERIC 1 565 #define ENABLE_THREADING_GENERIC 1
573 #endif 566 #endif
574 567
575 #if !defined(WTF_USE_ZLIB) 568 #if !defined(WTF_USE_ZLIB)
576 #define WTF_USE_ZLIB 1 569 #define WTF_USE_ZLIB 1
577 #endif 570 #endif
578 571
579 #endif /* WTF_Platform_h */ 572 #endif /* WTF_Platform_h */
OLDNEW
« no previous file with comments | « Source/wtf/FeatureDefines.h ('k') | Source/wtf/wtf.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698