Commit 3c283ac5 authored by Mike Shal's avatar Mike Shal
Browse files

Bug 1620744 - Convert process_define_files.py to py3; r=firefox-build-system-reviewers,rstewart

Differential Revision: https://phabricator.services.mozilla.com/D65847

--HG--
extra : moz-landing-system : lando
parent a1ea58eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ def process_define_file(output, input):
                            return define
                        defines = '\n'.join(sorted(
                            define_for_name(name, val)
                            for name, val in config.defines['ALLDEFINES'].iteritems()))
                            for name, val in config.defines['ALLDEFINES'].items()))
                        l = l[:m.start('cmd') - 1] \
                            + defines + l[m.end('name'):]
                    elif cmd == 'define':
+1 −1
Original line number Diff line number Diff line
@@ -1478,7 +1478,7 @@ class TreeMetadataEmitter(LoggingMixin):
                                  'action', 'process_define_files.py')
            yield GeneratedFile(context, script, 'process_define_file',
                                six.text_type(path),
                                [Path(context, path + '.in')], py2=True)
                                [Path(context, path + '.in')])

        generated_files = context.get('GENERATED_FILES') or []
        localized_generated_files = context.get('LOCALIZED_GENERATED_FILES') or []