1 # GYP file to build performance testbench. 2 # 3 { 4 'includes': [ 5 'apptype_console.gypi', 6 ], 7 'targets': [ 8 { 9 'target_name': 'nanobench', 10 'type': 'executable', 11 'sources': [ 12 '../gm/gm.cpp', 13 '../bench/GMBench.cpp', 14 '../bench/RecordingBench.cpp', 15 '../bench/SKPBench.cpp', 16 '../bench/nanobench.cpp', 17 ], 18 'includes': [ 19 'bench.gypi', 20 'gmslides.gypi', 21 ], 22 'dependencies': [ 23 'flags.gyp:flags_common', 24 'jsoncpp.gyp:jsoncpp', 25 'skia_lib.gyp:skia_lib', 26 'tools.gyp:crash_handler', 27 'tools.gyp:proc_stats', 28 'tools.gyp:timer', 29 ], 30 'conditions': [ 31 ['skia_android_framework', { 32 'libraries': [ 33 '-lskia', 34 ], 35 }], 36 ], 37 }, 38 ], 39 } 40