mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 21:17:45 +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. Bug: dawn:61 Change-Id: Icaa459270bdaa60306e053b93835812e70dba6f5 Reviewed-on: https://dawn-review.googlesource.com/c/2940 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
This commit is contained in:
@@ -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