From 734e8cb452244549619f2a21069f470ad1d4dc20 Mon Sep 17 00:00:00 2001 From: Alexander Thomas Date: Thu, 9 Nov 2023 22:11:57 +0100 Subject: [PATCH] Remove references to the runtime/third_party directory in the Dart SDK (flutter/engine#47853) Content of this directory has been moved to third_party in the Dart SDK checkout: https://dart-review.googlesource.com/c/sdk/+/332963 --- engine/src/flutter/ci/binary_size_treemap.sh | 4 ---- engine/src/flutter/ci/licenses_golden/tool_signature | 2 +- engine/src/flutter/tools/licenses/lib/paths.dart | 4 ---- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/engine/src/flutter/ci/binary_size_treemap.sh b/engine/src/flutter/ci/binary_size_treemap.sh index 64ca0fac80..3a8a7cd504 100755 --- a/engine/src/flutter/ci/binary_size_treemap.sh +++ b/engine/src/flutter/ci/binary_size_treemap.sh @@ -28,8 +28,4 @@ ADDR2LINE="third_party/android_tools/ndk/toolchains/aarch64-linux-android-4.9/pr # navigation will start from there. cd "$ENGINE_BUILDROOT" RUN_BINARY_SIZE_ANALYSIS="third_party/dart/third_party/binary_size/src/run_binary_size_analysis.py" -if [[ ! -f "$RUN_BINARY_SIZE_ANALYSIS" ]]; then - # Fallback to the old path until https://dart-review.googlesource.com/c/sdk/+/332963 rolls to Flutter Engine. - RUN_BINARY_SIZE_ANALYSIS="third_party/dart/runtime/third_party/binary_size/src/run_binary_size_analysis.py" -fi python3 "$RUN_BINARY_SIZE_ANALYSIS" --library "$INPUT_PATH" --destdir "$DEST_DIR" --addr2line-binary "$ADDR2LINE" diff --git a/engine/src/flutter/ci/licenses_golden/tool_signature b/engine/src/flutter/ci/licenses_golden/tool_signature index 124a0c03d3..dc87e214cb 100644 --- a/engine/src/flutter/ci/licenses_golden/tool_signature +++ b/engine/src/flutter/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: 4b8678841cc9a099770862d08fb15c47 +Signature: 5a4678e585e8ba7f0b2377837120592b diff --git a/engine/src/flutter/tools/licenses/lib/paths.dart b/engine/src/flutter/tools/licenses/lib/paths.dart index b41d20e804..bbda470d61 100644 --- a/engine/src/flutter/tools/licenses/lib/paths.dart +++ b/engine/src/flutter/tools/licenses/lib/paths.dart @@ -96,10 +96,6 @@ final Set skippedPaths = { r'third_party/dart/pkg', // packages that don't become part of the binary (e.g. the analyzer) r'third_party/dart/runtime/bin/ffi_test', r'third_party/dart/runtime/docs', - // TODO(aam): remove as a dup - r'third_party/dart/runtime/third_party/binary_size', - // TODO(aam): remove as a dup - r'third_party/dart/runtime/third_party/d3', r'third_party/dart/runtime/vm/service', r'third_party/dart/sdk/lib/html/doc', r'third_party/dart/third_party/binary_size', // not linked in