forked from firka/flutter
Allow providing max_cache_entry flag to Dart (flutter/engine#31881)
This commit is contained in:
@@ -535,6 +535,7 @@ TEST_F(ShellTest,
|
||||
#if !FLUTTER_RELEASE
|
||||
flags.push_back("--max_profile_depth 1");
|
||||
flags.push_back("--random_seed 42");
|
||||
flags.push_back("--max_subtype_cache_entries=22");
|
||||
if (!DartVM::IsRunningPrecompiledCode()) {
|
||||
flags.push_back("--enable_mirrors");
|
||||
}
|
||||
|
||||
@@ -68,6 +68,7 @@ static const std::string gAllowedDartFlags[] = {
|
||||
"--strict_null_safety_checks",
|
||||
"--enable-display-list",
|
||||
"--no-enable-display-list",
|
||||
"--max_subtype_cache_entries",
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
|
||||
Reference in New Issue
Block a user