Update flutter_tools/bin/*.(dart|sh) to provide, if set, --local-engine-host. (#132336)
Partial work towards https://github.com/flutter/flutter/issues/132245. Other than updating error messages, and passing `$LOCAL_ENGINE_HOST` downwards, this PR should not change the behavior of any existing workflows or code (i.e. it's purely additive).
This commit is contained in:
@@ -345,6 +345,10 @@ class Context {
|
||||
flutterArgs.add('--local-engine=${environment['LOCAL_ENGINE']}');
|
||||
}
|
||||
|
||||
if (environment['LOCAL_ENGINE_HOST'] != null && environment['LOCAL_ENGINE_HOST']!.isNotEmpty) {
|
||||
flutterArgs.add('--local-engine-host=${environment['LOCAL_ENGINE_HOST']}');
|
||||
}
|
||||
|
||||
flutterArgs.addAll(<String>[
|
||||
'assemble',
|
||||
'--no-version-check',
|
||||
|
||||
Reference in New Issue
Block a user