Ryan Macnak 86d96fd0ce
Reapply "Don't link the core snapshot in the Android engine." (#5353)
Add back the core snapshot to runtime_unittests and embedder_unittests.
2018-05-23 17:09:51 -07:00

40 lines
865 B
Plaintext

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
executable("testing") {
testonly = true
output_name = "flutter_tester"
public_configs = [ "$flutter_root:config" ]
sources = [
"tester_main.cc",
]
deps = [
"$flutter_root/assets",
"$flutter_root/common",
"$flutter_root/fml",
"$flutter_root/lib/snapshot",
"$flutter_root/shell/common",
"//garnet/public/lib/fxl",
"//third_party/dart/runtime:libdart_jit",
"//third_party/dart/runtime/bin:embedded_dart_io",
"//third_party/skia",
"//topaz/lib/tonic",
]
if (is_fuchsia) {
deps += [
"//garnet/public/lib/ui/scenic:client",
"//zircon/public/lib/trace-provider",
]
}
if (is_linux) {
ldflags = [ "-rdynamic" ]
}
}