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 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'shaderc_combined', | 10 'target_name': 'shaderc_combined', |
11 'type': 'static_library', | 11 'type': 'static_library', |
12 'dependencies': [ | 12 'dependencies': [ |
13 'libshaderc', | 13 'libshaderc', |
14 'libshaderc_util', | 14 'libshaderc_util', |
15 'liboglcompiler', | 15 'liboglcompiler', |
16 'libspirv', | 16 'libspirv', |
17 'libglslangosdependent', | 17 'libglslangosdependent', |
18 'libglslang', | 18 'libglslang', |
19 ], | 19 ], |
| 20 'direct_dependent_settings': { |
| 21 'include_dirs': [ |
| 22 '../third_party/externals/shaderc2/libshaderc/include', |
| 23 ], |
| 24 }, |
20 }, | 25 }, |
21 { | 26 { |
22 'target_name': 'libshaderc', | 27 'target_name': 'libshaderc', |
23 'type': 'static_library', | 28 'type': 'static_library', |
24 'cflags': [ | 29 'cflags': [ |
25 '-w', | 30 '-w', |
26 ], | 31 ], |
27 'xcode_settings': { | 32 'xcode_settings': { |
28 'WARNING_CFLAGS': [ | 33 'WARNING_CFLAGS': [ |
29 '-w' | 34 '-w' |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 '--extinst-opencl-grammar', | 334 '--extinst-opencl-grammar', |
330 '../third_party/externals/shaderc2/third_party/spirv-tools/source/ex
tinst-1-0.opencl.std.grammar.json', | 335 '../third_party/externals/shaderc2/third_party/spirv-tools/source/ex
tinst-1-0.opencl.std.grammar.json', |
331 '--opencl-insts-output', | 336 '--opencl-insts-output', |
332 '../third_party/externals/shaderc2/third_party/spirv-tools/source/op
encl.std.insts-1-0.inc' | 337 '../third_party/externals/shaderc2/third_party/spirv-tools/source/op
encl.std.insts-1-0.inc' |
333 ], | 338 ], |
334 }, | 339 }, |
335 ], | 340 ], |
336 }, | 341 }, |
337 ], | 342 ], |
338 } | 343 } |
OLD | NEW |