Skip to content

Commit 362dd79

Browse files
kainino0xDawn LUCI CQ
authored andcommitted
[dawn][emscripten] Fix script path in GN build
This maybe assumes `dawn_emscripten_dir` is set to something starting with `//` (path relative to project root, I think). I don't know if there is a better way to handle it. No-Try: true # we do not test the build that this affects Change-Id: I1429f48f68b211c651fe0535bfef39f7c2826a27 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/212316 Commit-Queue: Kai Ninomiya <[email protected]> Reviewed-by: Loko Kung <[email protected]>
1 parent 420d46d commit 362dd79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/emdawnwebgpu/BUILD.gn

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ if (dawn_emscripten_dir != "") {
7676
":emdawnwebgpu_js_gen", # for struct_info_webgpu.json
7777
]
7878

79-
script = rebase_path(dawn_emscripten_dir, root_build_dir) +
80-
"/tools/maint/gen_struct_info.py"
79+
script = dawn_emscripten_dir + "/tools/maint/gen_struct_info.py"
8180
args = [
8281
"-q", # quiet
8382
rebase_path(sources[0], root_build_dir), # input file

0 commit comments

Comments
 (0)