OLD | NEW |
| (Empty) |
1 # Copyright 2015 Google Inc. | |
2 # | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 # GYP file to build visual bench tool | |
6 { | |
7 'includes': [ | |
8 'apptype_console.gypi', | |
9 ], | |
10 'targets': [ | |
11 { | |
12 'target_name': 'visualbench', | |
13 'type': 'executable', | |
14 'includes' : [ | |
15 'gmslides.gypi', | |
16 ], | |
17 'include_dirs' : [ | |
18 '../bench', | |
19 '../include/gpu', | |
20 '../include/private', | |
21 '../src/core', | |
22 '../src/effects', | |
23 '../src/gpu', | |
24 '../src/images', | |
25 '../src/image', | |
26 '../src/pdf', | |
27 ], | |
28 'sources': [ | |
29 '../gm/gm.cpp', | |
30 '<!@(python find.py ../tools/VisualBench "*.cpp")', | |
31 '<!@(python find.py ../tools/VisualBench "*.h")', | |
32 '<!@(python find.py ../bench "*.cpp")', | |
33 ], | |
34 'sources!': [ | |
35 '../bench/nanobench.cpp', | |
36 '../bench/nanobenchAndroid.cpp', | |
37 ], | |
38 'dependencies': [ | |
39 'etc1.gyp:libetc1', | |
40 'flags.gyp:flags', | |
41 'jsoncpp.gyp:jsoncpp', | |
42 'gputest.gyp:skgputest', | |
43 'pdf.gyp:pdf', | |
44 'skia_lib.gyp:skia_lib', | |
45 'tools.gyp:proc_stats', | |
46 'tools.gyp:sk_tool_utils', | |
47 'tools.gyp:timer', | |
48 'tools.gyp:url_data_manager', | |
49 'views.gyp:views', | |
50 ], | |
51 'conditions' : [ | |
52 [ 'skia_os == "android" and skia_use_sdl == 0', { | |
53 'dependencies': [ | |
54 'android_deps.gyp:Android_VisualBench', | |
55 'android_deps.gyp:native_app_glue', | |
56 ], | |
57 'link_settings': { | |
58 'libraries': [ | |
59 '-landroid', | |
60 '-lGLESv2', | |
61 '-lEGL', | |
62 ], | |
63 }, | |
64 }], | |
65 [ 'skia_os == "android" and skia_use_sdl == 1', { | |
66 'dependencies': [ | |
67 'android_deps.gyp:Android_EntryPoint', | |
68 ], | |
69 }], | |
70 ], | |
71 }, | |
72 ], | |
73 } | |
OLD | NEW |