···11+--- a/chrome/test/BUILD.gn
22++++ b/chrome/test/BUILD.gn
33+@@ -3114,13 +3114,6 @@ if (!is_android && !is_fuchsia) {
44+ "//pdf/loader",
55+ ]
66+77+- if (is_linux) {
88+- # Add a data dependency for pdf_extension_accessibility_test.cc to
99+- # notify testing builders that this test needs this library, which will
1010+- # need to be downloaded from CIPD as defined in //DEPS.
1111+- data_deps += [ "//third_party/screen-ai:screen_ai_linux" ]
1212+- }
1313+-
1414+ if (enable_printing) {
1515+ sources += [ "../browser/pdf/pdf_extension_printing_test.cc" ]
1616+
···11-diff --git a/electron/BUILD.gn b/electron/BUILD.gn
22-index c905891eb8..f2cf11fe88 100644
33---- a/electron/BUILD.gn
44-+++ b/electron/BUILD.gn
55-@@ -111,8 +111,6 @@ electron_version = exec_script("script/print-version.py",
66- [],
77- "trim string",
88- [
99-- ".git/packed-refs",
1010-- ".git/HEAD",
1111- "script/lib/get-version.js",
1212- ])
1313-1414-diff --git a/electron/script/lib/get-version.js b/electron/script/lib/get-version.js
1515-index 45a120482b..ddaf8ab60e 100644
1616---- a/electron/script/lib/get-version.js
1717-+++ b/electron/script/lib/get-version.js
1818-@@ -1,22 +1 @@
1919--const { spawnSync } = require('child_process');
2020--const path = require('path');
2121--
2222--module.exports.getElectronVersion = () => {
2323-- // Find the nearest tag to the current HEAD
2424-- // This is equivilant to our old logic of "use a value in package.json" for the following reasons
2525-- //
2626-- // 1. Whenever we updated the package.json we ALSO pushed a tag with the same version
2727-- // 2. Whenever we _reverted_ a bump all we actually did was push a commit that deleted the tag and changed the version number back
2828-- //
2929-- // The only difference in the "git describe" technique is that technically a commit can "change" it's version
3030-- // number if a tag is created / removed retroactively. i.e. the first time a commit is pushed it will be 1.2.3
3131-- // and after the tag is made rebuilding the same commit will result in it being 1.2.4
3232-- const output = spawnSync('git', ['describe', '--tags', '--abbrev=0'], {
3333-- cwd: path.resolve(__dirname, '..', '..')
3434-- });
3535-- if (output.status !== 0) {
3636-- console.error(output.stderr);
3737-- throw new Error('Failed to get current electron version');
3838-- }
3939-- return output.stdout.toString().trim().replace(/^v/g, '');
4040--};
4141-+module.exports.getElectronVersion = () => "@version@";
4242-
···99 sha256 = "sha256-OtGgToDGUr6pBu9+LS/DxaYw/9+Pd6jPhxVDAM22HB4=";
1010 };
11111212+ # Remove the wrong GROUP=plugdev.
1313+ # The udev rule already has TAG+="uaccess", which is sufficient.
1414+ postPatch = ''
1515+ substituteInPlace contrib/udev/99-usbsdmux.rules \
1616+ --replace-fail 'TAG+="uaccess", GROUP="plugdev"' 'TAG+="uaccess"'
1717+ '';
1818+1219 # usbsdmux is not meant to be used as an importable module and has no tests
1320 doCheck = false;
2121+2222+ postInstall = ''
2323+ install -Dm0444 -t $out/lib/udev/rules.d/ contrib/udev/99-usbsdmux.rules
2424+ '';
14251526 meta = with lib; {
1627 description = "Control software for the LXA USB-SD-Mux";