2011-09-15 14:24:33 +00:00
|
|
|
# sources and conditions used in skia's bench.gyp and chromium's skia.gyp
|
|
|
|
#
|
|
|
|
{
|
|
|
|
'sources': [
|
|
|
|
'../bench/benchmain.cpp',
|
|
|
|
'../bench/BenchTimer.h',
|
|
|
|
'../bench/BenchTimer.cpp',
|
|
|
|
'../bench/BenchSysTimer_mach.h',
|
|
|
|
'../bench/BenchSysTimer_mach.cpp',
|
|
|
|
'../bench/BenchSysTimer_posix.h',
|
|
|
|
'../bench/BenchSysTimer_posix.cpp',
|
|
|
|
'../bench/BenchSysTimer_windows.h',
|
|
|
|
'../bench/BenchSysTimer_windows.cpp',
|
|
|
|
'../bench/BenchGpuTimer_gl.h',
|
|
|
|
'../bench/BenchGpuTimer_gl.cpp',
|
|
|
|
|
|
|
|
'../bench/SkBenchmark.h',
|
|
|
|
'../bench/SkBenchmark.cpp',
|
|
|
|
|
2011-10-31 14:33:35 +00:00
|
|
|
'../bench/AAClipBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/BitmapBench.cpp',
|
|
|
|
'../bench/BlurBench.cpp',
|
2011-10-27 13:27:20 +00:00
|
|
|
'../bench/ChromeBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/DecodeBench.cpp',
|
2011-11-02 21:02:57 +00:00
|
|
|
'../bench/FontScalerBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/GradientBench.cpp',
|
2012-03-07 12:36:07 +00:00
|
|
|
'../bench/InterpBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/MathBench.cpp',
|
|
|
|
'../bench/MatrixBench.cpp',
|
2011-11-14 17:30:08 +00:00
|
|
|
'../bench/MutexBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/PathBench.cpp',
|
2012-02-23 20:57:09 +00:00
|
|
|
'../bench/PicturePlaybackBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/RectBench.cpp',
|
2012-04-27 19:29:52 +00:00
|
|
|
'../bench/RegionBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/RepeatTileBench.cpp',
|
|
|
|
'../bench/ScalarBench.cpp',
|
2011-11-15 15:29:45 +00:00
|
|
|
'../bench/ShaderMaskBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
'../bench/TextBench.cpp',
|
2011-10-28 18:57:32 +00:00
|
|
|
'../bench/VertBench.cpp',
|
2011-09-15 14:24:33 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_os != "mac"', {
|
|
|
|
'sources!': [
|
|
|
|
'../bench/BenchSysTimer_mach.h',
|
|
|
|
'../bench/BenchSysTimer_mach.cpp',
|
|
|
|
],
|
|
|
|
}],
|
2011-11-03 13:08:29 +00:00
|
|
|
[ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
|
2011-09-15 14:24:33 +00:00
|
|
|
'sources!': [
|
|
|
|
'../bench/BenchSysTimer_posix.h',
|
|
|
|
'../bench/BenchSysTimer_posix.cpp',
|
|
|
|
],
|
2011-11-03 13:08:29 +00:00
|
|
|
}],
|
|
|
|
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
|
2011-09-15 14:24:33 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lrt',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
[ 'skia_os != "win"', {
|
|
|
|
'sources!': [
|
|
|
|
'../bench/BenchSysTimer_windows.h',
|
|
|
|
'../bench/BenchSysTimer_windows.cpp',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|