BUILD.gn 852 字节
Newer Older
A
Adam Barth 已提交
1 2 3 4
# Copyright 2014 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
group("flutter") {
A
Adam Barth 已提交
6
  testonly = true
7

8 9 10
  deps = [
    "//flutter/sky",
  ]
P
P.Y. Laligand 已提交
11

A
Adam Barth 已提交
12
  if (is_fuchsia) {
P
P.Y. Laligand 已提交
13
    deps += [
14
      "//flutter/content_handler",
A
Adam Barth 已提交
15
      "//flutter/examples",
A
Adam Barth 已提交
16
      "//flutter/flow",
17
      "//flutter/runtime",
18
      "//flutter/snapshotter",
19
      "//flutter/snapshotter($host_toolchain)",
A
Adam Barth 已提交
20
    ]
21
  }
22 23 24 25 26 27 28 29 30

  # If on the host, compile all unittests targets.
  if (current_toolchain == host_toolchain) {
    deps += [
      "//flutter/sky/engine/wtf:wtf_unittests",
      "//flutter/synchronization:synchronization_unittests",
      "//lib/ftl:ftl_unittests",
    ]
  }
A
Adam Barth 已提交
31
}
32

33 34 35 36 37 38 39 40
if (!is_fuchsia) {
  group("dist") {
    testonly = true

    deps = [
      "//flutter/sky/dist",
    ]
  }
41
}