summaryrefslogtreecommitdiffstats
path: root/toolkit/library/gen_buildid.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /toolkit/library/gen_buildid.py
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.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()