epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 1 | # GYP file to build performance testbench. |
| 2 | # |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 3 | { |
| 4 | 'includes': [ |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 5 | 'apptype_console.gypi', |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 6 | ], |
| 7 | 'targets': [ |
| 8 | { |
| 9 | 'target_name': 'bench', |
| 10 | 'type': 'executable', |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 11 | 'dependencies': [ |
sglez@google.com | 586db93 | 2013-07-24 17:24:23 +0000 | [diff] [blame] | 12 | 'flags.gyp:flags', |
commit-bot@chromium.org | e3bb3bc | 2013-12-03 18:16:48 +0000 | [diff] [blame] | 13 | 'jsoncpp.gyp:jsoncpp', |
mtklein | 30e6e2a | 2014-06-18 11:44:15 -0700 | [diff] [blame] | 14 | 'skia_lib.gyp:skia_lib', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 15 | 'tools.gyp:crash_handler', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 16 | 'tools.gyp:timer', |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 17 | ], |
rmistry@google.com | d6bab02 | 2013-12-02 13:50:38 +0000 | [diff] [blame] | 18 | 'sources': [ |
tfarina | f168b86 | 2014-06-19 12:32:29 -0700 | [diff] [blame] | 19 | '../bench/BenchLogger.cpp', |
| 20 | '../bench/BenchLogger.h', |
| 21 | '../bench/GMBench.cpp', |
| 22 | '../bench/GMBench.h', |
commit-bot@chromium.org | 37c772a | 2014-05-29 17:10:24 +0000 | [diff] [blame] | 23 | '../bench/ResultsWriter.cpp', |
rmistry@google.com | d6bab02 | 2013-12-02 13:50:38 +0000 | [diff] [blame] | 24 | '../bench/benchmain.cpp', |
| 25 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 26 | 'conditions': [ |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 27 | ['skia_android_framework == 1', { |
| 28 | 'libraries': [ '-lskia' ], |
| 29 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 30 | ], |
commit-bot@chromium.org | 6adce67 | 2014-02-03 14:48:17 +0000 | [diff] [blame] | 31 | 'includes': [ |
commit-bot@chromium.org | 38aeb0f | 2014-02-26 23:01:57 +0000 | [diff] [blame] | 32 | 'bench.gypi', |
commit-bot@chromium.org | 6adce67 | 2014-02-03 14:48:17 +0000 | [diff] [blame] | 33 | 'gmslides.gypi', |
| 34 | ], |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 35 | }, |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 36 | { |
| 37 | 'target_name': 'nanobench', |
| 38 | 'type': 'executable', |
| 39 | 'sources': [ |
| 40 | '../bench/nanobench.cpp', |
| 41 | ], |
| 42 | 'includes': [ 'bench.gypi' ], |
| 43 | 'dependencies': [ |
| 44 | 'flags.gyp:flags', |
| 45 | 'tools.gyp:crash_handler', |
| 46 | 'tools.gyp:timer', |
| 47 | ], |
| 48 | }, |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 49 | ], |
| 50 | } |