From 7516216e72b5613fa3b7f694b941268308dd3a10 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Tue, 8 Jun 2021 10:39:02 -0700 Subject: [PATCH] Python 3 support for macOS/iOS builds (flutter/engine#26627) --- DEPS | 2 +- engine/src/flutter/sky/tools/create_macos_gen_snapshots.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/DEPS b/DEPS index e0164fac04..34683f4048 100644 --- a/DEPS +++ b/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 # diff --git a/engine/src/flutter/sky/tools/create_macos_gen_snapshots.py b/engine/src/flutter/sky/tools/create_macos_gen_snapshots.py index 297c277c8b..af833076fe 100755 --- a/engine/src/flutter/sky/tools/create_macos_gen_snapshots.py +++ b/engine/src/flutter/sky/tools/create_macos_gen_snapshots.py @@ -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__':