mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
Don’t depend on tonic/debugger in release since the Dart debugger is unavailable in product mode. (#2972)
This commit is contained in:
+6
-1
@@ -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",
|
||||
|
||||
@@ -16,7 +16,6 @@ source_set("libraries") {
|
||||
"//flutter/sky/engine/wtf",
|
||||
"//lib/ftl",
|
||||
"//lib/tonic",
|
||||
"//lib/tonic/debugger",
|
||||
"//mojo/application",
|
||||
"//mojo/data_pipe_utils",
|
||||
"//mojo/public/c/system",
|
||||
@@ -31,6 +30,12 @@ source_set("libraries") {
|
||||
"//third_party/zlib",
|
||||
]
|
||||
|
||||
if (flutter_runtime_mode != "release") {
|
||||
public_deps += [
|
||||
"//lib/tonic/debugger",
|
||||
]
|
||||
}
|
||||
|
||||
if (is_android) {
|
||||
public_deps += [
|
||||
"//flutter/lib/jni",
|
||||
|
||||
Reference in New Issue
Block a user