diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-31 21:21:54 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-31 21:21:54 +0000 |
commit | 206c98ae40848e77a8a998cd4403fde9b7bba5d2 (patch) | |
tree | 168eaffeee476e0fa336f17f4969c0265990a658 /gyp | |
parent | e6ff8ab7435d92660bfc4bb967dde2df0bf3d2d4 (diff) |
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
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/bench.gyp | 56 | ||||
-rw-r--r-- | gyp/core.gyp | 2 |
2 files changed, 58 insertions, 0 deletions
diff --git a/gyp/bench.gyp b/gyp/bench.gyp new file mode 100644 index 0000000000..35f32661ac --- /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 diff --git a/gyp/core.gyp b/gyp/core.gyp index 43630d710e..68f960d6f0 100644 --- a/gyp/core.gyp +++ b/gyp/core.gyp @@ -153,6 +153,7 @@ '../src/ports/SkMemory_malloc.cpp', '../src/ports/SkOSFile_stdio.cpp', '../src/ports/SkTime_Unix.cpp', + '../src/ports/SkTime_win.cpp', '../src/ports/SkXMLParser_empty.cpp', '../src/ports/sk_predefined_gamma.h', @@ -304,6 +305,7 @@ [ 'OS != "win"', { 'sources!': [ '../src/ports/SkDebug_win.cpp', + '../src/ports/SkTime_win.cpp', ], }], ], |