mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:01:42 +00:00
23dd9a0f66
Change-Id: If4fc09d64afd80881f10875f77f8aeca9d05fb2f Reviewed-on: https://dart-review.googlesource.com/69963 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Jonas Termansen <sortie@google.com>
23 lines
846 B
Bash
Executable file
23 lines
846 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
#
|
|
# After you have checked out a flutter engine with the latest framework and the
|
|
# latest dart sdk, run this script to apply workarounds to the source code. It
|
|
# may patch up the source code so the three HEADs work together correctly.
|
|
#
|
|
# Usage: src/third_party/dart/tools/3xhead_flutter_hooks.sh
|
|
# (run inside the root of a flutter engine checkout)
|
|
|
|
set -e
|
|
if [ ! -e src/third_party/dart ]; then
|
|
echo "$0: error: "\
|
|
"This script must be run from the root of a flutter engine checkout" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Apply patches to the Flutter Engine if needed.
|
|
src/third_party/dart/tools/patches/flutter-engine/apply.sh
|