refactor duplication (shouldSkip and skip_name) into a utility function

R=caryclark@google.com, reed@google.com

Committed: https://code.google.com/p/skia/source/detail?r=10280

Review URL: https://codereview.chromium.org/19807005

git-svn-id: http://skia.googlecode.com/svn/trunk@10317 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/bench.gyp b/gyp/bench.gyp
index 27f80ce..040f7a4 100644
--- a/gyp/bench.gyp
+++ b/gyp/bench.gyp
@@ -19,6 +19,7 @@
       'dependencies': [
         'skia_lib.gyp:skia_lib',
         'bench_timer',
+        'flags.gyp:flags',
       ],
       'conditions': [
         ['skia_gpu == 1',