Remove legacy references to Cirrus and suspected dead-code. (flutter/engine#50442)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
Flutter Engine
|
||||
==============
|
||||
# Flutter Engine
|
||||
|
||||
[](https://flutter-dashboard.appspot.com/#/build?repo=engine)
|
||||
[](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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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',
|
||||
));
|
||||
}
|
||||
|
||||
@@ -1147,5 +1147,3 @@ class _BrowserEnvironment implements Environment {
|
||||
@override
|
||||
CancelableOperation<void> displayPause() => _manager._displayPause();
|
||||
}
|
||||
|
||||
bool get isCirrus => Platform.environment['CIRRUS_CI'] == 'true';
|
||||
|
||||
@@ -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',
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user