Add proxies for Tint targets used by Chromium

This will ease rolling Dawn into Chromium, once Tint is merged in

BUG=dawn:1343

Change-Id: I53fa7b82a001ab3351f5366e8e045090c0fdb49b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85380
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
Ryan Harrison 2022-03-31 19:54:15 +00:00 committed by Dawn LUCI CQ
parent 451386cf7f
commit 9d76aa7424
4 changed files with 95 additions and 0 deletions

22
src/tint/fuzzers/BUILD.gn Normal file
View File

@ -0,0 +1,22 @@
# Copyright 2022 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")
# Target aliases to ease merging Tint->Dawn
group("fuzzers") {
deps = [ "${dawn_tint_dir}/src/tint/fuzzers:fuzzers" ]
testonly = true
}

View File

@ -0,0 +1,29 @@
# Copyright 2022 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")
# Target aliases to ease merging Tint->Dawn
group("tint_ast_fuzzer") {
deps = [ "${dawn_tint_dir}/src/tint/fuzzers/tint_ast_fuzzer:tint_ast_fuzzer" ]
testonly = true
}
group("tint_ast_fuzzer_proto") {
deps = [
"${dawn_tint_dir}/src/tint/fuzzers/tint_ast_fuzzer:tint_ast_fuzzer_proto",
]
testonly = true
}

View File

@ -0,0 +1,22 @@
# Copyright 2022 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")
# Target aliases to ease merging Tint->Dawn
group("tint_spirv_tools_fuzzer") {
deps = [ "${dawn_tint_dir}/src/tint/fuzzers/tint_spirv_tools_fuzzer:tint_spirv_tools_fuzzer" ]
testonly = true
}

22
test/tint/BUILD.gn Normal file
View File

@ -0,0 +1,22 @@
# Copyright 2022 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")
# Target aliases to ease merging Tint->Dawn
group("tint_unittests") {
deps = [ "${dawn_tint_dir}/test/tint:tint_unittests" ]
testonly = true
}