diff --git a/lib/web_ui/analysis_options.yaml b/lib/web_ui/analysis_options.yaml index 869fffe973553..eda384399fd47 100644 --- a/lib/web_ui/analysis_options.yaml +++ b/lib/web_ui/analysis_options.yaml @@ -3,6 +3,8 @@ # uncommented, we'll delete this file and simply inherit the root options. analyzer: + exclude: + - build/** enable-experiment: - non-nullable strong-mode: diff --git a/lib/web_ui/build.canvaskit.yaml b/lib/web_ui/build.canvaskit.yaml deleted file mode 100644 index 8be2596d000a7..0000000000000 --- a/lib/web_ui/build.canvaskit.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# Build configuration used by CanvasKit tests. When building for CanvasKit -# we must pass FLUTTER_WEB_USE_SKIA=true to dart2js. -# -# See also `build.html.yaml`. -targets: - $default: - builders: - build_web_compilers|entrypoint: - options: - compiler: dart2js - dart2js_args: - - --no-minify - - --disable-inlining - - --enable-asserts - - --enable-experiment=non-nullable - - --no-sound-null-safety - - -DFLUTTER_WEB_USE_SKIA=true - generate_for: - include: - - test/canvaskit/**.dart diff --git a/lib/web_ui/build.html.yaml b/lib/web_ui/build.html.yaml deleted file mode 100644 index 36ea478d17df4..0000000000000 --- a/lib/web_ui/build.html.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Build configuration used by HTML (non-CanvasKit) tests. -# -# See also `build.canvaskit.yaml`. -targets: - $default: - builders: - build_web_compilers|entrypoint: - options: - compiler: dart2js - dart2js_args: - - --no-minify - - --disable-inlining - - --enable-asserts - - --enable-experiment=non-nullable - - --no-sound-null-safety - generate_for: - include: - - test/**.dart - exclude: - - test/**vm_test.dart - - test/canvaskit/**.dart diff --git a/lib/web_ui/dev/test_runner.dart b/lib/web_ui/dev/test_runner.dart index 9538a380ec58b..c9dfacdb33c6a 100644 --- a/lib/web_ui/dev/test_runner.dart +++ b/lib/web_ui/dev/test_runner.dart @@ -236,7 +236,7 @@ class TestCommand extends Command with ArgUtils { } // Separate HTML targets from CanvasKit targets because the two use - // different dart2js options (and different build.*.yaml files). + // different dart2js options. final List htmlTargets = []; final List canvasKitTargets = []; final String canvasKitTestDirectory = diff --git a/lib/web_ui/pubspec.yaml b/lib/web_ui/pubspec.yaml index c428be84f72e5..8116e434bab07 100644 --- a/lib/web_ui/pubspec.yaml +++ b/lib/web_ui/pubspec.yaml @@ -5,22 +5,18 @@ environment: sdk: ">=2.10.0-0 <3.0.0" dependencies: - meta: 1.1.8 + js: 0.6.3-nullsafety.3 + meta: 1.3.0-nullsafety.6 dev_dependencies: analyzer: 0.39.15 archive: 2.0.13 http: 0.12.1 image: 2.1.13 - js: 0.6.1+1 mockito: 4.1.1 path: 1.8.0-nullsafety.3 - test: 1.14.3 - quiver: 2.1.3 - build_resolvers: 1.3.10 - build_runner: 1.10.0 - build_test: 1.0.0 - build_web_compilers: 2.11.0 + test: 1.16.0-nullsafety.9 + quiver: 3.0.0-nullsafety.2 yaml: 2.2.1 watcher: 0.9.7+15 web_test_utils: diff --git a/web_sdk/web_engine_tester/pubspec.yaml b/web_sdk/web_engine_tester/pubspec.yaml index 4bb4079035a29..af9f4ed712b84 100644 --- a/web_sdk/web_engine_tester/pubspec.yaml +++ b/web_sdk/web_engine_tester/pubspec.yaml @@ -4,9 +4,9 @@ environment: sdk: ">=2.2.0 <3.0.0" dependencies: - js: 0.6.1+1 - stream_channel: 2.0.0 - test: 1.14.3 + js: 0.6.3-nullsafety.3 + stream_channel: 2.1.0-nullsafety.3 + test: 1.16.0-nullsafety.9 webkit_inspection_protocol: 0.5.0 ui: path: ../../lib/web_ui diff --git a/web_sdk/web_test_utils/pubspec.yaml b/web_sdk/web_test_utils/pubspec.yaml index c11d442a20360..7f92e2348463e 100644 --- a/web_sdk/web_test_utils/pubspec.yaml +++ b/web_sdk/web_test_utils/pubspec.yaml @@ -6,5 +6,5 @@ environment: dependencies: path: 1.8.0-nullsafety.3 image: 2.1.13 - js: 0.6.1+1 + js: 0.6.3-nullsafety.3 yaml: 2.2.1