aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-07-11 11:27:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-11 11:27:30 -0700
commit7e602c2c6cb2fbeb70a3978e2148844b673a8a4c (patch)
tree0d72bf271672eea68f91e3718d3368471fdd17df /gyp
parentc90bc40fdd7f0e8908df81766891e5c62fe77932 (diff)
hacking on a single-benchmark tool
Diffstat (limited to 'gyp')
-rw-r--r--gyp/everything.gyp1
-rw-r--r--gyp/tools.gyp32
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': [