Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b06b3e0

Browse files
authored
Remove legacy references to Cirrus and suspected dead-code. (#50442)
1 parent 1478f4e commit b06b3e0

File tree

6 files changed

+3
-61
lines changed

6 files changed

+3
-61
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Flutter Engine
2-
==============
1+
# Flutter Engine
32

43
[![Flutter CI Status](https://flutter-dashboard.appspot.com/api/public/build-status-badge?repo=engine)](https://flutter-dashboard.appspot.com/#/build?repo=engine)
54
[![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
1110
and open source.
1211

1312
The Flutter Engine is a portable runtime for hosting
14-
[Flutter](https://flutter.dev) applications. It implements Flutter's core
13+
[Flutter](https://flutter.dev) applications. It implements Flutter's core
1514
libraries, including animation and graphics, file and network I/O,
1615
accessibility support, plugin architecture, and a Dart runtime and compile
1716
toolchain. Most developers will interact with Flutter via the [Flutter
@@ -31,8 +30,3 @@ the [docs.flutter.dev](https://docs.flutter.dev/).
3130
Flutter is a fully open source project, and we welcome contributions.
3231
Information on how to get started can be found at our
3332
[contributor guide](CONTRIBUTING.md).
34-
35-
[Build Status - Cirrus]: https://api.cirrus-ci.com/github/flutter/engine.svg?branch=main
36-
37-
[Build status]: https://cirrus-ci.com/github/flutter/engine
38-

lib/web_ui/dart_test_chrome.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,3 @@
55
platforms:
66
- chrome
77
- vm
8-
9-
presets:
10-
cirrus:
11-
override_platforms:
12-
chrome:
13-
settings:
14-
# Required because Cirrus runs us as root.
15-
# https://chromium.googlesource.com/chromium/src/+/master/docs/design/sandbox.md
16-
# https://docs.travis-ci.com/user/chrome#Sandboxing
17-
arguments: --no-sandbox
18-
reporter: expanded

lib/web_ui/dev/common.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,12 @@ class DevNull implements StringSink {
213213
void writeln([Object? obj = '']) {}
214214
}
215215

216-
/// Whether the felt command is running on Cirrus CI.
217-
bool get isCirrus => io.Platform.environment['CIRRUS_CI'] == 'true';
218-
219216
/// Whether the felt command is running on LUCI.
220217
bool get isLuci => io.Platform.environment['LUCI_CONTEXT'] != null;
221218

222219
/// Whether the felt command is running on one of the Continuous Integration
223220
/// environements.
224-
bool get isCi => isCirrus || isLuci;
221+
bool get isCi => isLuci;
225222

226223
const String kChrome = 'chrome';
227224
const String kEdge = 'edge';

lib/web_ui/dev/environment.dart

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -213,22 +213,4 @@ class Environment {
213213
webUiDartToolDir.path,
214214
'test_results',
215215
));
216-
217-
/// Path to the script that clones the Flutter repo.
218-
io.File get cloneFlutterScript => io.File(pathlib.join(
219-
engineToolsDir.path,
220-
'clone_flutter.sh',
221-
));
222-
223-
/// Path to flutter.
224-
///
225-
/// For example, this can be used to run `flutter pub get`.
226-
///
227-
/// Only use [cloneFlutterScript] to clone flutter to the engine build.
228-
io.File get flutterCommand => io.File(pathlib.join(
229-
engineDartToolDir.path,
230-
'flutter',
231-
'bin',
232-
'flutter',
233-
));
234216
}

lib/web_ui/dev/test_platform.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,5 +1147,3 @@ class _BrowserEnvironment implements Environment {
11471147
@override
11481148
CancelableOperation<void> displayPause() => _manager._displayPause();
11491149
}
1150-
1151-
bool get isCirrus => Platform.environment['CIRRUS_CI'] == 'true';

web_sdk/web_test_utils/lib/environment.dart

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -158,22 +158,4 @@ class Environment {
158158
webUiDartToolDir.path,
159159
'ios_screenshots',
160160
));
161-
162-
/// Path to the script that clones the Flutter repo.
163-
io.File get cloneFlutterScript => io.File(pathlib.join(
164-
engineToolsDir.path,
165-
'clone_flutter.sh',
166-
));
167-
168-
/// Path to flutter.
169-
///
170-
/// For example, this can be used to run `flutter pub get`.
171-
///
172-
/// Only use [cloneFlutterScript] to clone flutter to the engine build.
173-
io.File get flutterCommand => io.File(pathlib.join(
174-
engineDartToolDir.path,
175-
'flutter',
176-
'bin',
177-
'flutter',
178-
));
179161
}

0 commit comments

Comments
 (0)