2011-06-02 14:38:23 +00:00
|
|
|
# GYP file to build performance testbench.
|
|
|
|
#
|
2011-05-31 21:21:54 +00:00
|
|
|
{
|
|
|
|
'includes': [
|
2011-06-02 14:38:23 +00:00
|
|
|
'apptype_console.gypi',
|
2011-05-31 21:21:54 +00:00
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'bench',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
2013-07-24 17:24:23 +00:00
|
|
|
'flags.gyp:flags',
|
2013-12-03 18:16:48 +00:00
|
|
|
'jsoncpp.gyp:jsoncpp',
|
2014-06-18 18:44:15 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2014-06-20 18:29:20 +00:00
|
|
|
'tools.gyp:crash_handler',
|
|
|
|
'tools.gyp:timer',
|
2011-05-31 21:21:54 +00:00
|
|
|
],
|
2013-12-02 13:50:38 +00:00
|
|
|
'sources': [
|
2014-06-19 19:32:29 +00:00
|
|
|
'../bench/BenchLogger.cpp',
|
|
|
|
'../bench/BenchLogger.h',
|
|
|
|
'../bench/GMBench.cpp',
|
|
|
|
'../bench/GMBench.h',
|
2014-05-29 17:10:24 +00:00
|
|
|
'../bench/ResultsWriter.cpp',
|
2013-12-02 13:50:38 +00:00
|
|
|
'../bench/benchmain.cpp',
|
|
|
|
],
|
2012-08-02 14:03:32 +00:00
|
|
|
'conditions': [
|
2014-06-25 21:08:00 +00:00
|
|
|
['skia_android_framework == 1', {
|
|
|
|
'libraries': [ '-lskia' ],
|
|
|
|
}],
|
2012-08-02 14:03:32 +00:00
|
|
|
],
|
2014-02-03 14:48:17 +00:00
|
|
|
'includes': [
|
2014-02-26 23:01:57 +00:00
|
|
|
'bench.gypi',
|
2014-02-03 14:48:17 +00:00
|
|
|
'gmslides.gypi',
|
|
|
|
],
|
2011-05-31 21:21:54 +00:00
|
|
|
},
|
2014-06-25 21:08:00 +00:00
|
|
|
{
|
|
|
|
'target_name': 'nanobench',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'../bench/nanobench.cpp',
|
2014-07-14 18:30:37 +00:00
|
|
|
'../bench/ResultsWriter.cpp',
|
2014-06-25 21:08:00 +00:00
|
|
|
],
|
|
|
|
'includes': [ 'bench.gypi' ],
|
|
|
|
'dependencies': [
|
|
|
|
'flags.gyp:flags',
|
2014-07-14 18:30:37 +00:00
|
|
|
'jsoncpp.gyp:jsoncpp',
|
|
|
|
'skia_lib.gyp:skia_lib',
|
2014-06-25 21:08:00 +00:00
|
|
|
'tools.gyp:crash_handler',
|
|
|
|
'tools.gyp:timer',
|
|
|
|
],
|
|
|
|
},
|
2011-05-31 21:21:54 +00:00
|
|
|
],
|
|
|
|
}
|