blob: cbbf27f9a7017a5251fc4895952049da84a078b8 [file] [log] [blame]
epoger@google.comccdbd2c2011-06-02 14:38:23 +00001# GYP file to build performance testbench.
2#
bungeman@google.com206c98a2011-05-31 21:21:54 +00003{
4 'includes': [
epoger@google.comccdbd2c2011-06-02 14:38:23 +00005 'apptype_console.gypi',
bungeman@google.com206c98a2011-05-31 21:21:54 +00006 ],
7 'targets': [
8 {
9 'target_name': 'bench',
10 'type': 'executable',
bungeman@google.com206c98a2011-05-31 21:21:54 +000011 'dependencies': [
sglez@google.com586db932013-07-24 17:24:23 +000012 'flags.gyp:flags',
commit-bot@chromium.orge3bb3bc2013-12-03 18:16:48 +000013 'jsoncpp.gyp:jsoncpp',
mtklein30e6e2a2014-06-18 11:44:15 -070014 'skia_lib.gyp:skia_lib',
mtklein9ac68ee2014-06-20 11:29:20 -070015 'tools.gyp:crash_handler',
mtklein9ac68ee2014-06-20 11:29:20 -070016 'tools.gyp:timer',
bungeman@google.com206c98a2011-05-31 21:21:54 +000017 ],
rmistry@google.comd6bab022013-12-02 13:50:38 +000018 'sources': [
tfarinaf168b862014-06-19 12:32:29 -070019 '../bench/BenchLogger.cpp',
20 '../bench/BenchLogger.h',
21 '../bench/GMBench.cpp',
22 '../bench/GMBench.h',
commit-bot@chromium.org37c772a2014-05-29 17:10:24 +000023 '../bench/ResultsWriter.cpp',
rmistry@google.comd6bab022013-12-02 13:50:38 +000024 '../bench/benchmain.cpp',
25 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000026 'conditions': [
mtkleinf3723212014-06-25 14:08:00 -070027 ['skia_android_framework == 1', {
28 'libraries': [ '-lskia' ],
29 }],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000030 ],
commit-bot@chromium.org6adce672014-02-03 14:48:17 +000031 'includes': [
commit-bot@chromium.org38aeb0f2014-02-26 23:01:57 +000032 'bench.gypi',
commit-bot@chromium.org6adce672014-02-03 14:48:17 +000033 'gmslides.gypi',
34 ],
bungeman@google.com206c98a2011-05-31 21:21:54 +000035 },
mtkleinf3723212014-06-25 14:08:00 -070036 {
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.com206c98a2011-05-31 21:21:54 +000049 ],
50}