mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
5c156f2fcd
Bug: https://github.com/flutter/flutter/issues/143335 Change-Id: Iceb2e968be78fae82789d6b13a28b8d5e3cb3dc6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/361820 Commit-Queue: William Hesse <whesse@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
23 lines
846 B
Bash
Executable file
23 lines
846 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/flutter/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
|
|
|
|
# Copy changed dependencies from Dart DEPS to engine DEPS and update them in
|
|
# checkout.
|
|
src/flutter/third_party/dart/tools/patches/flutter-engine/apply.sh
|