Chromium Code Reviews

Side by Side Diff: Source/config.h

Issue 148013010: Use PartitionAlloc for fastMalloc on Android (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 /*
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 80 matching lines...)
91 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1 91 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1
92 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1 92 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1
93 #else 93 #else
94 #define WTF_USE_ICCJPEG 1 94 #define WTF_USE_ICCJPEG 1
95 #define WTF_USE_QCMSLIB 1 95 #define WTF_USE_QCMSLIB 1
96 #endif 96 #endif
97 97
98 #if OS(MACOSX) 98 #if OS(MACOSX)
99 #define WTF_USE_CF 1 99 #define WTF_USE_CF 1
100 #define WTF_USE_RUBBER_BANDING 1 100 #define WTF_USE_RUBBER_BANDING 1
101 #endif /* OS(MACOSX) */
101 102
102 /* We can't override the global operator new and delete on OS(MACOSX) because 103 #if !OS(MACOSX) && !OS(ANDROID)
103 * some object are allocated by WebKit and deallocated by the embedder. */ 104 /* On other platforms the "system malloc" is TCMalloc, so there's
104 #else /* !OS(MACOSX) */
105 /* On non-OS(MACOSX), the "system malloc" is actually TCMalloc anyway, so there' s
106 * no need to use Blink's fast PartitionAlloc allocator. */ 105 * no need to use Blink's fast PartitionAlloc allocator. */
107 #define WTF_USE_SYSTEM_MALLOC 1 106 #define WTF_USE_SYSTEM_MALLOC 1
108 #endif /* OS(MACOSX) */ 107 #endif /* !OS(MACOSX) && !OS(ANDROID) */
109 108
110 #if OS(POSIX) 109 #if OS(POSIX)
111 #define HAVE_MMAP 1 110 #define HAVE_MMAP 1
112 #define HAVE_SIGNAL_H 1 111 #define HAVE_SIGNAL_H 1
113 #define HAVE_SYS_TIME_H 1 112 #define HAVE_SYS_TIME_H 1
114 #define WTF_USE_PTHREADS 1 113 #define WTF_USE_PTHREADS 1
115 #endif /* OS(POSIX) */ 114 #endif /* OS(POSIX) */
116 115
117 #if !defined(HAVE_VASPRINTF) 116 #if !defined(HAVE_VASPRINTF)
118 #if !COMPILER(MSVC) 117 #if !COMPILER(MSVC)
(...skipping 44 matching lines...)
163 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 162 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1
164 #endif 163 #endif
165 164
166 #ifndef __STDC_FORMAT_MACROS 165 #ifndef __STDC_FORMAT_MACROS
167 #define __STDC_FORMAT_MACROS 1 166 #define __STDC_FORMAT_MACROS 1
168 #endif 167 #endif
169 168
170 #if OS(LINUX) || OS(ANDROID) || ENABLE(HARFBUZZ_ON_WINDOWS) 169 #if OS(LINUX) || OS(ANDROID) || ENABLE(HARFBUZZ_ON_WINDOWS)
171 #define WTF_USE_HARFBUZZ 1 170 #define WTF_USE_HARFBUZZ 1
172 #endif 171 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine