Add test list to deps

Adds the generated CTS test list to the existing gn/webgpu-cts group
so that Chromium tests properly include the generated file.

Also updates some existing BUILD.gn file paths to be consistent with
Chromium styling: relative paths without the leading ./ for files
under the current directory and directories before and separate from
individual files.

Bug: dawn:1479
Change-Id: Icce70e7fcee874b6b33c21230c8a4429a1f7ab6c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98801
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Brian Sheedy 2022-08-11 15:16:38 +00:00 committed by Dawn LUCI CQ
parent 0653501212
commit ced4c0d2cd
2 changed files with 5 additions and 3 deletions

View File

@ -24,6 +24,7 @@ group("webgpu-cts") {
":copy_resources", ":copy_resources",
":verify_gen_ts_dep_list", ":verify_gen_ts_dep_list",
] ]
data = [ "test_list.txt" ]
} }
list_from_ts_sources_txt = read_file("ts_sources.txt", "list lines") list_from_ts_sources_txt = read_file("ts_sources.txt", "list lines")

View File

@ -34,10 +34,11 @@ group("webgpu-cts") {
"../third_party/gn/webgpu-cts", "../third_party/gn/webgpu-cts",
] ]
data = [ data = [
"scripts/",
"../third_party/webgpu-cts/src/",
"//third_party/node/", "//third_party/node/",
"./scripts",
"./expectations.txt", "expectations.txt",
"../third_party/webgpu-cts/src",
"../third_party/webgpu-cts/node.tsconfig.json", "../third_party/webgpu-cts/node.tsconfig.json",
"../third_party/webgpu-cts/tsconfig.json", "../third_party/webgpu-cts/tsconfig.json",
] ]