nanobench: support GMs-as-benches
BUG=skia:
R=jcgregorio@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/438683002
diff --git a/gyp/bench.gyp b/gyp/bench.gyp
index ad026a6..d627590 100644
--- a/gyp/bench.gyp
+++ b/gyp/bench.gyp
@@ -37,10 +37,14 @@
'target_name': 'nanobench',
'type': 'executable',
'sources': [
- '../bench/nanobench.cpp',
+ '../bench/GMBench.cpp',
'../bench/ResultsWriter.cpp',
+ '../bench/nanobench.cpp',
],
- 'includes': [ 'bench.gypi' ],
+ 'includes': [
+ 'bench.gypi',
+ 'gmslides.gypi',
+ ],
'dependencies': [
'flags.gyp:flags_common',
'jsoncpp.gyp:jsoncpp',