diff options
author | 2016-07-11 11:27:30 -0700 | |
---|---|---|
committer | 2016-07-11 11:27:30 -0700 | |
commit | 7e602c2c6cb2fbeb70a3978e2148844b673a8a4c (patch) | |
tree | 0d72bf271672eea68f91e3718d3368471fdd17df /gyp | |
parent | c90bc40fdd7f0e8908df81766891e5c62fe77932 (diff) |
hacking on a single-benchmark tool
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2012413004
Review-Url: https://codereview.chromium.org/2012413004
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/everything.gyp | 1 | ||||
-rw-r--r-- | gyp/tools.gyp | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/gyp/everything.gyp b/gyp/everything.gyp index beda91f729..3e6fceee76 100644 --- a/gyp/everything.gyp +++ b/gyp/everything.gyp @@ -19,6 +19,7 @@ 'dependencies': [ 'most.gyp:most', 'skiaserve.gyp:skiaserve', + 'tools.gyp:monobench', ], 'conditions': [ ['skia_os in ("ios", "android")', { diff --git a/gyp/tools.gyp b/gyp/tools.gyp index 68af294991..9d02ee1f61 100644 --- a/gyp/tools.gyp +++ b/gyp/tools.gyp @@ -90,6 +90,38 @@ ], }, { + 'target_name': 'monobench', + 'type': 'executable', + 'dependencies': [ + 'flags.gyp:flags', + 'flags.gyp:flags_common', + 'resources', + 'skia_lib.gyp:skia_lib', + 'timer', + 'pdf.gyp:pdf', + 'tools.gyp:sk_tool_utils', + ], + 'include_dirs': [ + '../bench', + '../include/private', + '../src/core', + '../src/effects', + '../src/effects/gradients', + '../src/image', + '../src/gpu', + '../src/pdf', + '../src/utils', + ], + 'sources': [ + '../tools/monobench.cpp', + '../bench/Benchmark.cpp', + '<!@(python find.py ../bench "*Bench.cpp")', + ], + 'sources!': [ + '../bench/GMBench.cpp', + ], + }, + { 'target_name': 'chrome_fuzz', 'type': 'executable', 'sources': [ |