blob: 91c175b94ea688c00318647bcc0ae8e4b1c22c92 [file] [log] [blame]
jvanverth9f372462016-04-06 06:08:59 -07001# Copyright 2016 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 performance testbench.
6#
7{
8 'includes': [
9 'apptype_console.gypi',
10 ],
11 'targets': [
12 {
13 'target_name': 'vulkanviewer',
14 'type': 'executable',
15 'includes' : [
16 'gmslides.gypi',
17 ],
18 'include_dirs': [
19 '../bench',
20 '../gm',
21 '../include/private',
22 '../src/core',
23 '../src/effects',
24 '../src/gpu',
25 '../src/images',
26 '../src/image',
jvanverth3d6ed3a2016-04-07 11:09:51 -070027 '../tools/timer',
jvanverth9f372462016-04-06 06:08:59 -070028 ],
29 'sources': [
30 '../gm/gm.cpp',
31 '<!@(python find.py ../tools/vulkan "*.cpp")',
32 ],
33 'dependencies': [
34 'flags.gyp:flags',
35 'gputest.gyp:skgputest',
36 'jsoncpp.gyp:jsoncpp',
37 'skia_lib.gyp:skia_lib',
38 'tools.gyp:crash_handler',
39 'tools.gyp:proc_stats',
40 'tools.gyp:resources',
41 'tools.gyp:sk_tool_utils',
42 'tools.gyp:timer',
43 'tools.gyp:url_data_manager',
44 ],
djsollen12d62a72016-04-21 07:59:44 -070045 'conditions' : [
46 [ 'skia_os == "android"', {
47 'dependencies': [
48 'android_deps.gyp:Android_EntryPoint',
49 'android_deps.gyp:native_app_glue',
50 ],
51 'link_settings': {
52 'libraries': [
53 '-landroid',
54 ],
55 },
56 }],
57 ['skia_os != "android"', {
58 'sources/': [ ['exclude', '_android.(h|cpp)$'],
59 ],
60 }],
61 ['skia_os != "win"', {
62 'sources/': [ ['exclude', '_win.(h|cpp)$'],
63 ],
64 }],
65 ],
jvanverth9f372462016-04-06 06:08:59 -070066 },
67 ],
68}