1 # Copyright 2016 Google Inc. 2 # 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 # GYP file to build performance testbench. 6 # 7 { 8 'includes': [ 9 'apptype_console.gypi', 10 ], 11 'targets': [ 12 { 13 'target_name': 'skiaserve', 14 'type': 'executable', 15 'include_dirs': [ 16 '../src/core', 17 '../src/ports', 18 '../tools/debugger', 19 '../tools/json', 20 ], 21 'sources': [ 22 # Stuff for the debug canvas 23 '../tools/debugger/SkDrawCommand.h', 24 '../tools/debugger/SkDrawCommand.cpp', 25 '../tools/debugger/SkDebugCanvas.h', 26 '../tools/debugger/SkDebugCanvas.cpp', 27 '../tools/debugger/SkObjectParser.h', 28 '../tools/debugger/SkObjectParser.cpp', 29 '../tools/debugger/SkOverdrawMode.h', 30 '../tools/debugger/SkOverdrawMode.cpp', 31 '<!@(python find.py ../tools/skiaserve "*.cpp")', 32 '<!@(python find.py ../tools/skiaserve/urlhandlers "*.cpp")', 33 ], 34 'dependencies': [ 35 'flags.gyp:flags', 36 'gputest.gyp:skgputest', 37 'json.gyp:json', 38 'jsoncpp.gyp:jsoncpp', 39 'libpng.gyp:libpng', 40 'microhttpd.gyp:microhttpd', 41 'skia_lib.gyp:skia_lib', 42 'tools.gyp:crash_handler', 43 'tools.gyp:proc_stats', 44 'tools.gyp:resources', 45 'tools.gyp:url_data_manager', 46 ], 47 }, 48 ], 49 } 50