mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
make_distrib: Add Python 3 support (see issue #2856)
This commit is contained in:
@ -9,6 +9,8 @@ optionally removing some of the object files in the input libs by regular
|
||||
expression matching.
|
||||
For usage information, run the script with a --help argument.
|
||||
'''
|
||||
from __future__ import absolute_import
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import os
|
||||
import re
|
||||
@ -51,7 +53,7 @@ def CombineLibraries(output, remove_re, inputs):
|
||||
removals = CollectRemovals(remove_re, inputs)
|
||||
|
||||
if len(removals) > 0:
|
||||
print 'Removals: ', removals
|
||||
print('Removals: ', removals)
|
||||
|
||||
args = ['lib.exe', '/out:%s' % output]
|
||||
args += ['/remove:%s' % obj for obj in removals]
|
||||
|
Reference in New Issue
Block a user