mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Remove SPIR-V reader fuzzers
Fuzzers that exercise the SPIR-V reader are being moved to OSS-Fuzz. This change removes them from the Chromium build so that they cease to be run by ClusterFuzz. The change also applies a small refactoring to the fuzzer build rules, so that the tint_ast_clone fuzzer is specified together with other fuzzers that require the WGSL reader and writer. Bug: chromium:1243084 Change-Id: I4f5d12a679366634c7cad3e7ac18075bb046a8ba Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/62800 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Alastair Donaldson <afdx@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
87cce20f67
commit
a96dce9c89
@@ -1,53 +0,0 @@
|
||||
# Copyright 2021 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.
|
||||
|
||||
import("//build_overrides/build.gni")
|
||||
import("../../tint_overrides_with_defaults.gni")
|
||||
|
||||
if (build_with_chromium) {
|
||||
source_set("tint_spirv_tools_fuzzer") {
|
||||
public_configs = [
|
||||
"${tint_root_dir}/src:tint_config",
|
||||
"${tint_root_dir}/src:tint_common_config",
|
||||
]
|
||||
|
||||
include_dirs = [ "${root_gen_dir}/third_party/vulkan-deps/spirv-tools/src" ]
|
||||
|
||||
deps = [
|
||||
"${tint_root_dir}/fuzzers:tint_fuzzer_common",
|
||||
"${tint_spirv_tools_dir}/:spvtools_fuzz",
|
||||
"${tint_spirv_tools_dir}/:spvtools_opt",
|
||||
"${tint_spirv_tools_dir}/:spvtools_reduce",
|
||||
"//third_party/protobuf:protobuf_full",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"cli.cc",
|
||||
"cli.h",
|
||||
"fuzzer.cc",
|
||||
"mutator.cc",
|
||||
"mutator.h",
|
||||
"mutator_cache.cc",
|
||||
"mutator_cache.h",
|
||||
"spirv_fuzz_mutator.cc",
|
||||
"spirv_fuzz_mutator.h",
|
||||
"spirv_opt_mutator.cc",
|
||||
"spirv_opt_mutator.h",
|
||||
"spirv_reduce_mutator.cc",
|
||||
"spirv_reduce_mutator.h",
|
||||
"util.cc",
|
||||
"util.h",
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user