Skip to content

Commit a33e22f

Browse files
author
Anna Gringauze
committed
Update option names for build_web_compilers
1 parent b1f8edd commit a33e22f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

dwds/test/fixtures/context.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class TestContext {
176176
],
177177
if (enableDebugSymbols) ...[
178178
'--define',
179-
'build_web_compilers|ddc=generate-debug-symbols=true',
179+
'build_web_compilers|ddc=output-debug-symbols=true',
180180
],
181181
if (verbose) '--verbose',
182182
];

webdev/lib/src/command/shared.dart

+6
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ List<String> buildRunnerArgs(
9292
..add('build_web_compilers|ddc=generate-full-dill=true');
9393
}
9494

95+
if (configuration.enableDebugSymbols) {
96+
arguments
97+
..add('--define')
98+
..add('build_web_compilers|ddc=output-debug-symbols=true');
99+
}
100+
95101
if (configuration.nullSafety != nullSafetyAuto) {
96102
arguments
97103
..add('--define')

0 commit comments

Comments
 (0)