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

Side by Side Diff: gyp/gpu.gyp

Issue 2077043002: Update GYP for linux Vulkan to support SDK 1.0.13 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 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 for building gpu 5 # GYP for building gpu
6 { 6 {
7 'target_defaults': { 7 'target_defaults': {
8 'conditions': [ 8 'conditions': [
9 ['skia_os != "win"', { 9 ['skia_os != "win"', {
10 'sources/': [ ['exclude', '_win.(h|cpp)$'], 10 'sources/': [ ['exclude', '_win.(h|cpp)$'],
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 }, { 200 }, {
201 'library_dirs': [ '<(vulkan_sdk_path)/Bin', ], 201 'library_dirs': [ '<(vulkan_sdk_path)/Bin', ],
202 }], 202 }],
203 ] 203 ]
204 }, 204 },
205 }, { 205 }, {
206 'variables': { 206 'variables': {
207 'vulkan_lib_name': '-lvulkan', 207 'vulkan_lib_name': '-lvulkan',
208 }, 208 },
209 }], 209 }],
210 [ 'skia_os == "linux"', {
211 'variables': {
212 'vulkan_sdk_path' : '<!(echo $VULKAN_SDK)',
213 },
214 'include_dirs': [
215 '<(vulkan_sdk_path)/include',
216 ],
217 'direct_dependent_settings': {
218 'include_dirs': [
219 '<(vulkan_sdk_path)/include',
220 ],
221 },
222 'link_settings': {
223 'library_dirs': [ '<(vulkan_sdk_path)/lib', ],
224 },
225 }],
210 ], 226 ],
211 'dependencies': [ 227 'dependencies': [
212 'shaderc.gyp:shaderc_combined', 228 'shaderc.gyp:shaderc_combined',
213 ], 229 ],
214 'include_dirs': [ 230 'include_dirs': [
215 '../third_party/externals/shaderc2/libshaderc/include', 231 '../third_party/externals/shaderc2/libshaderc/include',
216 ], 232 ],
217 'direct_dependent_settings': { 233 'direct_dependent_settings': {
218 'include_dirs': [ 234 'include_dirs': [
219 '../third_party/externals/shaderc2/libshaderc/include', 235 '../third_party/externals/shaderc2/libshaderc/include',
220 ], 236 ],
221 }, 237 },
222 'link_settings': { 238 'link_settings': {
223 'libraries': [ '<(vulkan_lib_name)', ], 239 'libraries': [ '<(vulkan_lib_name)', ],
224 }, 240 },
225 }, { 241 }, {
226 'sources!': [ 242 'sources!': [
227 '<@(skgpu_vk_sources)', 243 '<@(skgpu_vk_sources)',
228 ], 244 ],
229 }], 245 }],
230 ], 246 ],
231 }, 247 },
232 ], 248 ],
233 } 249 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698