OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |