Prepare for Dawn using Tint unconditionally.

Bug: dawn:706
Change-Id: I2a85a5a457f9a4c60b8cc337b0330aa348bd62a1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/384137
Reviewed-by: Eric Boren <borenet@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
Corentin Wallez 2021-03-12 11:46:04 +01:00 committed by Skia Commit-Bot
parent a0c04d6ceb
commit 82fe4d2243
2 changed files with 16 additions and 0 deletions

View File

@ -11,3 +11,4 @@ dawn_has_build = false
dawn_jinja2_dir = "//third_party/externals/jinja2"
dawn_spirv_tools_dir = "//third_party/externals/spirv-tools"
dawn_spirv_cross_dir = "//third_party/externals/spirv-cross"
dawn_tint_dir = "//third_party/externals/tint"

15
build_overrides/tint.gni Normal file
View File

@ -0,0 +1,15 @@
# Copyright 2019 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# These are variables that are overridable by projects that include Tint.
tint_root_dir = "//third_party/externals/tint"
tint_spirv_tools_dir = "//third_party/externals/spirv-tools"
tint_spirv_headers_dir = "//third_party/externals/spirv-headers"
tint_build_spv_reader = true
tint_build_spv_writer = true
tint_build_wgsl_reader = true
tint_build_wgsl_writer = false