···165165 ./patches/widevine-79.patch # For bundling Widevine (DRM), might be replaceable via bundle_widevine_cdm=true in gnFlags
166166 # Fix the build by adding a missing dependency (s. https://crbug.com/1197837):
167167 ./patches/fix-missing-atspi2-dependency.patch
168168- ] ++ optionals (chromiumVersionAtLeast "91") [
169168 ./patches/closure_compiler-Use-the-Java-binary-from-the-system.patch
170169 ];
171170172172- postPatch = lib.optionalString (chromiumVersionAtLeast "91") ''
173173- # Required for patchShebangs (unsupported):
174174- chmod -x third_party/webgpu-cts/src/tools/deno
175175- '' + ''
171171+ postPatch = ''
176172 # remove unused third-party
177173 for lib in ${toString gnSystemLibraries}; do
178174 if [ -d "third_party/$lib" ]; then
···191187 substituteInPlace third_party/harfbuzz-ng/src/src/update-unicode-tables.make \
192188 --replace "/usr/bin/env -S make -f" "/usr/bin/make -f"
193189 fi
190190+ chmod -x third_party/webgpu-cts/src/tools/deno
194191195192 # We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX
196193 substituteInPlace sandbox/linux/suid/client/setuid_sandbox_host.cc \