From 9f37246d6856d40f916e8f1fff5b43cfdc42e567 Mon Sep 17 00:00:00 2001 From: jvanverth Date: Wed, 6 Apr 2016 06:08:59 -0700 Subject: 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 --- gyp/most.gyp | 7 +++++++ gyp/vulkanviewer.gyp | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 gyp/vulkanviewer.gyp (limited to 'gyp') 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', + '