Skip to content

Commit

Permalink
release: upgrade to flutter 3.27.0 (#279)
Browse files Browse the repository at this point in the history
Signed-off-by: Hidenori Matsubayashi <[email protected]>
  • Loading branch information
HidenoriMatsubayashi authored Dec 19, 2024
1 parent ac5e838 commit e032569
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bin/internal/engine.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a18df97ca57a249df5d8d68cd0820600223ce262
83bacfc52569459a4a654727cad2546820cb0d6a
4 changes: 2 additions & 2 deletions bin/internal/flutter.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668
3.24.5
8495dee1fd4aacbe9de707e7581203232f591b2f
3.27.0
1 change: 0 additions & 1 deletion lib/commands/build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ class BuildPackageCommand extends BuildSubCommand
analytics: globals.analytics,
fileSystem: globals.fs,
logger: globals.logger,
flutterUsage: globals.flutterUsage,
),
);
return FlutterCommandResult.success();
Expand Down
2 changes: 2 additions & 0 deletions lib/elinux_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import 'package:flutter_tools/src/build_system/build_system.dart';
import 'package:flutter_tools/src/cache.dart';
import 'package:flutter_tools/src/commands/assemble.dart';
import 'package:flutter_tools/src/commands/build_ios_framework.dart';
import 'package:flutter_tools/src/dart/package_map.dart';
import 'package:flutter_tools/src/globals.dart' as globals;
import 'package:flutter_tools/src/linux/build_linux.dart';
import 'package:flutter_tools/src/project.dart';
Expand Down Expand Up @@ -102,6 +103,7 @@ class ELinuxBuilder {
platform: globals.platform,
usage: globals.flutterUsage,
analytics: globals.analytics,
packageConfigPath: findPackageConfigFileOrDefault(project.directory).path,
);

final Target target = buildInfo.isDebug
Expand Down
1 change: 1 addition & 0 deletions lib/elinux_cache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ mixin ELinuxRequiredArtifacts on FlutterCommand {

/// See: [DevelopmentArtifact] in `cache.dart`
class ELinuxDevelopmentArtifact implements DevelopmentArtifact {
// ignore: unused_element
const ELinuxDevelopmentArtifact._(this.name, {this.feature});

@override
Expand Down
6 changes: 3 additions & 3 deletions lib/elinux_device.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ELinuxDevice extends Device {
required String backendType,
required String targetArch,
String sdkNameAndVersion = '',
required Logger logger,
required super.logger,
required ProcessManager processManager,
required OperatingSystemUtils operatingSystemUtils,
}) : _config = config,
Expand Down Expand Up @@ -203,7 +203,7 @@ class ELinuxDevice extends Device {

final String? elinuxCustomArgsEnv =
globals.platform.environment['FLUTTER_ELINUX_CUSTOM_RUN_ARGS'];
List<String> elinuxRunArgs = <String>[];
final List<String> elinuxRunArgs = <String>[];
if (elinuxCustomArgsEnv != null) {
elinuxRunArgs.addAll(elinuxCustomArgsEnv.split(' '));
} else if (_desktop && _backendType == 'wayland') {
Expand All @@ -223,7 +223,7 @@ class ELinuxDevice extends Device {
unawaited(process.exitCode.then((_) => _runningProcesses.remove(process)));

_logReader.initializeProcess(process);
if (debuggingOptions.buildInfo.isRelease == true) {
if (debuggingOptions.buildInfo.isRelease) {
return LaunchResult.succeeded();
}
final ProtocolDiscovery observatoryDiscovery = ProtocolDiscovery.vmService(
Expand Down
4 changes: 1 addition & 3 deletions lib/elinux_device_discovery.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import 'package:flutter_tools/src/custom_devices/custom_devices_config.dart';
import 'package:flutter_tools/src/device.dart';
import 'package:flutter_tools/src/features.dart';
import 'package:flutter_tools/src/flutter_device_manager.dart';
import 'package:flutter_tools/src/fuchsia/fuchsia_workflow.dart';
import 'package:flutter_tools/src/globals.dart' as globals;
import 'package:flutter_tools/src/macos/macos_workflow.dart';
import 'package:flutter_tools/src/windows/windows_workflow.dart';
Expand All @@ -44,18 +43,17 @@ class ELinuxDeviceManager extends FlutterDeviceManager {
artifacts: globals.artifacts!,
flutterVersion: globals.flutterVersion,
androidWorkflow: androidWorkflow!,
fuchsiaWorkflow: fuchsiaWorkflow!,
xcDevice: globals.xcdevice!,
userMessages: globals.userMessages,
windowsWorkflow: windowsWorkflow!,
macOSWorkflow: context.get<MacOSWorkflow>()!,
fuchsiaSdk: globals.fuchsiaSdk!,
operatingSystemUtils: globals.os,
customDevicesConfig: CustomDevicesConfig(
fileSystem: globals.fs,
logger: globals.logger,
platform: globals.platform,
),
nativeAssetsBuilder: globals.nativeAssetsBuilder,
);

final ELinuxDeviceDiscovery _eLinuxDeviceDiscovery = ELinuxDeviceDiscovery(
Expand Down

0 comments on commit e032569

Please sign in to comment.