Python 3 support for macOS/iOS builds (flutter/engine#26627)
This commit is contained in:
2
DEPS
2
DEPS
@@ -98,7 +98,7 @@ allowed_hosts = [
|
||||
]
|
||||
|
||||
deps = {
|
||||
'src': 'https://github.com/flutter/buildroot.git' + '@' + '823808de422a8912bcec8a06f548da96d72cc682',
|
||||
'src': 'https://github.com/flutter/buildroot.git' + '@' + '3ae5da28db8cb028e21150f7472d0938fba2e057',
|
||||
|
||||
# Fuchsia compatibility
|
||||
#
|
||||
|
||||
@@ -28,11 +28,10 @@ def main():
|
||||
def generate_gen_snapshot(directory, destination):
|
||||
gen_snapshot_dir = os.path.join(directory, 'clang_x64', 'gen_snapshot')
|
||||
if not os.path.isfile(gen_snapshot_dir):
|
||||
print 'Cannot find gen_snapshot at', gen_snapshot_dir
|
||||
print('Cannot find gen_snapshot at %s' % gen_snapshot_dir)
|
||||
sys.exit(1)
|
||||
|
||||
subprocess.check_call(['xcrun', 'bitcode_strip', '-r', gen_snapshot_dir,
|
||||
'-o', destination])
|
||||
subprocess.check_call(['xcrun', 'bitcode_strip', '-r', gen_snapshot_dir, '-o', destination])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user