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:
Chinmay Garde
2016-08-26 11:47:50 -07:00
committed by GitHub
parent b47221eee6
commit 52f70a61ff

View File

@@ -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",