Skip to content

Commit ecbaea1

Browse files
authored
Ensure to pass dill file after VM options for gen_snapshot (flutter#7839)
1 parent 5d3f714 commit ecbaea1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/snapshot/BUILD.gn

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,15 @@ compiled_action("generate_snapshot_bin") {
6060
"--isolate_snapshot_data=" + rebase_path(isolate_snapshot_data),
6161
"--isolate_snapshot_instructions=" +
6262
rebase_path(isolate_snapshot_instructions),
63-
rebase_path(platform_kernel),
6463
]
6564

6665
if (is_debug) {
6766
args += [
6867
"--enable_asserts",
69-
"--enable_type_checks",
70-
"--error_on_bad_type",
71-
"--error_on_bad_override",
7268
]
7369
}
70+
71+
args += [rebase_path(platform_kernel)]
7472
}
7573

7674
# Generates an assembly file defining a given symbol with the bytes from a

0 commit comments

Comments
 (0)