summaryrefslogtreecommitdiffstats
path: root/toolkit/library/gen_buildid.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
commita90a5cba08fdf6c0ceb95101c275108a152a3aed (patch)
tree532507288f3defd7f4dcf1af49698bcb76034855 /toolkit/library/gen_buildid.py
parentAdding debian version 126.0.1-1. (diff)
downloadfirefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz
firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/library/gen_buildid.py')
-rw-r--r--toolkit/library/gen_buildid.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/toolkit/library/gen_buildid.py b/toolkit/library/gen_buildid.py
index 9943ad2539..0078a5cfd6 100644
--- a/toolkit/library/gen_buildid.py
+++ b/toolkit/library/gen_buildid.py
@@ -18,16 +18,7 @@ from mozbuild.preprocessor import Preprocessor
def main(output, input_file):
with open(input_file) as fh:
- if buildconfig.substs["EXPAND_LIBS_LIST_STYLE"] == "linkerscript":
-
- def cleanup(line):
- assert line.startswith('INPUT("')
- assert line.endswith('")')
- return line[len('INPUT("') : -len('")')]
-
- objs = [cleanup(l.strip()) for l in fh.readlines()]
- else:
- objs = [l.strip() for l in fh.readlines()]
+ objs = [l.strip() for l in fh.readlines()]
pp = Preprocessor()
pp.out = StringIO()