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

Side by Side Diff: gyp/shaderc.gyp

Issue 1884963002: Make build_shaderc.py blow away output dir and allow build_type arg to contain either Debug or Relea (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: shaderc_build_configuration init Created 4 years, 8 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 | tools/build_shaderc.py » ('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 5
6 # Builds shaderc for the Vulkan backend 6 # Builds shaderc for the Vulkan backend
7 { 7 {
8 'variables': { 8 'variables': {
9 'variables': { # This is the dreaded nested variables dict so that we can 9 'variables': { # This is the dreaded nested variables dict so that we can
10 # have dependent variables 10 # have dependent variables
11 'shaderc_build_configuration': '<(CONFIGURATION_NAME)',
11 'conditions': [ 12 'conditions': [
12 [ 'CONFIGURATION_NAME == "Release_Developer"', {
13 'shaderc_build_configuration' : 'Release',
14 }, {
15 'shaderc_build_configuration' : '<(CONFIGURATION_NAME)',
16 }],
17 [ 'skia_os == "win"', { 13 [ 'skia_os == "win"', {
18 'shaderc_lib_name' : 'shaderc_combined.lib', 14 'shaderc_lib_name' : 'shaderc_combined.lib',
19 }, { 15 }, {
20 'shaderc_lib_name' : 'libshaderc_combined.a', 16 'shaderc_lib_name' : 'libshaderc_combined.a',
21 }], 17 }],
22 [ 'skia_os == "win"', { 18 [ 'skia_os == "win"', {
23 'conditions': [ 19 'conditions': [
24 [ 'MSVS_VERSION == "2013"', { 20 [ 'MSVS_VERSION == "2013"', {
25 'shaderc_project_type' : 'MSVS2013', 21 'shaderc_project_type' : 'MSVS2013',
26 }], 22 }],
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 'all_dependent_settings': { 74 'all_dependent_settings': {
79 'link_settings': { 75 'link_settings': {
80 'libraries': [ 76 'libraries': [
81 '<(shaderc_lib_name)', 77 '<(shaderc_lib_name)',
82 ], 78 ],
83 }, 79 },
84 }, 80 },
85 }, 81 },
86 ], 82 ],
87 } 83 }
OLDNEW
« no previous file with comments | « no previous file | tools/build_shaderc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698