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
529a599c
Unverified
Commit
529a599c
authored
Jul 01, 2021
by
Ahmed Ashour
Committed by
GitHub
Jul 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some indentation (#84967)
parent
6c2c702f
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
26 deletions
+26
-26
executable.dart
packages/flutter_tools/lib/executable.dart
+12
-12
android_sdk.dart
packages/flutter_tools/lib/src/android/android_sdk.dart
+1
-1
artifacts.dart
packages/flutter_tools/lib/src/artifacts.dart
+2
-2
packages.dart
packages/flutter_tools/lib/src/commands/packages.dart
+2
-2
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+1
-1
symbolize.dart
packages/flutter_tools/lib/src/commands/symbolize.dart
+1
-1
flutter_command_test.dart
...tools/test/general.shard/runner/flutter_command_test.dart
+1
-1
terminal_handler_test.dart
...utter_tools/test/general.shard/terminal_handler_test.dart
+4
-4
test_driver.dart
...ges/flutter_tools/test/integration.shard/test_driver.dart
+2
-2
No files found.
packages/flutter_tools/lib/executable.dart
View file @
529a599c
...
...
@@ -113,18 +113,18 @@ Future<void> main(List<String> args) async {
persistentToolState:
globals
.
persistentToolState
,
),
Logger:
()
{
final
LoggerFactory
loggerFactory
=
LoggerFactory
(
outputPreferences:
globals
.
outputPreferences
,
terminal:
globals
.
terminal
,
stdio:
globals
.
stdio
,
);
return
loggerFactory
.
createLogger
(
daemon:
daemon
,
machine:
runMachine
,
verbose:
verbose
&&
!
muteCommandLogging
,
prefixedErrors:
prefixedErrors
,
windows:
globals
.
platform
.
isWindows
,
);
final
LoggerFactory
loggerFactory
=
LoggerFactory
(
outputPreferences:
globals
.
outputPreferences
,
terminal:
globals
.
terminal
,
stdio:
globals
.
stdio
,
);
return
loggerFactory
.
createLogger
(
daemon:
daemon
,
machine:
runMachine
,
verbose:
verbose
&&
!
muteCommandLogging
,
prefixedErrors:
prefixedErrors
,
windows:
globals
.
platform
.
isWindows
,
);
},
},
);
...
...
packages/flutter_tools/lib/src/android/android_sdk.dart
View file @
529a599c
...
...
@@ -540,7 +540,7 @@ class AndroidSdkVersion implements Comparable<AndroidSdkVersion> {
}
String
getBuildToolsPath
(
String
binaryName
)
{
return
sdk
.
directory
.
childDirectory
(
'build-tools'
).
childDirectory
(
buildToolsVersionName
).
childFile
(
binaryName
).
path
;
return
sdk
.
directory
.
childDirectory
(
'build-tools'
).
childDirectory
(
buildToolsVersionName
).
childFile
(
binaryName
).
path
;
}
@override
...
...
packages/flutter_tools/lib/src/artifacts.dart
View file @
529a599c
...
...
@@ -576,7 +576,7 @@ class CachedArtifacts implements Artifacts {
return
_fileSystem
.
path
.
join
(
engineArtifactsPath
,
platformDirName
,
_artifactToFileName
(
artifact
,
platform
,
mode
));
case
Artifact
.
windowsUwpDesktopPath
:
final
String
engineArtifactsPath
=
_cache
.
getArtifactDirectory
(
'engine'
).
path
;
return
_fileSystem
.
path
.
join
(
engineArtifactsPath
,
'windows-uwp-x64-
${getNameForBuildMode(mode!)}
'
,
_artifactToFileName
(
artifact
,
platform
,
mode
));
return
_fileSystem
.
path
.
join
(
engineArtifactsPath
,
'windows-uwp-x64-
${getNameForBuildMode(mode!)}
'
,
_artifactToFileName
(
artifact
,
platform
,
mode
));
case
Artifact
.
windowsCppClientWrapper
:
final
String
engineArtifactsPath
=
_cache
.
getArtifactDirectory
(
'engine'
).
path
;
return
_fileSystem
.
path
.
join
(
engineArtifactsPath
,
'windows-x64'
,
_artifactToFileName
(
artifact
,
platform
,
mode
));
...
...
@@ -903,7 +903,7 @@ class CachedLocalEngineArtifacts implements LocalEngineArtifacts {
}
String
_flutterTesterPath
(
TargetPlatform
platform
)
{
if
(
_platform
.
isLinux
)
{
if
(
_platform
.
isLinux
)
{
return
_fileSystem
.
path
.
join
(
engineOutPath
,
_artifactToFileName
(
Artifact
.
flutterTester
));
}
else
if
(
_platform
.
isMacOS
)
{
return
_fileSystem
.
path
.
join
(
engineOutPath
,
'flutter_tester'
);
...
...
packages/flutter_tools/lib/src/commands/packages.dart
View file @
529a599c
...
...
@@ -162,8 +162,8 @@ class PackagesGetCommand extends FlutterCommand {
final
String
target
=
findProjectRoot
(
globals
.
fs
,
workingDirectory
);
if
(
target
==
null
)
{
throwToolExit
(
'Expected to find project root in '
'
${ workingDirectory ?? "current working directory" }
.'
'Expected to find project root in '
'
${ workingDirectory ?? "current working directory" }
.'
);
}
final
FlutterProject
rootProject
=
FlutterProject
.
fromDirectory
(
globals
.
fs
.
directory
(
target
));
...
...
packages/flutter_tools/lib/src/commands/run.dart
View file @
529a599c
...
...
@@ -593,7 +593,7 @@ class RunCommand extends RunCommandBase {
}
if
(
await
device
.
isLocalEmulator
&&
await
device
.
supportsHardwareRendering
)
{
if
(
boolArg
(
'enable-software-rendering'
))
{
globals
.
printStatus
(
globals
.
printStatus
(
'Using software rendering with device
${device.name}
. You may get better performance '
'with hardware mode by configuring hardware rendering for your device.'
);
...
...
packages/flutter_tools/lib/src/commands/symbolize.dart
View file @
529a599c
...
...
@@ -87,7 +87,7 @@ class SymbolizeCommand extends FlutterCommand {
if
(!
outputFile
.
parent
.
existsSync
())
{
outputFile
.
parent
.
createSync
(
recursive:
true
);
}
output
=
outputFile
.
openWrite
();
output
=
outputFile
.
openWrite
();
}
else
{
final
StreamController
<
List
<
int
>>
outputController
=
StreamController
<
List
<
int
>>();
outputController
...
...
packages/flutter_tools/test/general.shard/runner/flutter_command_test.dart
View file @
529a599c
...
...
@@ -471,7 +471,7 @@ void main() {
"generator": "pub",
"generatorVersion": "2.12.0-76.0.dev"
}
'''
);
'''
);
final
FakeReportingNullSafetyCommand
command
=
FakeReportingNullSafetyCommand
();
final
CommandRunner
<
void
>
runner
=
createTestCommandRunner
(
command
);
...
...
packages/flutter_tools/test/general.shard/terminal_handler_test.dart
View file @
529a599c
...
...
@@ -1106,7 +1106,7 @@ void main() {
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
TerminalHandler
terminalHandler
=
setUpTerminalHandler
(
<
FakeVmServiceRequest
>[
listViews
,
listViews
,
FakeVmServiceRequest
(
method:
'ext.flutter.debugAllowBanner'
,
args:
<
String
,
Object
>{
...
...
@@ -1132,7 +1132,7 @@ void main() {
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
TerminalHandler
terminalHandler
=
setUpTerminalHandler
(
<
FakeVmServiceRequest
>[
listViews
,
listViews
,
FakeVmServiceRequest
(
method:
'ext.flutter.debugAllowBanner'
,
args:
<
String
,
Object
>{
...
...
@@ -1168,7 +1168,7 @@ void main() {
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
TerminalHandler
terminalHandler
=
setUpTerminalHandler
(
<
FakeVmServiceRequest
>[
listViews
,
listViews
,
FakeVmServiceRequest
(
method:
'ext.flutter.debugAllowBanner'
,
args:
<
String
,
Object
>{
...
...
@@ -1205,7 +1205,7 @@ void main() {
final
FileSystem
fileSystem
=
MemoryFileSystem
.
test
();
final
TerminalHandler
terminalHandler
=
setUpTerminalHandler
(
<
FakeVmServiceRequest
>[
listViews
,
listViews
,
FakeVmServiceRequest
(
method:
'ext.flutter.debugAllowBanner'
,
args:
<
String
,
Object
>{
...
...
packages/flutter_tools/test/integration.shard/test_driver.dart
View file @
529a599c
...
...
@@ -512,7 +512,7 @@ class FlutterRunTestDriver extends FlutterTestDriver {
await
_setupProcess
(
<
String
>[
'attach'
,
...
getLocalEngineArguments
(),
...
getLocalEngineArguments
(),
'--machine'
,
if
(!
spawnDdsInstance
)
'--no-dds'
,
...
...
@@ -732,7 +732,7 @@ class FlutterTestTestDriver extends FlutterTestDriver {
})
async
{
await
_setupProcess
(<
String
>[
'test'
,
...
getLocalEngineArguments
(),
...
getLocalEngineArguments
(),
'--disable-service-auth-codes'
,
'--machine'
,
if
(
coverage
)
...
...
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