mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:41:19 +00:00
fe39068928
The old patches system in tools/patches is not supported in the 3H infra. Currently, Golem still uses the DEPS updating logic. This should be deleted when Golem also moves over to the 3H infra. Change-Id: Id42d8499a0fa42d18061908e9d1a18b687582ba7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/349640 Reviewed-by: William Hesse <whesse@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
24 lines
830 B
Bash
Executable file
24 lines
830 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
|
|
|
|
# Copy changed dependencies from Dart DEPS to engine DEPS and update them in
|
|
# checkout.
|
|
src/third_party/dart/tools/patches/flutter-engine/apply.sh
|