From 599de28a39a25e7dacabc73f1f355a479b9ebc82 Mon Sep 17 00:00:00 2001 From: "auto-submit[bot]" <98614782+auto-submit[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 21:46:47 +0000 Subject: [PATCH] Reverts "update the repo references for package:file (#55906)" (flutter/engine#55916) Reverts: flutter/engine#55906 Initiated by: zanderso Reason for reverting: b/373907578 Original PR Author: devoncarew Reviewed By: {zanderso} This change reverts the following previous change: The SoT repository for `package:file` has changed from google/file.dart to dart-lang/tools; this PR updates the DEPS file and the hard-coded paths in the two pubspec.yaml files. - https://github.com/dart-lang/tools/issues/674 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- DEPS | 4 ++++ engine/src/flutter/pubspec.yaml | 2 +- engine/src/flutter/web_sdk/pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/DEPS b/DEPS index 4829146e10..a3f0388cca 100644 --- a/DEPS +++ b/DEPS @@ -170,6 +170,7 @@ vars = { "upstream_dartdoc": "https://github.com/dart-lang/dartdoc.git", "upstream_equatable": "https://github.com/felangel/equatable.git", "upstream_ffi": "https://github.com/dart-lang/ffi.git", + "upstream_file": "https://github.com/google/file.dart.git", "upstream_fixnum": "https://github.com/dart-lang/fixnum.git", "upstream_flatbuffers": "https://github.com/google/flatbuffers.git", "upstream_freetype2": "https://gitlab.freedesktop.org/freetype/freetype.git", @@ -386,6 +387,9 @@ deps = { 'src/flutter/third_party/dart/third_party/pkg/dartdoc': Var('dart_git') + '/dartdoc.git@5df03dd913a0a2e20421cac61112aa84111160e0', + 'src/flutter/third_party/dart/third_party/pkg/file': + Var('dart_git') + '/external/github.com/google/file.dart@6842feaef1c4e06239bd30f8d3ef722838b1c97e', + 'src/flutter/third_party/dart/third_party/pkg/fixnum': Var('dart_git') + '/fixnum.git@83293b8ed86ccd574a94fcf4a2da43f31c1b43e0', diff --git a/engine/src/flutter/pubspec.yaml b/engine/src/flutter/pubspec.yaml index bece8d638d..f38a5defb7 100644 --- a/engine/src/flutter/pubspec.yaml +++ b/engine/src/flutter/pubspec.yaml @@ -194,7 +194,7 @@ dependency_overrides: expect: path: ./third_party/dart/pkg/expect file: - path: ./third_party/dart/third_party/pkg/tools/pkgs/file + path: ./third_party/dart/third_party/pkg/file/packages/file ffi: path: ./third_party/dart/third_party/pkg/native/pkgs/ffi fixnum: diff --git a/engine/src/flutter/web_sdk/pubspec.yaml b/engine/src/flutter/web_sdk/pubspec.yaml index 3908fe252e..e79ee6cd2b 100644 --- a/engine/src/flutter/web_sdk/pubspec.yaml +++ b/engine/src/flutter/web_sdk/pubspec.yaml @@ -33,7 +33,7 @@ dependency_overrides: # Must include all transitive dependencies from the "any" dart_internal: path: ../third_party/dart/pkg/dart_internal file: - path: ../third_party/dart/third_party/pkg/tools/pkgs/file + path: ../third_party/dart/third_party/pkg/file/packages/file glob: path: ../third_party/dart/third_party/pkg/glob macros: