OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 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 visual bench tool | 5 # GYP file to build visual bench tool |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'visualbench', | 12 'target_name': 'visualbench', |
13 'type': 'executable', | 13 'type': 'executable', |
| 14 'includes' : [ |
| 15 'gmslides.gypi', |
| 16 ], |
14 'include_dirs' : [ | 17 'include_dirs' : [ |
| 18 '../bench', |
15 '../include/gpu', | 19 '../include/gpu', |
16 '../src/core', | 20 '../src/core', |
| 21 '../src/effects', |
17 '../src/images', | 22 '../src/images', |
18 ], | 23 ], |
19 'sources': [ | 24 'sources': [ |
| 25 '../gm/gm.cpp', |
20 '../tools/VisualBench/VisualBench.h', | 26 '../tools/VisualBench/VisualBench.h', |
21 '../tools/VisualBench/VisualBench.cpp', | 27 '../tools/VisualBench/VisualBench.cpp', |
| 28 '../tools/VisualBench/VisualBenchmarkStream.h', |
| 29 '../tools/VisualBench/VisualBenchmarkStream.cpp', |
| 30 '../tools/VisualBench/VisualSKPBench.h', |
| 31 '../tools/VisualBench/VisualSKPBench.cpp', |
| 32 '<!@(python find.py ../bench "*.cpp")', |
| 33 ], |
| 34 'sources!': [ |
| 35 '../bench/nanobench.cpp', |
| 36 '../bench/nanobenchAndroid.cpp', |
22 ], | 37 ], |
23 'dependencies': [ | 38 'dependencies': [ |
24 'flags.gyp:flags_common', | 39 'etc1.gyp:libetc1', |
| 40 'flags.gyp:flags', |
| 41 'gputest.gyp:skgputest', |
25 'skia_lib.gyp:skia_lib', | 42 'skia_lib.gyp:skia_lib', |
26 'tools.gyp:proc_stats', | 43 'tools.gyp:proc_stats', |
| 44 'tools.gyp:sk_tool_utils', |
27 'tools.gyp:timer', | 45 'tools.gyp:timer', |
28 'views.gyp:views', | 46 'views.gyp:views', |
29 ], | 47 ], |
30 'conditions' : [ | 48 'conditions' : [ |
31 [ 'skia_os == "android"', { | 49 [ 'skia_os == "android"', { |
32 'dependencies': [ | 50 'dependencies': [ |
33 'android_deps.gyp:Android_VisualBench', | 51 'android_deps.gyp:Android_VisualBench', |
34 'android_deps.gyp:native_app_glue', | 52 'android_deps.gyp:native_app_glue', |
35 ], | 53 ], |
36 'link_settings': { | 54 'link_settings': { |
37 'libraries': [ | 55 'libraries': [ |
38 '-landroid', | 56 '-landroid', |
39 '-lGLESv2', | 57 '-lGLESv2', |
40 '-lEGL', | 58 '-lEGL', |
41 ], | 59 ], |
42 }, | 60 }, |
43 }], | 61 }], |
44 ], | 62 ], |
45 }, | 63 }, |
46 ], | 64 ], |
47 } | 65 } |
OLD | NEW |