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

Side by Side Diff: gyp/bench.gyp

Issue 347443002: Add nanobench, a fresh look at our microbenchmark harness. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: printf -> SkDebugf Created 6 years, 6 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/nanobench.cpp ('k') | gyp/bench.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 # GYP file to build performance testbench. 1 # GYP file to build performance testbench.
2 # 2 #
3 { 3 {
4 'includes': [ 4 'includes': [
5 'apptype_console.gypi', 5 'apptype_console.gypi',
6 ], 6 ],
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'bench', 9 'target_name': 'bench',
10 'type': 'executable', 10 'type': 'executable',
11 'dependencies': [ 11 'dependencies': [
12 'etc1.gyp:libetc1',
13 'flags.gyp:flags', 12 'flags.gyp:flags',
14 'jsoncpp.gyp:jsoncpp', 13 'jsoncpp.gyp:jsoncpp',
15 'skia_lib.gyp:skia_lib', 14 'skia_lib.gyp:skia_lib',
djsollen 2014/06/25 19:52:40 if skia_lib is pulled in by the bench gypi then we
mtklein 2014/06/25 20:28:08 Let me hold off on this for another CL. I actuall
16 'tools.gyp:crash_handler', 15 'tools.gyp:crash_handler',
17 'tools.gyp:resources',
18 'tools.gyp:sk_tool_utils',
19 'tools.gyp:timer', 16 'tools.gyp:timer',
20 ], 17 ],
21 'sources': [ 18 'sources': [
22 '../bench/BenchLogger.cpp', 19 '../bench/BenchLogger.cpp',
23 '../bench/BenchLogger.h', 20 '../bench/BenchLogger.h',
24 '../bench/GMBench.cpp', 21 '../bench/GMBench.cpp',
25 '../bench/GMBench.h', 22 '../bench/GMBench.h',
26 '../bench/ResultsWriter.cpp', 23 '../bench/ResultsWriter.cpp',
27 '../bench/benchmain.cpp', 24 '../bench/benchmain.cpp',
28 ], 25 ],
29 'conditions': [ 26 'conditions': [
30 ['skia_gpu == 1', 27 ['skia_android_framework == 1', {
31 { 28 'libraries': [ '-lskia' ],
32 'include_dirs' : [ 29 }],
33 '../src/gpu',
34 ],
35 'dependencies': [
36 'gputest.gyp:skgputest',
37 ],
38 },
39 ],
40 ['skia_android_framework == 1',
41 {
42 'libraries': [
43 '-lskia',
44 ],
45 },
46 ],
47 ], 30 ],
48 'includes': [ 31 'includes': [
49 'bench.gypi', 32 'bench.gypi',
50 'gmslides.gypi', 33 'gmslides.gypi',
51 ], 34 ],
52 }, 35 },
36 {
37 'target_name': 'nanobench',
38 'type': 'executable',
39 'sources': [
40 '../bench/nanobench.cpp',
tfarina 2014/06/25 20:06:25 NanoBenchMain.cpp? otherwise can it be either nan
mtklein 2014/06/25 20:28:08 I prefer nanobench.cpp. It compiles into a binary
tfarina 2014/06/25 21:08:04 I don't understand why you call naming a file nano
41 ],
42 'includes': [ 'bench.gypi' ],
43 'dependencies': [
44 'flags.gyp:flags',
45 'tools.gyp:crash_handler',
46 'tools.gyp:timer',
47 ],
48 },
53 ], 49 ],
54 } 50 }
OLDNEW
« no previous file with comments | « bench/nanobench.cpp ('k') | gyp/bench.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698