summaryrefslogtreecommitdiffstats
path: root/mandoline/BUILD.gn
blob: 5a308abbbfffbb2904265faa130fdbc223c8026b (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
# 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_component_build) {
    if (is_android) {
      deps += [ "//mandoline/app/android" ]
    } else {
      deps += [ "//mandoline/app/desktop" ]
    }
  }
}

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

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

  if (!is_component_build && !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/resource_provider:apptests",
      "//components/resource_provider:resource_provider_unittests",
      "//components/view_manager:tests",
      "//mandoline/tab:mandoline_frame_apptests",
      "//media/mojo/services:tests",
      "//sql/mojo:apptests",
    ]

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