[Reland] Skip injecting Bonjour settings when port publication is disabled (#136751)

Reland of https://github.com/flutter/flutter/pull/136562 with fixes.
This commit is contained in:
Victoria Ashworth
2023-10-18 15:08:19 -05:00
committed by GitHub
parent 697242c9f1
commit 1599cbebc3
8 changed files with 136 additions and 1 deletions

View File

@@ -886,6 +886,7 @@ class StartupTest {
'-v',
'--profile',
'--target=$target',
if (deviceOperatingSystem == DeviceOperatingSystem.ios) '--no-publish-port',
]);
final String buildRoot = path.join(testDirectory, 'build');
applicationBinaryPath = _findDarwinAppInBuildDirectory(buildRoot);