BUILD.gn 1.0 KB
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
  deps = [
9
    "//flutter/lib/snapshot:generate_snapshot_bin",
R
Ryan Macnak 已提交
10
    "//flutter/sky",
11
  ]
P
P.Y. Laligand 已提交
12

A
Adam Barth 已提交
13
  if (is_fuchsia) {
P
P.Y. Laligand 已提交
14
    deps += [
15
      "//flutter/content_handler",
R
Ryan Macnak 已提交
16
      "//flutter/content_handler:aot_content_handler",
A
Adam Barth 已提交
17
      "//flutter/examples",
A
Adam Barth 已提交
18 19
      "//flutter/flow",
    ]
20
  }
21 22 23

  # If on the host, compile all unittests targets.
  if (current_toolchain == host_toolchain) {
24
    if (is_mac) {
R
Ryan Macnak 已提交
25
      deps += [ "//flutter/shell/platform/darwin:flutter_channels_unittests" ]
26
    }
27
    deps += [
28
      "//flutter/flow:flow_unittests",
29
      "//flutter/fml:fml_unittests",
30 31 32 33 34
      "//flutter/sky/engine/wtf:wtf_unittests",
      "//flutter/synchronization:synchronization_unittests",
      "//lib/ftl:ftl_unittests",
    ]
  }
A
Adam Barth 已提交
35
}
36

37 38 39 40 41 42 43 44
if (!is_fuchsia) {
  group("dist") {
    testonly = true

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