2019-02-04 12:37:10 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-07-12 15:47:16 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2024-04-09 14:45:10 +00:00
|
|
|
# Usage: src/flutter/third_party/dart/tools/3xhead_flutter_hooks.sh
|
2018-07-12 15:47:16 +00:00
|
|
|
# (run inside the root of a flutter engine checkout)
|
|
|
|
|
|
|
|
set -e
|
2019-02-04 12:37:10 +00:00
|
|
|
|
|
|
|
DIR=$(dirname -- "$(which -- "$0")")
|
|
|
|
. $DIR/patches/utils.sh
|
|
|
|
|
|
|
|
ensure_in_checkout_root
|
|
|
|
|
2024-02-01 12:02:08 +00:00
|
|
|
# Copy changed dependencies from Dart DEPS to engine DEPS and update them in
|
|
|
|
# checkout.
|
2024-04-09 14:45:10 +00:00
|
|
|
src/flutter/third_party/dart/tools/patches/flutter-engine/apply.sh
|