Add nanobench, a fresh look at our microbenchmark harness.

out/Release/nanobench runs 4-5x faster on my Z620 and ~2x faster on my N5 than out/Release/bench with the same configs.

(Debug isn't really comparable.  I haven't added the Debug -> single loop check.)

BUG=skia:
R=djsollen@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/347443002
diff --git a/gyp/bench.gyp b/gyp/bench.gyp
index 9089bf8..cbbf27f 100644
--- a/gyp/bench.gyp
+++ b/gyp/bench.gyp
@@ -9,13 +9,10 @@
       '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': [
@@ -27,28 +24,27 @@
         '../bench/benchmain.cpp',
       ],
       'conditions': [
-        ['skia_gpu == 1',
-          {
-            'include_dirs' : [
-              '../src/gpu',
-            ],
-            'dependencies': [
-              'gputest.gyp:skgputest',
-            ],
-          },
-        ],
-        ['skia_android_framework == 1',
-          {
-            'libraries': [
-              '-lskia',
-            ],
-          },
-        ],
+        ['skia_android_framework == 1', {
+          'libraries': [ '-lskia' ],
+        }],
       ],
       'includes': [
         'bench.gypi',
         'gmslides.gypi',
       ],
     },
+    {
+      'target_name': 'nanobench',
+      'type': 'executable',
+      'sources': [
+        '../bench/nanobench.cpp',
+      ],
+      'includes': [ 'bench.gypi' ],
+      'dependencies': [
+        'flags.gyp:flags',
+        'tools.gyp:crash_handler',
+        'tools.gyp:timer',
+      ],
+    },
   ],
 }