mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
1bfc3816d8
This also adds a patch to flutter/flutter to fix head-head-head configuration (until engine is rolled into framework again). Change-Id: I6dae0983126a6664337834d3c93f1369139f1ac1 Reviewed-on: https://dart-review.googlesource.com/c/91922 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Jonas Termansen <sortie@google.com>
25 lines
903 B
Bash
Executable file
25 lines
903 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# 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
|
|
|
|
DIR=$(dirname -- "$(which -- "$0")")
|
|
. $DIR/patches/utils.sh
|
|
|
|
ensure_in_checkout_root
|
|
|
|
# Apply patches to the Flutter Framework if needed.
|
|
src/third_party/dart/tools/patches/flutter-flutter/apply.sh
|
|
|
|
# Apply patches to the Flutter Engine if needed.
|
|
src/third_party/dart/tools/patches/flutter-engine/apply.sh
|