Skip to content

Commit

Permalink
Satisfy gn check. (google#591)
Browse files Browse the repository at this point in the history
Fix issues found by gn check and gn format.
Remove files that don't exist and add files libshaderc_spvc depends on.
  • Loading branch information
fjhenigman authored Apr 10, 2019
1 parent 60658b0 commit ff9ae40
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright 2018 The Shaderc Authors. All rights reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -24,7 +24,6 @@ config("shaderc_util_public") {

source_set("shaderc_util_sources") {
sources = [
"libshaderc_util/include/libshaderc_util/common.h",
"libshaderc_util/include/libshaderc_util/counting_includer.h",
"libshaderc_util/include/libshaderc_util/exceptions.h",
"libshaderc_util/include/libshaderc_util/file_finder.h",
Expand All @@ -37,7 +36,6 @@ source_set("shaderc_util_sources") {
"libshaderc_util/include/libshaderc_util/string_piece.h",
"libshaderc_util/include/libshaderc_util/universal_unistd.h",
"libshaderc_util/include/libshaderc_util/version_profile.h",
"libshaderc_util/include/libshaderc_util/visibility.h",
"libshaderc_util/src/compiler.cc",
"libshaderc_util/src/file_finder.cc",
"libshaderc_util/src/io.cc",
Expand Down Expand Up @@ -111,12 +109,15 @@ component("libshaderc_spvc") {
defines = [ "SHADERC_IMPLEMENTATION" ]

sources = [
"libshaderc/include/shaderc/env.h",
"libshaderc/include/shaderc/status.h",
"libshaderc/include/shaderc/visibility.h",
"libshaderc_spvc/include/shaderc/spvc.h",
"libshaderc_spvc/include/shaderc/spvc.hpp",
"libshaderc_spvc/src/spvc.cc",
]

deps = [
deps = [
":shaderc_util_sources",
"${spirv_tools_dir}:spvtools",
"${spirv_tools_dir}:spvtools_val",
Expand Down

0 comments on commit ff9ae40

Please sign in to comment.