OLD | NEW |
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', | |
10 'type': 'executable', | |
11 'dependencies': [ | |
12 'flags.gyp:flags', | |
13 'jsoncpp.gyp:jsoncpp', | |
14 'skia_lib.gyp:skia_lib', | |
15 'tools.gyp:crash_handler', | |
16 'tools.gyp:timer', | |
17 ], | |
18 'sources': [ | |
19 '../bench/BenchLogger.cpp', | |
20 '../bench/BenchLogger.h', | |
21 '../bench/GMBench.cpp', | |
22 '../bench/GMBench.h', | |
23 '../bench/ResultsWriter.cpp', | |
24 '../bench/benchmain.cpp', | |
25 ], | |
26 'conditions': [ | |
27 ['skia_android_framework == 1', { | |
28 'libraries': [ '-lskia' ], | |
29 }], | |
30 ], | |
31 'includes': [ | |
32 'bench.gypi', | |
33 'gmslides.gypi', | |
34 ], | |
35 }, | |
36 { | |
37 'target_name': 'nanobench', | 9 'target_name': 'nanobench', |
38 'type': 'executable', | 10 'type': 'executable', |
39 'sources': [ | 11 'sources': [ |
40 '../bench/GMBench.cpp', | 12 '../bench/GMBench.cpp', |
41 '../bench/SKPBench.cpp', | 13 '../bench/SKPBench.cpp', |
42 '../bench/ResultsWriter.cpp', | 14 '../bench/ResultsWriter.cpp', |
43 '../bench/nanobench.cpp', | 15 '../bench/nanobench.cpp', |
44 ], | 16 ], |
45 'includes': [ | 17 'includes': [ |
46 'bench.gypi', | 18 'bench.gypi', |
47 'gmslides.gypi', | 19 'gmslides.gypi', |
48 ], | 20 ], |
49 'dependencies': [ | 21 'dependencies': [ |
50 'flags.gyp:flags_common', | 22 'flags.gyp:flags_common', |
51 'jsoncpp.gyp:jsoncpp', | 23 'jsoncpp.gyp:jsoncpp', |
52 'skia_lib.gyp:skia_lib', | 24 'skia_lib.gyp:skia_lib', |
53 'tools.gyp:crash_handler', | 25 'tools.gyp:crash_handler', |
54 'tools.gyp:timer', | 26 'tools.gyp:timer', |
55 ], | 27 ], |
56 }, | 28 }, |
57 ], | 29 ], |
58 } | 30 } |
OLD | NEW |