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