58629291bc
This CL depends on a subsequent CL to add the appropriate NDK toolchain and system sources to the skia repo. Review URL: http://codereview.appspot.com/5306089/ Review URL: http://codereview.appspot.com/5306089 git-svn-id: http://skia.googlecode.com/svn/trunk@2592 2bbb7eff-a529-9590-31e7-b0007b416f81
70 lines
1.8 KiB
Python
70 lines
1.8 KiB
Python
# 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',
|
|
|
|
'../bench/AAClipBench.cpp',
|
|
'../bench/BitmapBench.cpp',
|
|
'../bench/BlurBench.cpp',
|
|
'../bench/ChromeBench.cpp',
|
|
'../bench/DecodeBench.cpp',
|
|
'../bench/FontScalerBench.cpp',
|
|
'../bench/GradientBench.cpp',
|
|
'../bench/MathBench.cpp',
|
|
'../bench/MatrixBench.cpp',
|
|
'../bench/PathBench.cpp',
|
|
'../bench/RectBench.cpp',
|
|
'../bench/RepeatTileBench.cpp',
|
|
'../bench/ScalarBench.cpp',
|
|
'../bench/TextBench.cpp',
|
|
'../bench/VertBench.cpp',
|
|
],
|
|
'conditions': [
|
|
[ 'skia_os != "mac"', {
|
|
'sources!': [
|
|
'../bench/BenchSysTimer_mach.h',
|
|
'../bench/BenchSysTimer_mach.cpp',
|
|
],
|
|
}],
|
|
[ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
|
|
'sources!': [
|
|
'../bench/BenchSysTimer_posix.h',
|
|
'../bench/BenchSysTimer_posix.cpp',
|
|
],
|
|
}],
|
|
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
|
|
'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:
|