Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9f49e49

Browse files
committed
++
1 parent d78b88a commit 9f49e49

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

pubspec.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# (3) MIGRATING A NON-WORKSPACE PACKAGE TO USING THE WORKSPACE
5050
# ------------------------------------------------------------------------------
5151
# Many packages in this repo are still using a pre-workspace style pubspec.yaml,
52-
# either with manuallu declared `dependency_overrides` (much of ./tools) or by
52+
# either with manually declared `dependency_overrides` (much of ./tools) or by
5353
# using pub (./web_sdk, ./lib/web_ui). To migrate a package to the workspace:
5454
#
5555
# A. Add the `resolution: workspace` field to the pubspec.yaml.
@@ -96,30 +96,17 @@ workspace:
9696
# package is not important, as it is managed by the `DEPS` file. In other
9797
# words, "if the test pass, ship it".
9898
#
99-
# 3. The `path` field is used to indicate the location of the package in the
100-
# local repository itself. This is to *only* be used for local packages that
101-
# are part of the workspace. Third party dependencies are managed by the
102-
# `DEPS` file: they get a "any" version constraint and are overridden in the
103-
# `dependency_overrides` section below.
104-
#
10599
# While not enforced by tooling, try to keep this list in alphabetical order.
100+
# TODO(matanlurey): https://dart.dev/tools/linter-rules/sort_pub_dependencies.
106101
dependencies:
107102
args: any
108103
async_helper: any
109-
engine_build_configs:
110-
path: ./tools/pkg/engine_build_configs
111-
engine_repo_tools:
112-
path: ./tools/pkg/engine_repo_tools
113104
expect: any
114105
file: any
115-
litetest:
116-
path: ./testing/litetest
117106
logging: any
118107
meta: any
119108
path: any
120109
platform: any
121-
process_fakes:
122-
path: ./tools/pkg/process_fakes
123110
process_runner: any
124111
smith: any
125112

@@ -152,10 +139,16 @@ dependency_overrides:
152139
path: ./third_party/dart/pkg/async_helper
153140
collection:
154141
path: ./third_party/dart/third_party/pkg/collection
142+
engine_build_configs:
143+
path: ./tools/pkg/engine_build_configs
144+
engine_repo_tools:
145+
path: ./tools/pkg/engine_repo_tools
155146
expect:
156147
path: ./third_party/dart/pkg/expect
157148
file:
158149
path: ./third_party/dart/third_party/pkg/file/packages/file
150+
litetest:
151+
path: ./testing/litetest
159152
logging:
160153
path: ./third_party/dart/third_party/pkg/logging
161154
meta:
@@ -166,6 +159,8 @@ dependency_overrides:
166159
path: ./third_party/pkg/platform
167160
process:
168161
path: ./third_party/pkg/process
162+
process_fakes:
163+
path: ./tools/pkg/process_fakes
169164
process_runner:
170165
path: ./third_party/pkg/process_runner
171166
smith:

tools/pub_get_offline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
ENGINE_DIR = os.path.join(SRC_ROOT, 'flutter')
1919

2020
ALL_PACKAGES = [
21+
os.path.join(ENGINE_DIR),
2122
os.path.join(ENGINE_DIR, 'ci'),
2223
os.path.join(ENGINE_DIR, 'flutter_frontend_server'),
2324
os.path.join(ENGINE_DIR, 'impeller', 'tessellator', 'dart'),
@@ -87,8 +88,6 @@ def check_package(package):
8788

8889

8990
EXCLUDED_DIRS = [
90-
# FIXME: Do not submit this change, it's for PR testing only.
91-
os.path.join(ENGINE_DIR),
9291
os.path.join(ENGINE_DIR, 'lib'),
9392
os.path.join(ENGINE_DIR, 'prebuilts'),
9493
os.path.join(ENGINE_DIR, 'shell', 'platform', 'fuchsia'),

0 commit comments

Comments
 (0)