92007583e4
This is meant to replace bench_pictures. CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Release-iOS-Trybot BUG=skia: R=bsalomon@google.com, jcgregorio@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/425393004
59 lines
1.3 KiB
Python
59 lines
1.3 KiB
Python
# GYP file to build performance testbench.
|
|
#
|
|
{
|
|
'includes': [
|
|
'apptype_console.gypi',
|
|
],
|
|
'targets': [
|
|
{
|
|
'target_name': 'bench',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'flags.gyp:flags',
|
|
'jsoncpp.gyp:jsoncpp',
|
|
'skia_lib.gyp:skia_lib',
|
|
'tools.gyp:crash_handler',
|
|
'tools.gyp:timer',
|
|
],
|
|
'sources': [
|
|
'../bench/BenchLogger.cpp',
|
|
'../bench/BenchLogger.h',
|
|
'../bench/GMBench.cpp',
|
|
'../bench/GMBench.h',
|
|
'../bench/ResultsWriter.cpp',
|
|
'../bench/benchmain.cpp',
|
|
],
|
|
'conditions': [
|
|
['skia_android_framework == 1', {
|
|
'libraries': [ '-lskia' ],
|
|
}],
|
|
],
|
|
'includes': [
|
|
'bench.gypi',
|
|
'gmslides.gypi',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'nanobench',
|
|
'type': 'executable',
|
|
'sources': [
|
|
'../bench/GMBench.cpp',
|
|
'../bench/SKPBench.cpp',
|
|
'../bench/ResultsWriter.cpp',
|
|
'../bench/nanobench.cpp',
|
|
],
|
|
'includes': [
|
|
'bench.gypi',
|
|
'gmslides.gypi',
|
|
],
|
|
'dependencies': [
|
|
'flags.gyp:flags_common',
|
|
'jsoncpp.gyp:jsoncpp',
|
|
'skia_lib.gyp:skia_lib',
|
|
'tools.gyp:crash_handler',
|
|
'tools.gyp:timer',
|
|
],
|
|
},
|
|
],
|
|
}
|