Add gyp for bench and make run on Windows.
http://codereview.appspot.com/4528112/
git-svn-id: http://skia.googlecode.com/svn/trunk@1458 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/bench.gyp b/gyp/bench.gyp
new file mode 100644
index 0000000..35f3266
--- /dev/null
+++ b/gyp/bench.gyp
@@ -0,0 +1,56 @@
+{
+ 'includes': [
+ 'target_defaults.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'bench',
+ 'type': 'executable',
+ 'mac_bundle' : 1,
+ 'include_dirs': [
+ '../include/effects',
+ '../include/utils',
+ '../include/images',
+ ],
+ 'sources': [
+ '../bench/benchmain.cpp',
+
+ '../bench/SkBenchmark.h',
+ '../bench/SkBenchmark.cpp',
+
+ '../bench/BitmapBench.cpp',
+ '../bench/DecodeBench.cpp',
+ '../bench/FPSBench.cpp',
+ '../bench/GradientBench.cpp',
+ '../bench/PathBench.cpp',
+ '../bench/RectBench.cpp',
+ '../bench/RepeatTileBench.cpp',
+ '../bench/TextBench.cpp',
+ ],
+ 'dependencies': [
+ 'core.gyp:core',
+ 'effects.gyp:effects',
+ 'images.gyp:images',
+ 'utils.gyp:utils',
+ 'gpu.gyp:gr',
+ 'gpu.gyp:skgr',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'SubSystem': '1',
+ 'EntryPointSymbol': 'mainCRTStartup',
+ 'AdditionalDependencies': [
+ 'OpenGL32.lib',
+ 'usp10.lib',
+ ],
+ },
+ },
+ },
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2:
\ No newline at end of file