@@ -116,6 +116,11 @@ tfjs_web_test(
116116 "bs_chrome_mac" ,
117117 "bs_android_10" ,
118118 ],
119+ local_browser = select ({
120+ "@bazel_tools//src/conditions:linux_x86_64" : "chrome_webgpu_linux" ,
121+ "@bazel_tools//src/conditions:windows" : "chrome_webgpu" ,
122+ "//conditions:default" : "chrome_webgpu" ,
123+ }),
119124 static_files = STATIC_FILES ,
120125)
121126
@@ -137,6 +142,11 @@ tfjs_web_test(
137142 "bs_safari_mac" ,
138143 "bs_ios_12" ,
139144 ],
145+ local_browser = select ({
146+ "@bazel_tools//src/conditions:linux_x86_64" : "chrome_webgpu_linux" ,
147+ "@bazel_tools//src/conditions:windows" : "chrome_webgpu" ,
148+ "//conditions:default" : "chrome_webgpu" ,
149+ }),
140150 static_files = STATIC_FILES ,
141151)
142152
@@ -156,6 +166,11 @@ tfjs_web_test(
156166 ],
157167 headless = False ,
158168 presubmit_browsers = [], # Only run in nightly
169+ local_browser = select ({
170+ "@bazel_tools//src/conditions:linux_x86_64" : "chrome_webgpu_linux" ,
171+ "@bazel_tools//src/conditions:windows" : "chrome_webgpu" ,
172+ "//conditions:default" : "chrome_webgpu" ,
173+ }),
159174 static_files = STATIC_FILES ,
160175)
161176
@@ -175,6 +190,11 @@ tfjs_web_test(
175190 ],
176191 headless = False ,
177192 presubmit_browsers = [], # Only run in nightly
193+ local_browser = select ({
194+ "@bazel_tools//src/conditions:linux_x86_64" : "chrome_webgpu_linux" ,
195+ "@bazel_tools//src/conditions:windows" : "chrome_webgpu" ,
196+ "//conditions:default" : "chrome_webgpu" ,
197+ }),
178198 static_files = STATIC_FILES ,
179199)
180200
@@ -194,6 +214,11 @@ tfjs_web_test(
194214 ],
195215 headless = False ,
196216 presubmit_browsers = [], # Only run in nightly
217+ local_browser = select ({
218+ "@bazel_tools//src/conditions:linux_x86_64" : "chrome_webgpu_linux" ,
219+ "@bazel_tools//src/conditions:windows" : "chrome_webgpu" ,
220+ "//conditions:default" : "chrome_webgpu" ,
221+ }),
197222 static_files = STATIC_FILES ,
198223)
199224
@@ -213,6 +238,11 @@ tfjs_web_test(
213238 ],
214239 headless = False ,
215240 presubmit_browsers = [], # Only run in nightly
241+ local_browser = select ({
242+ "@bazel_tools//src/conditions:linux_x86_64" : "chrome_webgpu_linux" ,
243+ "@bazel_tools//src/conditions:windows" : "chrome_webgpu" ,
244+ "//conditions:default" : "chrome_webgpu" ,
245+ }),
216246 static_files = STATIC_FILES ,
217247)
218248
0 commit comments