@@ -34,6 +34,7 @@ Future<BuildResult> build(
3434 CCompilerConfig ? cCompilerConfig,
3535 bool includeParentEnvironment = true ,
3636 List <String >? capturedLogs,
37+ PackageLayout ? packageLayout,
3738}) async {
3839 StreamSubscription <LogRecord >? subscription;
3940 if (capturedLogs != null ) {
@@ -51,6 +52,7 @@ Future<BuildResult> build(
5152 workingDirectory: packageUri,
5253 cCompilerConfig: cCompilerConfig,
5354 includeParentEnvironment: includeParentEnvironment,
55+ packageLayout: packageLayout,
5456 );
5557 if (result.success) {
5658 await expectAssetsExist (result.assets);
@@ -71,6 +73,7 @@ Future<DryRunResult> dryRun(
7173 CCompilerConfig ? cCompilerConfig,
7274 bool includeParentEnvironment = true ,
7375 List <String >? capturedLogs,
76+ PackageLayout ? packageLayout,
7477}) async {
7578 StreamSubscription <LogRecord >? subscription;
7679 if (capturedLogs != null ) {
@@ -86,6 +89,7 @@ Future<DryRunResult> dryRun(
8689 targetOs: Target .current.os,
8790 workingDirectory: packageUri,
8891 includeParentEnvironment: includeParentEnvironment,
92+ packageLayout: packageLayout,
8993 );
9094
9195 if (subscription != null ) {
0 commit comments