| OLD | NEW |
| 1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # GYP file to build performance testbench. | 5 # GYP file to build performance testbench. |
| 6 # | 6 # |
| 7 { | 7 { |
| 8 'includes': [ | 8 'includes': [ |
| 9 'apptype_console.gypi', | 9 'apptype_console.gypi', |
| 10 ], | 10 ], |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'kilobench', | 13 'target_name': 'skiaserve', |
| 14 'type': 'executable', | 14 'type': 'executable', |
| 15 'include_dirs': [ | 15 'include_dirs': [ |
| 16 '../bench', | |
| 17 '../gm', | |
| 18 '../src/core', | 16 '../src/core', |
| 19 '../tools/VisualBench', | 17 #TODO make this a real project |
| 18 '../third_party/externals/microhttpd/src/include', |
| 20 ], | 19 ], |
| 21 'sources': [ | 20 'sources': [ |
| 22 '<!@(python find.py ../tools/kilobench "*.cpp")', | 21 '<!@(python find.py ../tools/skiaserve "*.cpp")', |
| 23 '../bench/Benchmark.cpp', | |
| 24 '../tools/VisualBench/VisualSKPBench.cpp', | |
| 25 ], | 22 ], |
| 26 'dependencies': [ | 23 'dependencies': [ |
| 27 'flags.gyp:flags', | 24 'flags.gyp:flags', |
| 28 'gputest.gyp:skgputest', | 25 'gputest.gyp:skgputest', |
| 29 'jsoncpp.gyp:jsoncpp', | 26 'jsoncpp.gyp:jsoncpp', |
| 30 'skia_lib.gyp:skia_lib', | 27 'skia_lib.gyp:skia_lib', |
| 31 'tools.gyp:crash_handler', | 28 'tools.gyp:crash_handler', |
| 32 'tools.gyp:proc_stats', | 29 'tools.gyp:proc_stats', |
| 33 'tools.gyp:resources', | 30 'tools.gyp:resources', |
| 34 'tools.gyp:timer', | |
| 35 ], | 31 ], |
| 32 #TODO real libmicrohttpd gyp |
| 33 'link_settings': { |
| 34 'ldflags': [ |
| 35 '-L../../third_party/externals/microhttpd/src/microhttpd/.libs', |
| 36 ], |
| 37 'libraries': [ |
| 38 '-lmicrohttpd', |
| 39 ], |
| 40 }, |
| 36 }, | 41 }, |
| 37 ], | 42 ], |
| 38 } | 43 } |
| OLD | NEW |