1 # GYP file to build performance testbench. 2 # 3 { 4 'includes': [ 5 'apptype_console.gypi', 6 ], 7 'targets': [ 8 { 9 'target_name': 'bench', 10 'type': 'executable', 11 'dependencies': [ 12 'etc1.gyp:libetc1', 13 'flags.gyp:flags', 14 'jsoncpp.gyp:jsoncpp', 15 'skia_lib.gyp:skia_lib', 16 'tools.gyp:crash_handler', 17 'tools.gyp:resources', 18 'tools.gyp:timer', 19 ], 20 'sources': [ 21 '../bench/BenchLogger.cpp', 22 '../bench/BenchLogger.h', 23 '../bench/GMBench.cpp', 24 '../bench/GMBench.h', 25 '../bench/ResultsWriter.cpp', 26 '../bench/benchmain.cpp', 27 '../tools/sk_tool_utils.cpp', 28 ], 29 'conditions': [ 30 ['skia_gpu == 1', 31 { 32 'include_dirs' : [ 33 '../src/gpu', 34 ], 35 'dependencies': [ 36 'gputest.gyp:skgputest', 37 ], 38 }, 39 ], 40 ['skia_android_framework == 1', 41 { 42 'libraries': [ 43 '-lskia', 44 ], 45 }, 46 ], 47 ], 48 'includes': [ 49 'bench.gypi', 50 'gmslides.gypi', 51 ], 52 }, 53 ], 54 } 55