diff --git a/engine/src/flutter/README.md b/engine/src/flutter/README.md index 83e7238d04..670c65921a 100644 --- a/engine/src/flutter/README.md +++ b/engine/src/flutter/README.md @@ -1,5 +1,4 @@ -Flutter Engine -============== +# Flutter Engine [![Flutter CI Status](https://flutter-dashboard.appspot.com/api/public/build-status-badge?repo=engine)](https://flutter-dashboard.appspot.com/#/build?repo=engine) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/flutter/engine/badge)](https://deps.dev/project/github/flutter%2Fengine) @@ -11,7 +10,7 @@ code, is used by developers and organizations around the world, and is free and open source. The Flutter Engine is a portable runtime for hosting -[Flutter](https://flutter.dev) applications. It implements Flutter's core +[Flutter](https://flutter.dev) applications. It implements Flutter's core libraries, including animation and graphics, file and network I/O, accessibility support, plugin architecture, and a Dart runtime and compile toolchain. Most developers will interact with Flutter via the [Flutter @@ -31,8 +30,3 @@ the [docs.flutter.dev](https://docs.flutter.dev/). Flutter is a fully open source project, and we welcome contributions. Information on how to get started can be found at our [contributor guide](CONTRIBUTING.md). - -[Build Status - Cirrus]: https://api.cirrus-ci.com/github/flutter/engine.svg?branch=main - -[Build status]: https://cirrus-ci.com/github/flutter/engine - diff --git a/engine/src/flutter/lib/web_ui/dart_test_chrome.yaml b/engine/src/flutter/lib/web_ui/dart_test_chrome.yaml index a43e4e114d..8f232e4983 100644 --- a/engine/src/flutter/lib/web_ui/dart_test_chrome.yaml +++ b/engine/src/flutter/lib/web_ui/dart_test_chrome.yaml @@ -5,14 +5,3 @@ platforms: - chrome - vm - -presets: - cirrus: - override_platforms: - chrome: - settings: - # Required because Cirrus runs us as root. - # https://chromium.googlesource.com/chromium/src/+/master/docs/design/sandbox.md - # https://docs.travis-ci.com/user/chrome#Sandboxing - arguments: --no-sandbox - reporter: expanded diff --git a/engine/src/flutter/lib/web_ui/dev/common.dart b/engine/src/flutter/lib/web_ui/dev/common.dart index 0eabc3b62e..2f19ef15af 100644 --- a/engine/src/flutter/lib/web_ui/dev/common.dart +++ b/engine/src/flutter/lib/web_ui/dev/common.dart @@ -213,15 +213,12 @@ class DevNull implements StringSink { void writeln([Object? obj = '']) {} } -/// Whether the felt command is running on Cirrus CI. -bool get isCirrus => io.Platform.environment['CIRRUS_CI'] == 'true'; - /// Whether the felt command is running on LUCI. bool get isLuci => io.Platform.environment['LUCI_CONTEXT'] != null; /// Whether the felt command is running on one of the Continuous Integration /// environements. -bool get isCi => isCirrus || isLuci; +bool get isCi => isLuci; const String kChrome = 'chrome'; const String kEdge = 'edge'; diff --git a/engine/src/flutter/lib/web_ui/dev/environment.dart b/engine/src/flutter/lib/web_ui/dev/environment.dart index 390faff35a..061994dfa3 100644 --- a/engine/src/flutter/lib/web_ui/dev/environment.dart +++ b/engine/src/flutter/lib/web_ui/dev/environment.dart @@ -213,22 +213,4 @@ class Environment { webUiDartToolDir.path, 'test_results', )); - - /// Path to the script that clones the Flutter repo. - io.File get cloneFlutterScript => io.File(pathlib.join( - engineToolsDir.path, - 'clone_flutter.sh', - )); - - /// Path to flutter. - /// - /// For example, this can be used to run `flutter pub get`. - /// - /// Only use [cloneFlutterScript] to clone flutter to the engine build. - io.File get flutterCommand => io.File(pathlib.join( - engineDartToolDir.path, - 'flutter', - 'bin', - 'flutter', - )); } diff --git a/engine/src/flutter/lib/web_ui/dev/test_platform.dart b/engine/src/flutter/lib/web_ui/dev/test_platform.dart index b91c354083..4024eff179 100644 --- a/engine/src/flutter/lib/web_ui/dev/test_platform.dart +++ b/engine/src/flutter/lib/web_ui/dev/test_platform.dart @@ -1147,5 +1147,3 @@ class _BrowserEnvironment implements Environment { @override CancelableOperation displayPause() => _manager._displayPause(); } - -bool get isCirrus => Platform.environment['CIRRUS_CI'] == 'true'; diff --git a/engine/src/flutter/web_sdk/web_test_utils/lib/environment.dart b/engine/src/flutter/web_sdk/web_test_utils/lib/environment.dart index 350822b452..9b7b337e02 100644 --- a/engine/src/flutter/web_sdk/web_test_utils/lib/environment.dart +++ b/engine/src/flutter/web_sdk/web_test_utils/lib/environment.dart @@ -158,22 +158,4 @@ class Environment { webUiDartToolDir.path, 'ios_screenshots', )); - - /// Path to the script that clones the Flutter repo. - io.File get cloneFlutterScript => io.File(pathlib.join( - engineToolsDir.path, - 'clone_flutter.sh', - )); - - /// Path to flutter. - /// - /// For example, this can be used to run `flutter pub get`. - /// - /// Only use [cloneFlutterScript] to clone flutter to the engine build. - io.File get flutterCommand => io.File(pathlib.join( - engineDartToolDir.path, - 'flutter', - 'bin', - 'flutter', - )); }