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>
diff --git a/src/tint/fuzzers/BUILD.gn b/src/tint/fuzzers/BUILD.gn new file mode 100644 index 0000000..f2291d7 --- /dev/null +++ b/src/tint/fuzzers/BUILD.gn
@@ -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 +}
diff --git a/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn b/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn new file mode 100644 index 0000000..2a312be --- /dev/null +++ b/src/tint/fuzzers/tint_ast_fuzzer/BUILD.gn
@@ -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 +}
diff --git a/src/tint/fuzzers/tint_spirv_tools_fuzzer/BUILD.gn b/src/tint/fuzzers/tint_spirv_tools_fuzzer/BUILD.gn new file mode 100644 index 0000000..a42c2d5 --- /dev/null +++ b/src/tint/fuzzers/tint_spirv_tools_fuzzer/BUILD.gn
@@ -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 +}
diff --git a/test/tint/BUILD.gn b/test/tint/BUILD.gn new file mode 100644 index 0000000..70b0940 --- /dev/null +++ b/test/tint/BUILD.gn
@@ -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 +}