skia2/gyp/bench.gyp
tfarina 2010891425 Add GYP target for sk_tool_utils.* component.
This declares a static library target in gyp/sk_tool_utils.gyp, so other
targets can depend directly on it instead of including the source file
in their source lists.

BUG=None
TEST=make all
R=mtklein@google.com

Author: tfarina@chromium.org

Review URL: https://codereview.chromium.org/348623006
2014-06-21 10:54:17 -07:00

55 lines
1.1 KiB
Python

# GYP file to build performance testbench.
#
{
'includes': [
'apptype_console.gypi',
],
'targets': [
{
'target_name': 'bench',
'type': 'executable',
'dependencies': [
'etc1.gyp:libetc1',
'flags.gyp:flags',
'jsoncpp.gyp:jsoncpp',
'skia_lib.gyp:skia_lib',
'tools.gyp:crash_handler',
'tools.gyp:resources',
'tools.gyp:sk_tool_utils',
'tools.gyp:timer',
],
'sources': [
'../bench/BenchLogger.cpp',
'../bench/BenchLogger.h',
'../bench/GMBench.cpp',
'../bench/GMBench.h',
'../bench/ResultsWriter.cpp',
'../bench/benchmain.cpp',
],
'conditions': [
['skia_gpu == 1',
{
'include_dirs' : [
'../src/gpu',
],
'dependencies': [
'gputest.gyp:skgputest',
],
},
],
['skia_android_framework == 1',
{
'libraries': [
'-lskia',
],
},
],
],
'includes': [
'bench.gypi',
'gmslides.gypi',
],
},
],
}