From 6663076f288718fcfbe2775393908d1efcacca39 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Fri, 18 Aug 2023 08:29:51 +0000 Subject: [PATCH] Move tint_overrides_with_defaults.gni in scripts subdir Matches the location of the dawn overrides file Change-Id: I9d0e5c1e263417aa55795af45d4e182a4dc49311 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/147504 Commit-Queue: Ben Clayton Auto-Submit: Ben Clayton Kokoro: Kokoro Reviewed-by: Dan Sinclair --- BUILD.gn | 2 +- .../tint_overrides_with_defaults.gni | 0 src/tint/BUILD.gn | 2 +- src/tint/api/BUILD.gn | 2 +- src/tint/api/common/BUILD.gn | 2 +- src/tint/api/options/BUILD.gn | 2 +- src/tint/cmd/BUILD.gn | 2 +- src/tint/cmd/bench/BUILD.gn | 2 +- src/tint/cmd/common/BUILD.gn | 2 +- src/tint/cmd/info/BUILD.gn | 2 +- src/tint/cmd/loopy/BUILD.gn | 2 +- src/tint/cmd/test/BUILD.gn | 2 +- src/tint/cmd/tint/BUILD.gn | 2 +- src/tint/fuzzers/BUILD.gn | 2 +- src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn | 2 +- .../tint_ast_fuzzer/mutation_finders/BUILD.gn | 52 --------------- .../tint_ast_fuzzer/mutations/BUILD.gn | 65 ------------------- .../tint_ast_fuzzer/protobufs/BUILD.gn | 35 ---------- src/tint/fuzzers/tint_regex_fuzzer/BUILD.gn | 2 +- src/tint/lang/BUILD.gn | 2 +- src/tint/lang/core/BUILD.gn | 2 +- src/tint/lang/core/constant/BUILD.gn | 2 +- src/tint/lang/core/intrinsic/BUILD.gn | 2 +- src/tint/lang/core/intrinsic/data/BUILD.gn | 2 +- src/tint/lang/core/ir/BUILD.gn | 2 +- src/tint/lang/core/ir/transform/BUILD.gn | 2 +- src/tint/lang/core/type/BUILD.gn | 2 +- src/tint/lang/glsl/BUILD.gn | 2 +- src/tint/lang/glsl/writer/BUILD.gn | 2 +- .../lang/glsl/writer/ast_printer/BUILD.gn | 2 +- src/tint/lang/glsl/writer/common/BUILD.gn | 2 +- src/tint/lang/hlsl/BUILD.gn | 2 +- src/tint/lang/hlsl/validate/BUILD.gn | 2 +- src/tint/lang/hlsl/writer/BUILD.gn | 2 +- .../lang/hlsl/writer/ast_printer/BUILD.gn | 2 +- src/tint/lang/hlsl/writer/common/BUILD.gn | 2 +- src/tint/lang/msl/BUILD.gn | 2 +- src/tint/lang/msl/validate/BUILD.gn | 2 +- src/tint/lang/msl/writer/BUILD.gn | 2 +- src/tint/lang/msl/writer/ast_printer/BUILD.gn | 2 +- src/tint/lang/msl/writer/common/BUILD.gn | 2 +- src/tint/lang/msl/writer/printer/BUILD.gn | 2 +- src/tint/lang/msl/writer/raise/BUILD.gn | 2 +- src/tint/lang/spirv/BUILD.gn | 2 +- src/tint/lang/spirv/reader/BUILD.gn | 2 +- .../lang/spirv/reader/ast_parser/BUILD.gn | 2 +- src/tint/lang/spirv/reader/common/BUILD.gn | 2 +- src/tint/lang/spirv/writer/BUILD.gn | 2 +- .../lang/spirv/writer/ast_printer/BUILD.gn | 2 +- src/tint/lang/spirv/writer/common/BUILD.gn | 2 +- src/tint/lang/spirv/writer/printer/BUILD.gn | 2 +- src/tint/lang/spirv/writer/raise/BUILD.gn | 2 +- src/tint/lang/wgsl/BUILD.gn | 2 +- src/tint/lang/wgsl/ast/BUILD.gn | 2 +- src/tint/lang/wgsl/ast/transform/BUILD.gn | 2 +- .../lang/wgsl/ast/transform/utils/BUILD.gn | 35 ---------- src/tint/lang/wgsl/helpers/BUILD.gn | 2 +- src/tint/lang/wgsl/inspector/BUILD.gn | 2 +- src/tint/lang/wgsl/program/BUILD.gn | 2 +- src/tint/lang/wgsl/reader/BUILD.gn | 2 +- src/tint/lang/wgsl/reader/parser/BUILD.gn | 2 +- .../lang/wgsl/reader/program_to_ir/BUILD.gn | 2 +- src/tint/lang/wgsl/resolver/BUILD.gn | 2 +- src/tint/lang/wgsl/sem/BUILD.gn | 2 +- src/tint/lang/wgsl/writer/BUILD.gn | 2 +- .../lang/wgsl/writer/ast_printer/BUILD.gn | 2 +- .../lang/wgsl/writer/ir_to_program/BUILD.gn | 2 +- .../wgsl/writer/syntax_tree_printer/BUILD.gn | 2 +- src/tint/tint.gni | 2 +- src/tint/utils/BUILD.gn | 2 +- src/tint/utils/cli/BUILD.gn | 2 +- src/tint/utils/command/BUILD.gn | 2 +- src/tint/utils/containers/BUILD.gn | 2 +- src/tint/utils/debug/BUILD.gn | 2 +- src/tint/utils/diagnostic/BUILD.gn | 2 +- src/tint/utils/file/BUILD.gn | 2 +- src/tint/utils/generator/BUILD.gn | 2 +- src/tint/utils/ice/BUILD.gn | 2 +- src/tint/utils/id/BUILD.gn | 2 +- src/tint/utils/macros/BUILD.gn | 2 +- src/tint/utils/math/BUILD.gn | 2 +- src/tint/utils/memory/BUILD.gn | 2 +- src/tint/utils/reflection/BUILD.gn | 2 +- src/tint/utils/result/BUILD.gn | 2 +- src/tint/utils/rtti/BUILD.gn | 2 +- src/tint/utils/strconv/BUILD.gn | 2 +- src/tint/utils/symbol/BUILD.gn | 2 +- src/tint/utils/templates/BUILD.gn | 35 ---------- src/tint/utils/text/BUILD.gn | 2 +- src/tint/utils/traits/BUILD.gn | 2 +- tools/src/cmd/gen/build/BUILD.gn.tmpl | 2 +- 91 files changed, 85 insertions(+), 307 deletions(-) rename tint_overrides_with_defaults.gni => scripts/tint_overrides_with_defaults.gni (100%) delete mode 100644 src/tint/fuzzers/tint_ast_fuzzer/mutation_finders/BUILD.gn delete mode 100644 src/tint/fuzzers/tint_ast_fuzzer/mutations/BUILD.gn delete mode 100644 src/tint/fuzzers/tint_ast_fuzzer/protobufs/BUILD.gn delete mode 100644 src/tint/lang/wgsl/ast/transform/utils/BUILD.gn delete mode 100644 src/tint/utils/templates/BUILD.gn diff --git a/BUILD.gn b/BUILD.gn index 15788a4a0d3..6a774ba4ae9 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -13,7 +13,7 @@ # limitations under the License. import("scripts/dawn_overrides_with_defaults.gni") -import("tint_overrides_with_defaults.gni") +import("scripts/tint_overrides_with_defaults.gni") group("all") { testonly = true diff --git a/tint_overrides_with_defaults.gni b/scripts/tint_overrides_with_defaults.gni similarity index 100% rename from tint_overrides_with_defaults.gni rename to scripts/tint_overrides_with_defaults.gni diff --git a/src/tint/BUILD.gn b/src/tint/BUILD.gn index 1083e3fae40..b97374d3836 100644 --- a/src/tint/BUILD.gn +++ b/src/tint/BUILD.gn @@ -17,7 +17,7 @@ import("//build_overrides/build.gni") import("../../scripts/dawn_overrides_with_defaults.gni") -import("../../tint_overrides_with_defaults.gni") +import("../../scripts/tint_overrides_with_defaults.gni") if (tint_build_unittests) { import("//testing/test.gni") diff --git a/src/tint/api/BUILD.gn b/src/tint/api/BUILD.gn index bdee3b581da..55632ac71eb 100644 --- a/src/tint/api/BUILD.gn +++ b/src/tint/api/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../tint_overrides_with_defaults.gni") +import("../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/api/common/BUILD.gn b/src/tint/api/common/BUILD.gn index 1ecacd35aa0..4bc751dcd97 100644 --- a/src/tint/api/common/BUILD.gn +++ b/src/tint/api/common/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/api/options/BUILD.gn b/src/tint/api/options/BUILD.gn index 26814afb017..e24f6f19814 100644 --- a/src/tint/api/options/BUILD.gn +++ b/src/tint/api/options/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/cmd/BUILD.gn b/src/tint/cmd/BUILD.gn index bb2d16fd787..67e46cca9d8 100644 --- a/src/tint/cmd/BUILD.gn +++ b/src/tint/cmd/BUILD.gn @@ -20,6 +20,6 @@ # Do not modify this file directly ################################################################################ -import("../../../tint_overrides_with_defaults.gni") +import("../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/cmd/bench/BUILD.gn b/src/tint/cmd/bench/BUILD.gn index 0b66d01d796..b5e4ee99f4f 100644 --- a/src/tint/cmd/bench/BUILD.gn +++ b/src/tint/cmd/bench/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/cmd/common/BUILD.gn b/src/tint/cmd/common/BUILD.gn index d6b738d8e4d..927b10dc377 100644 --- a/src/tint/cmd/common/BUILD.gn +++ b/src/tint/cmd/common/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/cmd/info/BUILD.gn b/src/tint/cmd/info/BUILD.gn index 712437cb1c3..ab691e11233 100644 --- a/src/tint/cmd/info/BUILD.gn +++ b/src/tint/cmd/info/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/cmd/loopy/BUILD.gn b/src/tint/cmd/loopy/BUILD.gn index b264e4416d3..edceb8886c8 100644 --- a/src/tint/cmd/loopy/BUILD.gn +++ b/src/tint/cmd/loopy/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/cmd/test/BUILD.gn b/src/tint/cmd/test/BUILD.gn index a1be8db1126..b0e3a2bda53 100644 --- a/src/tint/cmd/test/BUILD.gn +++ b/src/tint/cmd/test/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/cmd/tint/BUILD.gn b/src/tint/cmd/tint/BUILD.gn index e759f530348..39f43f1eb25 100644 --- a/src/tint/cmd/tint/BUILD.gn +++ b/src/tint/cmd/tint/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/fuzzers/BUILD.gn b/src/tint/fuzzers/BUILD.gn index 35dd003a0b4..f15436aab30 100644 --- a/src/tint/fuzzers/BUILD.gn +++ b/src/tint/fuzzers/BUILD.gn @@ -13,7 +13,7 @@ # limitations under the License. import("//build_overrides/build.gni") -import("../../../tint_overrides_with_defaults.gni") +import("../../../scripts/tint_overrides_with_defaults.gni") # Fuzzers - Libfuzzer based fuzzing targets for Chromium # To run the fuzzers outside of Chromium, use the CMake based builds. diff --git a/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn b/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn index 5d1a018a8c9..1071fdd3225 100644 --- a/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn +++ b/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn @@ -13,7 +13,7 @@ # limitations under the License. import("//build_overrides/build.gni") -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") if (build_with_chromium) { import("//third_party/protobuf/proto_library.gni") diff --git a/src/tint/fuzzers/tint_ast_fuzzer/mutation_finders/BUILD.gn b/src/tint/fuzzers/tint_ast_fuzzer/mutation_finders/BUILD.gn deleted file mode 100644 index 677d638836d..00000000000 --- a/src/tint/fuzzers/tint_ast_fuzzer/mutation_finders/BUILD.gn +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2023 The Tint Authors. -# -# 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. -# See the License for the specific language governing permissions and -# limitations under the License. - -################################################################################ -# File generated by tools/src/cmd/gen -# using the template: -# /home/ben/src/dawn/tools/src/cmd/gen/build/BUILD.gn.tmpl -# -# Do not modify this file directly -################################################################################ - -import("../../../../../tint_overrides_with_defaults.gni") - -import("${tint_src_dir}/tint.gni") - -libtint_source_set("mutation_finders") { - sources = [ - "change_binary_operators.cc", - "change_binary_operators.h", - "change_unary_operators.cc", - "change_unary_operators.h", - "delete_statements.cc", - "delete_statements.h", - "replace_identifiers.cc", - "replace_identifiers.h", - "wrap_unary_operators.cc", - "wrap_unary_operators.h", - ] - deps = [ - "${tint_src_dir}/fuzzers/tint_ast_fuzzer", - "${tint_src_dir}/fuzzers/tint_ast_fuzzer/mutations", - "${tint_src_dir}/lang/core/type", - "${tint_src_dir}/lang/wgsl/ast", - "${tint_src_dir}/lang/wgsl/sem", - ] -} - -tint_unittests_source_set("unittests") { - sources = [] - deps = [] -} diff --git a/src/tint/fuzzers/tint_ast_fuzzer/mutations/BUILD.gn b/src/tint/fuzzers/tint_ast_fuzzer/mutations/BUILD.gn deleted file mode 100644 index a7ea66fb5ad..00000000000 --- a/src/tint/fuzzers/tint_ast_fuzzer/mutations/BUILD.gn +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2023 The Tint Authors. -# -# 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. -# See the License for the specific language governing permissions and -# limitations under the License. - -################################################################################ -# File generated by tools/src/cmd/gen -# using the template: -# /home/ben/src/dawn/tools/src/cmd/gen/build/BUILD.gn.tmpl -# -# Do not modify this file directly -################################################################################ - -import("../../../../../tint_overrides_with_defaults.gni") - -import("${tint_src_dir}/tint.gni") - -libtint_source_set("mutations") { - sources = [ - "change_binary_operator.cc", - "change_binary_operator.h", - "change_unary_operator.cc", - "change_unary_operator.h", - "delete_statement.cc", - "delete_statement.h", - "replace_identifier.cc", - "replace_identifier.h", - "wrap_unary_operator.cc", - "wrap_unary_operator.h", - ] - deps = [ - "${tint_src_dir}/fuzzers/tint_ast_fuzzer", - "${tint_src_dir}/lang/core/type", - "${tint_src_dir}/lang/wgsl/ast", - "${tint_src_dir}/lang/wgsl/program", - "${tint_src_dir}/lang/wgsl/sem", - ] -} - -tint_unittests_source_set("unittests") { - sources = [ - "change_binary_operator_test.cc", - "change_unary_operator_test.cc", - "delete_statement_test.cc", - "replace_identifier_test.cc", - "wrap_unary_operator_test.cc", - ] - deps = [ - "${tint_src_dir}/fuzzers/tint_ast_fuzzer", - "${tint_src_dir}/fuzzers/tint_ast_fuzzer/mutations", - "${tint_src_dir}/lang/wgsl/ast", - "${tint_src_dir}/lang/wgsl/program", - "${tint_src_dir}/lang/wgsl/reader", - "${tint_src_dir}/lang/wgsl/writer", - ] -} diff --git a/src/tint/fuzzers/tint_ast_fuzzer/protobufs/BUILD.gn b/src/tint/fuzzers/tint_ast_fuzzer/protobufs/BUILD.gn deleted file mode 100644 index bec4630c01a..00000000000 --- a/src/tint/fuzzers/tint_ast_fuzzer/protobufs/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2023 The Tint Authors. -# -# 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. -# See the License for the specific language governing permissions and -# limitations under the License. - -################################################################################ -# File generated by tools/src/cmd/gen -# using the template: -# /home/ben/src/dawn/tools/src/cmd/gen/build/BUILD.gn.tmpl -# -# Do not modify this file directly -################################################################################ - -import("../../../../../tint_overrides_with_defaults.gni") - -import("${tint_src_dir}/tint.gni") - -libtint_source_set("protobufs") { - sources = [ "tint_ast_fuzzer.h" ] - deps = [] -} - -tint_unittests_source_set("unittests") { - sources = [] - deps = [] -} diff --git a/src/tint/fuzzers/tint_regex_fuzzer/BUILD.gn b/src/tint/fuzzers/tint_regex_fuzzer/BUILD.gn index 3ee991c61c5..78a3623bd03 100644 --- a/src/tint/fuzzers/tint_regex_fuzzer/BUILD.gn +++ b/src/tint/fuzzers/tint_regex_fuzzer/BUILD.gn @@ -13,7 +13,7 @@ # limitations under the License. import("//build_overrides/build.gni") -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") if (build_with_chromium) { source_set("tint_regex_fuzzer") { diff --git a/src/tint/lang/BUILD.gn b/src/tint/lang/BUILD.gn index bb2d16fd787..67e46cca9d8 100644 --- a/src/tint/lang/BUILD.gn +++ b/src/tint/lang/BUILD.gn @@ -20,6 +20,6 @@ # Do not modify this file directly ################################################################################ -import("../../../tint_overrides_with_defaults.gni") +import("../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/core/BUILD.gn b/src/tint/lang/core/BUILD.gn index 1bc1f650365..fd449351d37 100644 --- a/src/tint/lang/core/BUILD.gn +++ b/src/tint/lang/core/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/core/constant/BUILD.gn b/src/tint/lang/core/constant/BUILD.gn index 4bd0e7bda0d..d4685184aa9 100644 --- a/src/tint/lang/core/constant/BUILD.gn +++ b/src/tint/lang/core/constant/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/core/intrinsic/BUILD.gn b/src/tint/lang/core/intrinsic/BUILD.gn index 9887ec70ccf..4e55311cb74 100644 --- a/src/tint/lang/core/intrinsic/BUILD.gn +++ b/src/tint/lang/core/intrinsic/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/core/intrinsic/data/BUILD.gn b/src/tint/lang/core/intrinsic/data/BUILD.gn index 8bd7df7fb5a..3673b17a459 100644 --- a/src/tint/lang/core/intrinsic/data/BUILD.gn +++ b/src/tint/lang/core/intrinsic/data/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/core/ir/BUILD.gn b/src/tint/lang/core/ir/BUILD.gn index ae23d54ae03..146ea38c092 100644 --- a/src/tint/lang/core/ir/BUILD.gn +++ b/src/tint/lang/core/ir/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/core/ir/transform/BUILD.gn b/src/tint/lang/core/ir/transform/BUILD.gn index bac2a9df66e..ef85e1a51de 100644 --- a/src/tint/lang/core/ir/transform/BUILD.gn +++ b/src/tint/lang/core/ir/transform/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/core/type/BUILD.gn b/src/tint/lang/core/type/BUILD.gn index 1951a455da5..2043c2d5508 100644 --- a/src/tint/lang/core/type/BUILD.gn +++ b/src/tint/lang/core/type/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/glsl/BUILD.gn b/src/tint/lang/glsl/BUILD.gn index f55ae696f7f..d8cef068aba 100644 --- a/src/tint/lang/glsl/BUILD.gn +++ b/src/tint/lang/glsl/BUILD.gn @@ -20,6 +20,6 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/glsl/writer/BUILD.gn b/src/tint/lang/glsl/writer/BUILD.gn index a794c4a1ee2..2486ed1ccb3 100644 --- a/src/tint/lang/glsl/writer/BUILD.gn +++ b/src/tint/lang/glsl/writer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_glsl_writer) { diff --git a/src/tint/lang/glsl/writer/ast_printer/BUILD.gn b/src/tint/lang/glsl/writer/ast_printer/BUILD.gn index dc04db66c75..83c2ba7270b 100644 --- a/src/tint/lang/glsl/writer/ast_printer/BUILD.gn +++ b/src/tint/lang/glsl/writer/ast_printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/glsl/writer/common/BUILD.gn b/src/tint/lang/glsl/writer/common/BUILD.gn index 987dae97089..356c9e58653 100644 --- a/src/tint/lang/glsl/writer/common/BUILD.gn +++ b/src/tint/lang/glsl/writer/common/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_glsl_writer) { diff --git a/src/tint/lang/hlsl/BUILD.gn b/src/tint/lang/hlsl/BUILD.gn index f55ae696f7f..d8cef068aba 100644 --- a/src/tint/lang/hlsl/BUILD.gn +++ b/src/tint/lang/hlsl/BUILD.gn @@ -20,6 +20,6 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/hlsl/validate/BUILD.gn b/src/tint/lang/hlsl/validate/BUILD.gn index 3f925970328..5ef229df0cc 100644 --- a/src/tint/lang/hlsl/validate/BUILD.gn +++ b/src/tint/lang/hlsl/validate/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_hlsl_writer) { diff --git a/src/tint/lang/hlsl/writer/BUILD.gn b/src/tint/lang/hlsl/writer/BUILD.gn index 92240a16dd1..2da7ed1bd59 100644 --- a/src/tint/lang/hlsl/writer/BUILD.gn +++ b/src/tint/lang/hlsl/writer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_hlsl_writer) { diff --git a/src/tint/lang/hlsl/writer/ast_printer/BUILD.gn b/src/tint/lang/hlsl/writer/ast_printer/BUILD.gn index 5cd3ffe4da2..2cff88bf0ba 100644 --- a/src/tint/lang/hlsl/writer/ast_printer/BUILD.gn +++ b/src/tint/lang/hlsl/writer/ast_printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/hlsl/writer/common/BUILD.gn b/src/tint/lang/hlsl/writer/common/BUILD.gn index 090c1525913..6be0ae4241b 100644 --- a/src/tint/lang/hlsl/writer/common/BUILD.gn +++ b/src/tint/lang/hlsl/writer/common/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/msl/BUILD.gn b/src/tint/lang/msl/BUILD.gn index f55ae696f7f..d8cef068aba 100644 --- a/src/tint/lang/msl/BUILD.gn +++ b/src/tint/lang/msl/BUILD.gn @@ -20,6 +20,6 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/msl/validate/BUILD.gn b/src/tint/lang/msl/validate/BUILD.gn index f8d3377425c..aea9b687e47 100644 --- a/src/tint/lang/msl/validate/BUILD.gn +++ b/src/tint/lang/msl/validate/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_msl_writer) { diff --git a/src/tint/lang/msl/writer/BUILD.gn b/src/tint/lang/msl/writer/BUILD.gn index 4aa676a2350..adb53323347 100644 --- a/src/tint/lang/msl/writer/BUILD.gn +++ b/src/tint/lang/msl/writer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_msl_writer) { diff --git a/src/tint/lang/msl/writer/ast_printer/BUILD.gn b/src/tint/lang/msl/writer/ast_printer/BUILD.gn index e7af3d1b306..5c6fba345e0 100644 --- a/src/tint/lang/msl/writer/ast_printer/BUILD.gn +++ b/src/tint/lang/msl/writer/ast_printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/msl/writer/common/BUILD.gn b/src/tint/lang/msl/writer/common/BUILD.gn index 19adb548a5b..b441649e299 100644 --- a/src/tint/lang/msl/writer/common/BUILD.gn +++ b/src/tint/lang/msl/writer/common/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/msl/writer/printer/BUILD.gn b/src/tint/lang/msl/writer/printer/BUILD.gn index e6db342fb9d..94851ad2dce 100644 --- a/src/tint/lang/msl/writer/printer/BUILD.gn +++ b/src/tint/lang/msl/writer/printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/msl/writer/raise/BUILD.gn b/src/tint/lang/msl/writer/raise/BUILD.gn index 6aba461d56d..1108f3ea6d2 100644 --- a/src/tint/lang/msl/writer/raise/BUILD.gn +++ b/src/tint/lang/msl/writer/raise/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/spirv/BUILD.gn b/src/tint/lang/spirv/BUILD.gn index f55ae696f7f..d8cef068aba 100644 --- a/src/tint/lang/spirv/BUILD.gn +++ b/src/tint/lang/spirv/BUILD.gn @@ -20,6 +20,6 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/spirv/reader/BUILD.gn b/src/tint/lang/spirv/reader/BUILD.gn index b790b6fa712..e8bca89783a 100644 --- a/src/tint/lang/spirv/reader/BUILD.gn +++ b/src/tint/lang/spirv/reader/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_spv_reader) { diff --git a/src/tint/lang/spirv/reader/ast_parser/BUILD.gn b/src/tint/lang/spirv/reader/ast_parser/BUILD.gn index c747a30dbdb..ea640f2fdf3 100644 --- a/src/tint/lang/spirv/reader/ast_parser/BUILD.gn +++ b/src/tint/lang/spirv/reader/ast_parser/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/spirv/reader/common/BUILD.gn b/src/tint/lang/spirv/reader/common/BUILD.gn index 28449a156b6..2f2b52865f0 100644 --- a/src/tint/lang/spirv/reader/common/BUILD.gn +++ b/src/tint/lang/spirv/reader/common/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/spirv/writer/BUILD.gn b/src/tint/lang/spirv/writer/BUILD.gn index 266f2c922e5..1e1a21a8498 100644 --- a/src/tint/lang/spirv/writer/BUILD.gn +++ b/src/tint/lang/spirv/writer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/spirv/writer/ast_printer/BUILD.gn b/src/tint/lang/spirv/writer/ast_printer/BUILD.gn index dd6b36ccdae..fa5fd93b5a3 100644 --- a/src/tint/lang/spirv/writer/ast_printer/BUILD.gn +++ b/src/tint/lang/spirv/writer/ast_printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/spirv/writer/common/BUILD.gn b/src/tint/lang/spirv/writer/common/BUILD.gn index fc9f6b89b2d..2dd5122f5fc 100644 --- a/src/tint/lang/spirv/writer/common/BUILD.gn +++ b/src/tint/lang/spirv/writer/common/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/spirv/writer/printer/BUILD.gn b/src/tint/lang/spirv/writer/printer/BUILD.gn index 1b53cdb8f4a..c6e95b9d8c5 100644 --- a/src/tint/lang/spirv/writer/printer/BUILD.gn +++ b/src/tint/lang/spirv/writer/printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") if (tint_build_spv_writer && tint_build_ir) { diff --git a/src/tint/lang/spirv/writer/raise/BUILD.gn b/src/tint/lang/spirv/writer/raise/BUILD.gn index 9048926bc0a..c47822e8d8f 100644 --- a/src/tint/lang/spirv/writer/raise/BUILD.gn +++ b/src/tint/lang/spirv/writer/raise/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/BUILD.gn b/src/tint/lang/wgsl/BUILD.gn index d01952a2de6..48b3c7abbb2 100644 --- a/src/tint/lang/wgsl/BUILD.gn +++ b/src/tint/lang/wgsl/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/ast/BUILD.gn b/src/tint/lang/wgsl/ast/BUILD.gn index 0b2f961a904..47ee72f5f96 100644 --- a/src/tint/lang/wgsl/ast/BUILD.gn +++ b/src/tint/lang/wgsl/ast/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/ast/transform/BUILD.gn b/src/tint/lang/wgsl/ast/transform/BUILD.gn index 99670473cd8..8df2f9429ec 100644 --- a/src/tint/lang/wgsl/ast/transform/BUILD.gn +++ b/src/tint/lang/wgsl/ast/transform/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/ast/transform/utils/BUILD.gn b/src/tint/lang/wgsl/ast/transform/utils/BUILD.gn deleted file mode 100644 index eb5be13e37b..00000000000 --- a/src/tint/lang/wgsl/ast/transform/utils/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2023 The Tint Authors. -# -# 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. -# See the License for the specific language governing permissions and -# limitations under the License. - -################################################################################ -# File generated by tools/src/cmd/gen -# using the template: -# /home/ben/src/dawn/tools/src/cmd/gen/build/BUILD.gn.tmpl -# -# Do not modify this file directly -################################################################################ - -import("../../../../../../../tint_overrides_with_defaults.gni") - -import("${tint_src_dir}/tint.gni") - -libtint_source_set("utils") { - sources = [] - deps = [] -} - -tint_unittests_source_set("unittests") { - sources = [] - deps = [] -} diff --git a/src/tint/lang/wgsl/helpers/BUILD.gn b/src/tint/lang/wgsl/helpers/BUILD.gn index edd2d7873ec..9836e13825e 100644 --- a/src/tint/lang/wgsl/helpers/BUILD.gn +++ b/src/tint/lang/wgsl/helpers/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/inspector/BUILD.gn b/src/tint/lang/wgsl/inspector/BUILD.gn index 2bbc41a4a6d..472f757ae97 100644 --- a/src/tint/lang/wgsl/inspector/BUILD.gn +++ b/src/tint/lang/wgsl/inspector/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/program/BUILD.gn b/src/tint/lang/wgsl/program/BUILD.gn index 2696ac4137d..550397b473e 100644 --- a/src/tint/lang/wgsl/program/BUILD.gn +++ b/src/tint/lang/wgsl/program/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/reader/BUILD.gn b/src/tint/lang/wgsl/reader/BUILD.gn index 167bc4b2e38..1de5c0d34d4 100644 --- a/src/tint/lang/wgsl/reader/BUILD.gn +++ b/src/tint/lang/wgsl/reader/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/reader/parser/BUILD.gn b/src/tint/lang/wgsl/reader/parser/BUILD.gn index 1f8d1f054ca..b7a6ca92cc9 100644 --- a/src/tint/lang/wgsl/reader/parser/BUILD.gn +++ b/src/tint/lang/wgsl/reader/parser/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/reader/program_to_ir/BUILD.gn b/src/tint/lang/wgsl/reader/program_to_ir/BUILD.gn index 8c9eb93eeed..54696df7bfb 100644 --- a/src/tint/lang/wgsl/reader/program_to_ir/BUILD.gn +++ b/src/tint/lang/wgsl/reader/program_to_ir/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/resolver/BUILD.gn b/src/tint/lang/wgsl/resolver/BUILD.gn index 17f3e73dea0..01da15a1fdb 100644 --- a/src/tint/lang/wgsl/resolver/BUILD.gn +++ b/src/tint/lang/wgsl/resolver/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/sem/BUILD.gn b/src/tint/lang/wgsl/sem/BUILD.gn index 7e23a8366ef..7d8d66b451e 100644 --- a/src/tint/lang/wgsl/sem/BUILD.gn +++ b/src/tint/lang/wgsl/sem/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/writer/BUILD.gn b/src/tint/lang/wgsl/writer/BUILD.gn index afe081eb7f9..230167b514e 100644 --- a/src/tint/lang/wgsl/writer/BUILD.gn +++ b/src/tint/lang/wgsl/writer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../tint_overrides_with_defaults.gni") +import("../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/writer/ast_printer/BUILD.gn b/src/tint/lang/wgsl/writer/ast_printer/BUILD.gn index 337df6416d9..62341ae7f6d 100644 --- a/src/tint/lang/wgsl/writer/ast_printer/BUILD.gn +++ b/src/tint/lang/wgsl/writer/ast_printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/writer/ir_to_program/BUILD.gn b/src/tint/lang/wgsl/writer/ir_to_program/BUILD.gn index ae42670cad5..04785fce834 100644 --- a/src/tint/lang/wgsl/writer/ir_to_program/BUILD.gn +++ b/src/tint/lang/wgsl/writer/ir_to_program/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/lang/wgsl/writer/syntax_tree_printer/BUILD.gn b/src/tint/lang/wgsl/writer/syntax_tree_printer/BUILD.gn index 53c161b2d57..f3916184b31 100644 --- a/src/tint/lang/wgsl/writer/syntax_tree_printer/BUILD.gn +++ b/src/tint/lang/wgsl/writer/syntax_tree_printer/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../../../tint_overrides_with_defaults.gni") +import("../../../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/tint.gni b/src/tint/tint.gni index cafee44d0ff..6d6bd8ccd06 100644 --- a/src/tint/tint.gni +++ b/src/tint/tint.gni @@ -14,7 +14,7 @@ import("//build_overrides/build.gni") -import("../../tint_overrides_with_defaults.gni") +import("../../scripts/tint_overrides_with_defaults.gni") template("libtint_source_set") { source_set(target_name) { diff --git a/src/tint/utils/BUILD.gn b/src/tint/utils/BUILD.gn index bb2d16fd787..67e46cca9d8 100644 --- a/src/tint/utils/BUILD.gn +++ b/src/tint/utils/BUILD.gn @@ -20,6 +20,6 @@ # Do not modify this file directly ################################################################################ -import("../../../tint_overrides_with_defaults.gni") +import("../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/cli/BUILD.gn b/src/tint/utils/cli/BUILD.gn index bff6ce28d9d..c8577764184 100644 --- a/src/tint/utils/cli/BUILD.gn +++ b/src/tint/utils/cli/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/command/BUILD.gn b/src/tint/utils/command/BUILD.gn index 50b6665287b..53f5b9e5cbc 100644 --- a/src/tint/utils/command/BUILD.gn +++ b/src/tint/utils/command/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/containers/BUILD.gn b/src/tint/utils/containers/BUILD.gn index e39039b52b3..34a30d18c72 100644 --- a/src/tint/utils/containers/BUILD.gn +++ b/src/tint/utils/containers/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/debug/BUILD.gn b/src/tint/utils/debug/BUILD.gn index 9225c65542d..975d4d01536 100644 --- a/src/tint/utils/debug/BUILD.gn +++ b/src/tint/utils/debug/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/diagnostic/BUILD.gn b/src/tint/utils/diagnostic/BUILD.gn index b3c8c287e0e..1ac3aca0581 100644 --- a/src/tint/utils/diagnostic/BUILD.gn +++ b/src/tint/utils/diagnostic/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/file/BUILD.gn b/src/tint/utils/file/BUILD.gn index c53ec894f16..8c99d8a44ca 100644 --- a/src/tint/utils/file/BUILD.gn +++ b/src/tint/utils/file/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/generator/BUILD.gn b/src/tint/utils/generator/BUILD.gn index 89e28fd4506..08c5b7d0081 100644 --- a/src/tint/utils/generator/BUILD.gn +++ b/src/tint/utils/generator/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/ice/BUILD.gn b/src/tint/utils/ice/BUILD.gn index 2564bb51f94..c6ea665dc18 100644 --- a/src/tint/utils/ice/BUILD.gn +++ b/src/tint/utils/ice/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/id/BUILD.gn b/src/tint/utils/id/BUILD.gn index 5b1cd9da228..448ba228359 100644 --- a/src/tint/utils/id/BUILD.gn +++ b/src/tint/utils/id/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/macros/BUILD.gn b/src/tint/utils/macros/BUILD.gn index bba6052e933..3ac9b9dad38 100644 --- a/src/tint/utils/macros/BUILD.gn +++ b/src/tint/utils/macros/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/math/BUILD.gn b/src/tint/utils/math/BUILD.gn index 0473ace20c7..02609be4d37 100644 --- a/src/tint/utils/math/BUILD.gn +++ b/src/tint/utils/math/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/memory/BUILD.gn b/src/tint/utils/memory/BUILD.gn index 26a27e600e7..cc0ba0a620a 100644 --- a/src/tint/utils/memory/BUILD.gn +++ b/src/tint/utils/memory/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/reflection/BUILD.gn b/src/tint/utils/reflection/BUILD.gn index c87e03a5bcc..10e6be9fe44 100644 --- a/src/tint/utils/reflection/BUILD.gn +++ b/src/tint/utils/reflection/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/result/BUILD.gn b/src/tint/utils/result/BUILD.gn index 281030c968c..6d8a21f7ede 100644 --- a/src/tint/utils/result/BUILD.gn +++ b/src/tint/utils/result/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/rtti/BUILD.gn b/src/tint/utils/rtti/BUILD.gn index 3a2d5755025..bc9e1b4f4fd 100644 --- a/src/tint/utils/rtti/BUILD.gn +++ b/src/tint/utils/rtti/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/strconv/BUILD.gn b/src/tint/utils/strconv/BUILD.gn index 7a1b26bd081..c8a76387b2d 100644 --- a/src/tint/utils/strconv/BUILD.gn +++ b/src/tint/utils/strconv/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/symbol/BUILD.gn b/src/tint/utils/symbol/BUILD.gn index d598534b2e9..a9ad6d63b08 100644 --- a/src/tint/utils/symbol/BUILD.gn +++ b/src/tint/utils/symbol/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/templates/BUILD.gn b/src/tint/utils/templates/BUILD.gn deleted file mode 100644 index 867962af0f7..00000000000 --- a/src/tint/utils/templates/BUILD.gn +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2023 The Tint Authors. -# -# 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. -# See the License for the specific language governing permissions and -# limitations under the License. - -################################################################################ -# File generated by tools/src/cmd/gen -# using the template: -# /home/ben/src/dawn/tools/src/cmd/gen/build/BUILD.gn.tmpl -# -# Do not modify this file directly -################################################################################ - -import("../../../../tint_overrides_with_defaults.gni") - -import("${tint_src_dir}/tint.gni") - -libtint_source_set("templates") { - sources = [] - deps = [] -} - -tint_unittests_source_set("unittests") { - sources = [] - deps = [] -} diff --git a/src/tint/utils/text/BUILD.gn b/src/tint/utils/text/BUILD.gn index a346d642b16..ed245cd1177 100644 --- a/src/tint/utils/text/BUILD.gn +++ b/src/tint/utils/text/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/src/tint/utils/traits/BUILD.gn b/src/tint/utils/traits/BUILD.gn index 2ba2b220064..969d570d8f4 100644 --- a/src/tint/utils/traits/BUILD.gn +++ b/src/tint/utils/traits/BUILD.gn @@ -20,7 +20,7 @@ # Do not modify this file directly ################################################################################ -import("../../../../tint_overrides_with_defaults.gni") +import("../../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni") diff --git a/tools/src/cmd/gen/build/BUILD.gn.tmpl b/tools/src/cmd/gen/build/BUILD.gn.tmpl index f228a42d206..0c46af367f2 100644 --- a/tools/src/cmd/gen/build/BUILD.gn.tmpl +++ b/tools/src/cmd/gen/build/BUILD.gn.tmpl @@ -1,5 +1,5 @@ -import("{{Repeat "../" .Depth}}../../../tint_overrides_with_defaults.gni") +import("{{Repeat "../" .Depth}}../../../scripts/tint_overrides_with_defaults.gni") import("${tint_src_dir}/tint.gni")