BUILD.gn 873 字节
Newer Older
M
Michael Goderbauer 已提交
1
# Copyright 2013 The Flutter Authors. All rights reserved.
2 3 4
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

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

7 8 9
executable("testing") {
  output_name = "flutter_tester"

10
  public_configs = [
11 12
    "//flutter:config",
    "//flutter:export_dynamic_symbols",
13
  ]
14

15
  sources = [
16
    "tester_main.cc",
17 18 19
  ]

  deps = [
20 21 22 23 24 25
    "//flutter/assets",
    "//flutter/common",
    "//flutter/fml",
    "//flutter/lib/snapshot",
    "//flutter/shell/common",
    "//flutter/third_party/tonic",
26
    "//third_party/dart/runtime:libdart_jit",
B
Ben Konyi 已提交
27
    "//third_party/dart/runtime/bin:dart_io_api",
28
    "//third_party/skia",
29
  ]
30

31 32 33 34 35 36
  if (is_fuchsia) {
    if (!using_fuchsia_sdk) {
      deps += [ "//garnet/public/lib/ui/scenic:client" ]
    } else {
      deps += [ "$fuchsia_sdk_root/pkg:scenic_cpp" ]
    }
37
  }
38
}