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