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': 'skiaserve', | 13 'target_name': 'skiaserve', |
14 'type': 'executable', | 14 'type': 'executable', |
15 'include_dirs': [ | |
16 '../src/core', | |
17 #TODO make this a real project | |
18 '../third_party/externals/microhttpd/src/include', | |
19 ], | |
20 'sources': [ | 15 'sources': [ |
21 '<!@(python find.py ../tools/skiaserve "*.cpp")', | 16 '<!@(python find.py ../tools/skiaserve "*.cpp")', |
22 ], | 17 ], |
23 'dependencies': [ | 18 'dependencies': [ |
24 'flags.gyp:flags', | 19 'flags.gyp:flags', |
25 'gputest.gyp:skgputest', | 20 'gputest.gyp:skgputest', |
26 'jsoncpp.gyp:jsoncpp', | 21 'jsoncpp.gyp:jsoncpp', |
| 22 'microhttpd.gyp:microhttpd', |
27 'skia_lib.gyp:skia_lib', | 23 'skia_lib.gyp:skia_lib', |
28 'tools.gyp:crash_handler', | 24 'tools.gyp:crash_handler', |
29 'tools.gyp:proc_stats', | 25 'tools.gyp:proc_stats', |
30 'tools.gyp:resources', | 26 'tools.gyp:resources', |
31 ], | 27 ], |
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 }, | |
41 }, | 28 }, |
42 ], | 29 ], |
43 } | 30 } |
OLD | NEW |