Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6253f901
Unverified
Commit
6253f901
authored
Oct 08, 2021
by
Jenn Magder
Committed by
GitHub
Oct 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move DeviceManager into null migrated globals library (#91457)
parent
ecc74b43
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
9 deletions
+9
-9
daemon.dart
packages/flutter_tools/lib/src/commands/daemon.dart
+1
-1
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+1
-1
doctor.dart
packages/flutter_tools/lib/src/doctor.dart
+1
-1
fuchsia_device.dart
packages/flutter_tools/lib/src/fuchsia/fuchsia_device.dart
+1
-1
globals.dart
packages/flutter_tools/lib/src/globals.dart
+0
-2
globals_null_migrated.dart
packages/flutter_tools/lib/src/globals_null_migrated.dart
+2
-0
flutter_command_runner.dart
.../flutter_tools/lib/src/runner/flutter_command_runner.dart
+1
-1
devices_test.dart
...tter_tools/test/commands.shard/hermetic/devices_test.dart
+1
-1
run_test.dart
.../flutter_tools/test/commands.shard/hermetic/run_test.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/commands/daemon.dart
View file @
6253f901
...
...
@@ -23,7 +23,7 @@ import '../device.dart';
import
'../device_port_forwarder.dart'
;
import
'../emulator.dart'
;
import
'../features.dart'
;
import
'../globals.dart'
as
globals
;
import
'../globals
_null_migrated
.dart'
as
globals
;
import
'../project.dart'
;
import
'../resident_runner.dart'
;
import
'../run_cold.dart'
;
...
...
packages/flutter_tools/lib/src/commands/run.dart
View file @
6253f901
...
...
@@ -16,7 +16,7 @@ import '../base/utils.dart';
import
'../build_info.dart'
;
import
'../device.dart'
;
import
'../features.dart'
;
import
'../globals.dart'
as
globals
;
import
'../globals
_null_migrated
.dart'
as
globals
;
import
'../project.dart'
;
import
'../reporting/reporting.dart'
;
import
'../resident_runner.dart'
;
...
...
packages/flutter_tools/lib/src/doctor.dart
View file @
6253f901
...
...
@@ -24,7 +24,7 @@ import 'device.dart';
import
'doctor_validator.dart'
;
import
'features.dart'
;
import
'fuchsia/fuchsia_workflow.dart'
;
import
'globals.dart'
as
globals
;
import
'globals
_null_migrated
.dart'
as
globals
;
import
'intellij/intellij_validator.dart'
;
import
'linux/linux_doctor.dart'
;
import
'linux/linux_workflow.dart'
;
...
...
packages/flutter_tools/lib/src/fuchsia/fuchsia_device.dart
View file @
6253f901
...
...
@@ -22,7 +22,7 @@ import '../base/time.dart';
import
'../build_info.dart'
;
import
'../device.dart'
;
import
'../device_port_forwarder.dart'
;
import
'../globals.dart'
as
globals
;
import
'../globals
_null_migrated
.dart'
as
globals
;
import
'../project.dart'
;
import
'../vmservice.dart'
;
...
...
packages/flutter_tools/lib/src/globals.dart
View file @
6253f901
...
...
@@ -5,7 +5,6 @@
// @dart = 2.8
import
'base/context.dart'
;
import
'device.dart'
;
import
'doctor.dart'
;
import
'ios/simulators.dart'
;
import
'macos/xcdevice.dart'
;
...
...
@@ -15,7 +14,6 @@ export 'globals_null_migrated.dart';
CrashReporter
get
crashReporter
=>
context
.
get
<
CrashReporter
>();
Doctor
get
doctor
=>
context
.
get
<
Doctor
>();
DeviceManager
get
deviceManager
=>
context
.
get
<
DeviceManager
>();
IOSSimulatorUtils
get
iosSimulatorUtils
=>
context
.
get
<
IOSSimulatorUtils
>();
XCDevice
get
xcdevice
=>
context
.
get
<
XCDevice
>();
packages/flutter_tools/lib/src/globals_null_migrated.dart
View file @
6253f901
...
...
@@ -27,6 +27,7 @@ import 'base/user_messages.dart';
import
'build_system/build_system.dart'
;
import
'cache.dart'
;
import
'custom_devices/custom_devices_config.dart'
;
import
'device.dart'
;
import
'fuchsia/fuchsia_sdk.dart'
;
import
'ios/ios_workflow.dart'
;
import
'ios/plist_parser.dart'
;
...
...
@@ -48,6 +49,7 @@ BuildSystem? get buildSystem => context.get<BuildSystem>();
Cache
get
cache
=>
context
.
get
<
Cache
>()!;
CocoaPodsValidator
?
get
cocoapodsValidator
=>
context
.
get
<
CocoaPodsValidator
>();
Config
get
config
=>
context
.
get
<
Config
>()!;
DeviceManager
?
get
deviceManager
=>
context
.
get
<
DeviceManager
>();
HttpClientFactory
?
get
httpClientFactory
=>
context
.
get
<
HttpClientFactory
>();
Logger
get
logger
=>
context
.
get
<
Logger
>()!;
OperatingSystemUtils
get
os
=>
context
.
get
<
OperatingSystemUtils
>()!;
...
...
packages/flutter_tools/lib/src/runner/flutter_command_runner.dart
View file @
6253f901
...
...
@@ -18,7 +18,7 @@ import '../base/user_messages.dart';
import
'../base/utils.dart'
;
import
'../cache.dart'
;
import
'../convert.dart'
;
import
'../globals.dart'
as
globals
;
import
'../globals
_null_migrated
.dart'
as
globals
;
import
'../tester/flutter_tester.dart'
;
import
'../web/web_device.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/devices_test.dart
View file @
6253f901
...
...
@@ -11,7 +11,7 @@ import 'package:flutter_tools/src/artifacts.dart';
import
'package:flutter_tools/src/cache.dart'
;
import
'package:flutter_tools/src/commands/devices.dart'
;
import
'package:flutter_tools/src/device.dart'
;
import
'package:flutter_tools/src/globals.dart'
as
globals
;
import
'package:flutter_tools/src/globals
_null_migrated
.dart'
as
globals
;
import
'../../src/common.dart'
;
import
'../../src/context.dart'
;
...
...
packages/flutter_tools/test/commands.shard/hermetic/run_test.dart
View file @
6253f901
...
...
@@ -26,7 +26,7 @@ import 'package:flutter_tools/src/cache.dart';
import
'package:flutter_tools/src/commands/run.dart'
;
import
'package:flutter_tools/src/devfs.dart'
;
import
'package:flutter_tools/src/device.dart'
;
import
'package:flutter_tools/src/globals.dart'
as
globals
;
import
'package:flutter_tools/src/globals
_null_migrated
.dart'
as
globals
;
import
'package:flutter_tools/src/project.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:flutter_tools/src/resident_runner.dart'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment