From b58e203214167a875a5f74773c2cacbc4aa317f3 Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Mon, 26 Oct 2020 16:39:08 -0700 Subject: [PATCH] add a package config file to const finder test fixtures (flutter/engine#22124) Adds a package config file to the const finder test fixtures to unblock the null safety flag removal change. Otherwise these fixtures get opted in to null safety and some constants are missing (presumably because they are invalid). Related dart-lang/sdk#43872 --- .../test/fixtures/.dart_tool/package_config.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 engine/src/flutter/tools/const_finder/test/fixtures/.dart_tool/package_config.json diff --git a/engine/src/flutter/tools/const_finder/test/fixtures/.dart_tool/package_config.json b/engine/src/flutter/tools/const_finder/test/fixtures/.dart_tool/package_config.json new file mode 100644 index 0000000000..a820d2e6b2 --- /dev/null +++ b/engine/src/flutter/tools/const_finder/test/fixtures/.dart_tool/package_config.json @@ -0,0 +1,15 @@ +{ + "configVersion": 2, + "packages": [ + { + "name": "const_finder_fixtures", + "rootUri": "../lib/", + "languageVersion": "2.9" + }, + { + "name": "const_finder_fixtures_package", + "rootUri": "../pkg/", + "languageVersion": "2.9" + } + ] +}