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

Side by Side Diff: tools/skpdiff/skpdiff_util.h

Issue 628763005: Fix usage of SK_BUILD_* defines. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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 | « tools/skpdiff/skpdiff_main.cpp ('k') | tools/skpdiff/skpdiff_util.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 2013 Google Inc. 2 * Copyright 2013 Google Inc.
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 #ifndef skpdiff_util_DEFINED 8 #ifndef skpdiff_util_DEFINED
9 #define skpdiff_util_DEFINED 9 #define skpdiff_util_DEFINED
10 10
11 #include "SkString.h" 11 #include "SkString.h"
12 #include "SkTArray.h" 12 #include "SkTArray.h"
13 13
14 #if SK_SUPPORT_OPENCL 14 #if SK_SUPPORT_OPENCL
15 #if SK_BUILD_FOR_MAC 15 #if defined(SK_BUILD_FOR_MAC)
16 # include <OpenCL/cl.h> 16 # include <OpenCL/cl.h>
17 #else 17 #else
18 # include <CL/cl.h> 18 # include <CL/cl.h>
19 #endif 19 #endif
20 20
21 /** 21 /**
22 * Converts an OpenCL error number into the string of its enumeration name. 22 * Converts an OpenCL error number into the string of its enumeration name.
23 * @param err The OpenCL error number 23 * @param err The OpenCL error number
24 * @return The string of the name of the error; "UNKOWN" if the error number is invalid 24 * @return The string of the name of the error; "UNKOWN" if the error number is invalid
25 */ 25 */
(...skipping 25 matching lines...) Expand all
51 51
52 /** 52 /**
53 * Gets the absolute version of the given path. 53 * Gets the absolute version of the given path.
54 * @param path The absolute or relative path to expand 54 * @param path The absolute or relative path to expand
55 * @return The absolute path of the given path on success, or an empty stri ng on failure. 55 * @return The absolute path of the given path on success, or an empty stri ng on failure.
56 */ 56 */
57 SkString get_absolute_path(const SkString& path); 57 SkString get_absolute_path(const SkString& path);
58 58
59 59
60 #endif 60 #endif
OLDNEW
« no previous file with comments | « tools/skpdiff/skpdiff_main.cpp ('k') | tools/skpdiff/skpdiff_util.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698