BUILD.gn 847 字节
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

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

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

  # 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 已提交
29
}
30

31 32 33 34 35 36 37 38 39
if (!is_fuchsia) {

  group("dist") {
    testonly = true

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

}