blob: 6054c23345bb4bf6e48f055574e9efb0ae472256 [file] [log] [blame]
epoger@google.comccdbd2c2011-06-02 14:38:23 +00001# GYP file to build performance testbench.
2#
3# To build and run on Linux:
4# ./gyp_skia bench.gyp && make
5# out/Debug/bench -repeat 2
6#
7# Building on other platforms not tested yet.
8#
bungeman@google.com206c98a2011-05-31 21:21:54 +00009{
10 'includes': [
epoger@google.comccdbd2c2011-06-02 14:38:23 +000011 'apptype_console.gypi',
bungeman@google.com206c98a2011-05-31 21:21:54 +000012 'target_defaults.gypi',
13 ],
14 'targets': [
15 {
16 'target_name': 'bench',
17 'type': 'executable',
bungeman@google.com206c98a2011-05-31 21:21:54 +000018 'sources': [
19 '../bench/benchmain.cpp',
20
21 '../bench/SkBenchmark.h',
22 '../bench/SkBenchmark.cpp',
23
24 '../bench/BitmapBench.cpp',
25 '../bench/DecodeBench.cpp',
26 '../bench/FPSBench.cpp',
27 '../bench/GradientBench.cpp',
28 '../bench/PathBench.cpp',
29 '../bench/RectBench.cpp',
30 '../bench/RepeatTileBench.cpp',
31 '../bench/TextBench.cpp',
32 ],
33 'dependencies': [
34 'core.gyp:core',
35 'effects.gyp:effects',
bungeman@google.com206c98a2011-05-31 21:21:54 +000036 'gpu.gyp:gr',
37 'gpu.gyp:skgr',
bungeman@google.comac2e6632011-06-01 13:23:29 +000038 'images.gyp:images',
39 'utils.gyp:utils',
bungeman@google.com206c98a2011-05-31 21:21:54 +000040 ],
bungeman@google.com206c98a2011-05-31 21:21:54 +000041 },
42 ],
43}
44
45# Local Variables:
46# tab-width:2
47# indent-tabs-mode:nil
48# End:
epoger@google.comccdbd2c2011-06-02 14:38:23 +000049# vim: set expandtab tabstop=2 shiftwidth=2: