Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: gyp/viewer.gyp

Issue 2067023002: Enable viewer in non-Vulkan builds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Only include XCB if using Vulkan Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/most.gyp ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 Google Inc. 1 # Copyright 2016 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 performance testbench. 5 # GYP file to build performance testbench.
6 # 6 #
7 { 7 {
8 'includes': [ 8 'includes': [
9 'apptype_console.gypi', 9 'apptype_console.gypi',
10 ], 10 ],
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 # so we only include the minimum set of views files in sources 71 # so we only include the minimum set of views files in sources
72 'dependencies!': [ 72 'dependencies!': [
73 'views.gyp:views', 73 'views.gyp:views',
74 ], 74 ],
75 'link_settings': { 75 'link_settings': {
76 'libraries': [ 76 'libraries': [
77 '-landroid', 77 '-landroid',
78 ], 78 ],
79 }, 79 },
80 }], 80 }],
81 [ 'skia_os == "linux"', { 81 [ 'skia_os == "linux" and skia_vulkan == 1', {
82 'link_settings': { 82 'link_settings': {
83 'libraries': [ 83 'libraries': [
84 '-lX11-xcb', 84 '-lX11-xcb',
85 ], 85 ],
86 }, 86 },
87 }], 87 }],
88 ['skia_os != "android"', { 88 ['skia_os != "android"', {
89 'sources/': [ 89 'sources/': [
90 ['exclude', '_android.(h|cpp)$'], 90 ['exclude', '_android.(h|cpp)$'],
91 ['exclude', 'src/views'], 91 ['exclude', 'src/views'],
92 ], 92 ],
93 }], 93 }],
94 ['skia_os != "linux"', { 94 ['skia_os != "linux"', {
95 'sources/': [ 95 'sources/': [
96 ['exclude', '_unix.(h|cpp)$'], 96 ['exclude', '_unix.(h|cpp)$'],
97 ['exclude', 'keysym2ucs.c'], 97 ['exclude', 'keysym2ucs.c'],
98 ], 98 ],
99 }], 99 }],
100 ['skia_os != "win"', { 100 ['skia_os != "win"', {
101 'sources/': [ ['exclude', '_win.(h|cpp)$'], 101 'sources/': [ ['exclude', '_win.(h|cpp)$'],
102 ], 102 ],
103 }], 103 }],
104 ['skia_vulkan == 0', {
105 'sources/': [ ['exclude', 'Vulkan']
106 ],
107 }],
104 ], 108 ],
105 }, 109 },
106 ], 110 ],
107 } 111 }
OLDNEW
« no previous file with comments | « gyp/most.gyp ('k') | tools/viewer/Viewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698