# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/fuchsia/sdk.gni")

executable("testing") {
  testonly = true

  output_name = "flutter_tester"

  public_configs = [
    "$flutter_root:config",
    "$flutter_root:export_dynamic_symbols",
  ]

  sources = [ "tester_main.cc" ]

  deps = [
    "$flutter_root/assets",
    "$flutter_root/common",
    "$flutter_root/fml",
    "$flutter_root/lib/snapshot",
    "$flutter_root/shell/common",
    "//third_party/dart/runtime:libdart_jit",
    "//third_party/dart/runtime/bin:dart_io_api",
    "//third_party/skia",
    "//third_party/tonic",
  ]

  if (is_fuchsia && !is_fuchsia_sdk) {
    deps += [ "//garnet/public/lib/ui/scenic:client" ]
  }
}