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

Side by Side Diff: include/core/SkPreConfig.h

Issue 2209533004: spin off easy stuff from Herb's windows GN CL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase 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 | « include/c/sk_types.h ('k') | tests/BlurTest.cpp » ('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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 // IWYU pragma: private, include "SkTypes.h" 8 // IWYU pragma: private, include "SkTypes.h"
9 9
10 #ifndef SkPreConfig_DEFINED 10 #ifndef SkPreConfig_DEFINED
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 #endif 204 #endif
205 205
206 ////////////////////////////////////////////////////////////////////// 206 //////////////////////////////////////////////////////////////////////
207 207
208 #if !defined(SKIA_IMPLEMENTATION) 208 #if !defined(SKIA_IMPLEMENTATION)
209 #define SKIA_IMPLEMENTATION 0 209 #define SKIA_IMPLEMENTATION 0
210 #endif 210 #endif
211 211
212 #if !defined(SK_API) 212 #if !defined(SK_API)
213 #if defined(SKIA_DLL) 213 #if defined(SKIA_DLL)
214 #if defined(SK_BUILD_FOR_WIN32) 214 #if defined(_MSC_VER)
215 #if SKIA_IMPLEMENTATION 215 #if SKIA_IMPLEMENTATION
216 #define SK_API __declspec(dllexport) 216 #define SK_API __declspec(dllexport)
217 #else 217 #else
218 #define SK_API __declspec(dllimport) 218 #define SK_API __declspec(dllimport)
219 #endif 219 #endif
220 #else 220 #else
221 #define SK_API __attribute__((visibility("default"))) 221 #define SK_API __attribute__((visibility("default")))
222 #endif 222 #endif
223 #else 223 #else
224 #define SK_API 224 #define SK_API
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 * 263 *
264 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute. 264 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute.
265 */ 265 */
266 #if SK_HAS_ATTRIBUTE(optimize) 266 #if SK_HAS_ATTRIBUTE(optimize)
267 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1"))) 267 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1")))
268 #else 268 #else
269 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */ 269 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */
270 #endif 270 #endif
271 271
272 #endif 272 #endif
OLDNEW
« no previous file with comments | « include/c/sk_types.h ('k') | tests/BlurTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698