summaryrefslogtreecommitdiffstats
path: root/toolkit/library/gen_buildid.py
diff options
context:
space:
mode:
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()