mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 21:17:45 +00:00
BUILD.gn: Delete stale generated files in Dawn's gen dir.
This normalizes even more the directory structure of generated files in Dawn and removes stale autogenerated files that could be included wrongly using a GN action. See comment on top of dawn_generator.gni in this commit for more context. BUG=dawn:22 Change-Id: I8ec038f949c048431b2b643af4462f98c4ae610b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11361 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
f8c66c72c6
commit
a9a84dfe1e
@@ -27,6 +27,7 @@ if (!defined(dawn_standalone)) {
|
||||
if (!defined(dawn_root)) {
|
||||
dawn_root = get_path_info("..", "abspath")
|
||||
}
|
||||
dawn_gen_root = get_path_info("${dawn_root}", "gen_dir")
|
||||
|
||||
if (!defined(dawn_jinja2_dir)) {
|
||||
dawn_jinja2_dir = "//third_party/jinja2"
|
||||
|
||||
Reference in New Issue
Block a user