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

Unified Diff: gyp/shaderc.gyp

Issue 1757253002: Revert "Pull and build shaderc rather than use checked in lib/header" (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gpu.gyp ('k') | third_party/shaderc/Debug/shaderc_combined.lib » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/shaderc.gyp
diff --git a/gyp/shaderc.gyp b/gyp/shaderc.gyp
deleted file mode 100644
index 3619fa2eae0f74461feff96e866f601ed4d28a6f..0000000000000000000000000000000000000000
--- a/gyp/shaderc.gyp
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 2016 Google Inc.
-#
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Builds shaderc for the Vulkan backend
-{
- 'variables': {
- 'conditions': [
- [ 'CONFIGURATION_NAME == "Release_Developer"', {
- 'shaderc_build_type' : 'Release',
- }, {
- 'shaderc_build_type' : '<(CONFIGURATION_NAME)',
- }],
- [ 'skia_os == "win"', {
- 'shaderc_lib_name' : 'shaderc_combined.lib',
- }, {
- 'shaderc_lib_name' : 'libshaderc_combined.a',
- }],
- [ 'MSVS_VERSION == "2013"', {
- 'shaderc_project_type' : 'MSVS2013',
- }],
- [ 'MSVS_VERSION == "2015"', {
- 'shaderc_project_type' : 'MSVS2015',
- }],
- ],
- 'skia_build_type' : '<(CONFIGURATION_NAME)',
- },
- 'targets': [
- {
- # Call out to a python script to build shaderc_combined and then copy it
- # to out/<Configuration>
- 'target_name': 'shaderc_combined',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'compile_shaderc',
- 'inputs': [
- '<!@(python find.py ../third_party/externals/shaderc "*")',
- '../tools/build_shaderc.py',
- ],
- 'outputs': [
- '../out/<(skia_build_type)/shaderc_out_<(skia_arch_type)/libshaderc/<(shaderc_build_type)/<(shaderc_lib_name)',
- ],
- 'action': ['python', '../tools/build_shaderc.py', '-s', '../third_party/externals/shaderc', '-o', '../out/<(skia_build_type)/shaderc_out_<(skia_arch_type)', '-a', '<(skia_arch_type)', '-t', '<(shaderc_build_type)', '-p', '<(shaderc_project_type)'],
- },
- ],
- 'copies': [
- {
- 'destination': '../out/<(skia_build_type)',
- 'files': ['../out/<(skia_build_type)/shaderc_out_<(skia_arch_type)/libshaderc/<(shaderc_build_type)/<(shaderc_lib_name)'],
- },
- ],
- 'all_dependent_settings': {
- 'link_settings': {
- 'libraries': [
- '-lshaderc_combined',
- ],
- },
- },
- },
- ],
-}
« no previous file with comments | « gyp/gpu.gyp ('k') | third_party/shaderc/Debug/shaderc_combined.lib » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698