mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 19:25:47 +00:00
This Cl moves the contents of the test/tint/BUILD.gn file into the src/tint/BUILD.gn file. This moves the tests into the same build file as what is being tested. This is more in line with how the CMakeLists.txt file is setup. This removes the need to update 2 BUILD.gn files when adding new files and tests to tint. Bug: tint:1517 Change-Id: I9beb8a8bff7c10ac875647246ad4362f7e60f7da Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94040 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# Copyright 2018 The Dawn 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.
|
|
|
|
import("scripts/dawn_overrides_with_defaults.gni")
|
|
|
|
group("all") {
|
|
testonly = true
|
|
deps = [
|
|
"src/dawn/fuzzers",
|
|
"src/dawn/native:webgpu_dawn",
|
|
"src/dawn/tests",
|
|
"src/fuzzers/dawn:dawn_fuzzers",
|
|
"src/tint:libtint",
|
|
"src/tint:tint_unittests",
|
|
"src/tint/fuzzers",
|
|
]
|
|
if (dawn_standalone) {
|
|
deps += [
|
|
"src/dawn/samples",
|
|
"src/tint/cmd:tint",
|
|
]
|
|
}
|
|
}
|
|
|
|
# This target is built when no specific target is specified on the command line.
|
|
group("default") {
|
|
testonly = true
|
|
deps = [ ":all" ]
|
|
}
|