mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
This library binds directly to dawn_native and implements webgpu.h. It may be built as a single library so it can be easily used in other projects. Bug: dawn:1220 Change-Id: I73be8c6455922fa526efd1600446cc46b07e82ed Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53887 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
34 lines
988 B
Plaintext
34 lines
988 B
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_native:webgpu_dawn",
|
|
"src/fuzzers:dawn_fuzzers",
|
|
"src/tests:dawn_tests",
|
|
]
|
|
if (dawn_standalone) {
|
|
deps += [ "examples:dawn_samples" ]
|
|
}
|
|
}
|
|
|
|
# This target is built when no specific target is specified on the command line.
|
|
group("default") {
|
|
testonly = true
|
|
deps = [ ":all" ]
|
|
}
|