mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Create new src/tests BUILD.gn file.
Move all test-related build stuff into its own BUILD.gn file. This required moving the dawn_generator template into a common file, so it can be called by both BUILD.gn and src/tests/BUILD.gn. [This is a reland of https://dawn-review.googlesource.com/c/dawn/+/2940 with a fix for mock_dawn.] Bug: dawn:61 Change-Id: Id1e6d0c2b07caa2610cebe206511e972ac18fe8d Reviewed-on: https://dawn-review.googlesource.com/c/3020 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
67737f1d4a
commit
672d29d14c
@@ -24,6 +24,10 @@ if (!defined(dawn_standalone)) {
|
||||
dawn_standalone = false
|
||||
}
|
||||
|
||||
if (!defined(dawn_root)) {
|
||||
dawn_root = get_path_info("..", "abspath")
|
||||
}
|
||||
|
||||
if (!defined(dawn_jinja2_dir)) {
|
||||
dawn_jinja2_dir = "//third_party/jinja2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user