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

Side by Side Diff: bench/nanobench.cpp

Issue 1313203003: Remove include of stdlib.h from SkTypes.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up qsort conversion. Created 5 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 | « bench/SortBench.cpp ('k') | dm/DM.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 2014 Google Inc. 2 * Copyright 2014 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 #include <ctype.h> 8 #include <ctype.h>
9 9
10 #include "nanobench.h" 10 #include "nanobench.h"
(...skipping 23 matching lines...) Expand all
34 #include "SkForceLinking.h" 34 #include "SkForceLinking.h"
35 #include "SkGraphics.h" 35 #include "SkGraphics.h"
36 #include "SkOSFile.h" 36 #include "SkOSFile.h"
37 #include "SkPictureRecorder.h" 37 #include "SkPictureRecorder.h"
38 #include "SkPictureUtils.h" 38 #include "SkPictureUtils.h"
39 #include "SkScanlineDecoder.h" 39 #include "SkScanlineDecoder.h"
40 #include "SkString.h" 40 #include "SkString.h"
41 #include "SkSurface.h" 41 #include "SkSurface.h"
42 #include "SkTaskGroup.h" 42 #include "SkTaskGroup.h"
43 43
44 #include <stdlib.h>
45
44 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 46 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
45 #include "nanobenchAndroid.h" 47 #include "nanobenchAndroid.h"
46 #endif 48 #endif
47 49
48 #if SK_SUPPORT_GPU 50 #if SK_SUPPORT_GPU
49 #include "gl/GrGLDefines.h" 51 #include "gl/GrGLDefines.h"
50 #include "GrCaps.h" 52 #include "GrCaps.h"
51 #include "GrContextFactory.h" 53 #include "GrContextFactory.h"
52 SkAutoTDelete<GrContextFactory> gGrFactory; 54 SkAutoTDelete<GrContextFactory> gGrFactory;
53 #endif 55 #endif
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 1158
1157 return 0; 1159 return 0;
1158 } 1160 }
1159 1161
1160 #if !defined SK_BUILD_FOR_IOS 1162 #if !defined SK_BUILD_FOR_IOS
1161 int main(int argc, char** argv) { 1163 int main(int argc, char** argv) {
1162 SkCommandLineFlags::Parse(argc, argv); 1164 SkCommandLineFlags::Parse(argc, argv);
1163 return nanobench_main(); 1165 return nanobench_main();
1164 } 1166 }
1165 #endif 1167 #endif
OLDNEW
« no previous file with comments | « bench/SortBench.cpp ('k') | dm/DM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698