Don’t depend on tonic/debugger in release since the Dart debugger is unavailable in product mode. (flutter/engine#2972)
This commit is contained in:
@@ -70,10 +70,15 @@ source_set("runtime") {
|
||||
"//flutter/skia",
|
||||
"//lib/ftl",
|
||||
"//lib/tonic",
|
||||
"//lib/tonic/debugger",
|
||||
"//mojo/public/platform/dart:mojo_internal_impl",
|
||||
]
|
||||
|
||||
if (flutter_runtime_mode != "release") {
|
||||
deps += [
|
||||
"//lib/tonic/debugger",
|
||||
]
|
||||
}
|
||||
|
||||
if (is_android) {
|
||||
deps += [
|
||||
"//flutter/lib/jni",
|
||||
|
||||
Reference in New Issue
Block a user