diff options
author | jvanverth <jvanverth@google.com> | 2016-04-06 06:08:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-06 06:08:59 -0700 |
commit | 9f37246d6856d40f916e8f1fff5b43cfdc42e567 (patch) | |
tree | f0863a14bdd23a5d5f48e55d64262b57c7f6c86a /gyp | |
parent | 52b88cc61780425a9f86201bc727558ee08a921a (diff) |
First pass at VulkanViewer
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1848833005
Review URL: https://codereview.chromium.org/1848833005
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/most.gyp | 7 | ||||
-rw-r--r-- | gyp/vulkanviewer.gyp | 46 |
2 files changed, 53 insertions, 0 deletions
diff --git a/gyp/most.gyp b/gyp/most.gyp index 9b49c474c4..6c7fc02caf 100644 --- a/gyp/most.gyp +++ b/gyp/most.gyp @@ -29,12 +29,14 @@ 'visualbench.gyp:visualbench', 'fuzz.gyp:fuzz', 'kilobench.gyp:kilobench', + 'vulkanviewer.gyp:vulkanviewer', ], 'conditions': [ [ 'skia_gpu == 0', { 'dependencies!': [ 'visualbench.gyp:visualbench', 'kilobench.gyp:kilobench', + 'vulkanviewer.gyp:vulkanviewer', ] }], [ 'skia_os != "android" and skia_os != "linux"', { @@ -73,6 +75,11 @@ 'skiaserve.gyp:skiaserve', ], }], + [ 'skia_vulkan == 0 or skia_os != "win"', { + 'dependencies!': [ + 'vulkanviewer.gyp:vulkanviewer', + ], + }], [ 'skia_skip_gui', { 'dependencies!': [ diff --git a/gyp/vulkanviewer.gyp b/gyp/vulkanviewer.gyp new file mode 100644 index 0000000000..d58613d33f --- /dev/null +++ b/gyp/vulkanviewer.gyp @@ -0,0 +1,46 @@ +# Copyright 2016 Google Inc. +# +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +# GYP file to build performance testbench. +# +{ + 'includes': [ + 'apptype_console.gypi', + ], + 'targets': [ + { + 'target_name': 'vulkanviewer', + 'type': 'executable', + 'includes' : [ + 'gmslides.gypi', + ], + 'include_dirs': [ + '../bench', + '../gm', + '../include/private', + '../src/core', + '../src/effects', + '../src/gpu', + '../src/images', + '../src/image', + ], + 'sources': [ + '../gm/gm.cpp', + '<!@(python find.py ../tools/vulkan "*.cpp")', + ], + 'dependencies': [ + 'flags.gyp:flags', + 'gputest.gyp:skgputest', + 'jsoncpp.gyp:jsoncpp', + 'skia_lib.gyp:skia_lib', + 'tools.gyp:crash_handler', + 'tools.gyp:proc_stats', + 'tools.gyp:resources', + 'tools.gyp:sk_tool_utils', + 'tools.gyp:timer', + 'tools.gyp:url_data_manager', + ], + }, + ], +} |