[null-safety] pass experiments to builders (#67152)

Force opt-in flutter test platform to null safety for repo testing
This commit is contained in:
Jonah Williams
2020-10-02 16:38:50 -07:00
committed by GitHub
parent b42e34690a
commit f6cbf488e1
13 changed files with 24 additions and 161 deletions

View File

@@ -226,12 +226,6 @@ class BuildDaemonCreator {
'--enable-experiment=non-nullable',
'--skip-build-script-check',
'--define', 'flutter_tools:ddc=flutterWebSdk=$flutterWebSdk',
'--define', 'flutter_tools:entrypoint=flutterWebSdk=$flutterWebSdk',
'--define', 'flutter_tools:entrypoint=release=$release',
'--define', 'flutter_tools:entrypoint=profile=$profile',
'--define', 'flutter_tools:shell=flutterWebSdk=$flutterWebSdk',
'--define', 'flutter_tools:shell=hasPlugins=$hasPlugins',
'--define', 'flutter_tools:shell=initializePlatform=$initializePlatform',
// The following will cause build runner to only build tests that were requested.
if (testTargets != null && testTargets.hasBuildFilters)
for (final String buildFilter in testTargets.buildFilters)