BUILD.gn 836 字节
Newer Older
1 2 3 4
# 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.

5 6 7 8 9 10 11
executable("testing") {
  testonly = true

  output_name = "flutter_tester"

  public_configs = [ "$flutter_root:config" ]

12
  sources = [
13
    "tester_main.cc",
14 15 16
  ]

  deps = [
17
    "$flutter_root/assets",
18
    "$flutter_root/common",
19
    "$flutter_root/fml",
20
    "$flutter_root/lib/snapshot",
21
    "$flutter_root/shell/common",
22 23
    "//third_party/dart/runtime:libdart_jit",
    "//third_party/dart/runtime/bin:embedded_dart_io",
24
    "//third_party/skia",
25
    "//third_party/tonic",
26
  ]
27

28 29 30 31 32 33 34
  if (is_fuchsia) {
    deps += [
      "//garnet/public/lib/ui/scenic:client",
      "//zircon/public/lib/trace-provider",
    ]
  }

35 36 37
  if (is_linux) {
    ldflags = [ "-rdynamic" ]
  }
38
}