summaryrefslogtreecommitdiffstats
path: root/mandoline/BUILD.gn
blob: e077bf08a900c30c1e8a28c72304e60f4a6810b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright 2015 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.

import("//build/config/ui.gni")

group("all") {
  # Meta-target, don't link into production code.
  testonly = true

  deps = [
    ":tests",
  ]

  if (is_android) {
    deps += [ "//mandoline/app/android" ]
  } else {
    deps += [
      "//components/mus/example",
      "//mandoline/app/desktop",
    ]
  }
}

group("tests") {
  testonly = true
  deps = [
    "//mojo:tests",
  ]

  data_deps = [
    "//tools/perf/clear_system_cache",  # For startup.cold.* telemetry testing.
  ]

  if (use_x11) {
    deps += [ "//tools/xdisplaycheck" ]
  }

  if (!is_mac) {
    deps += [
      "//components/clipboard:apptests",
      "//components/filesystem:apptests",
      "//components/html_viewer:apptests",
      "//components/html_viewer:html_viewer_unittests",
      "//components/html_viewer:layout_test_html_viewer",
      "//components/mus/ws:tests",
      "//components/resource_provider:apptests",
      "//components/resource_provider:resource_provider_unittests",
      "//components/web_view:apptests",
      "//components/web_view/test_runner",
      "//media/mojo/services:tests",
      "//sql/mojo:apptests",
    ]

    if (use_aura) {
      deps += [ "//mandoline/ui/desktop_ui:mandoline_browser_apptests" ]
    }
  }
}