summaryrefslogtreecommitdiffstats
path: root/mojo/services/BUILD.gn
blob: 945e6f0550a80046e9d135237f3d557b6a6dd7da (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
# 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.

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

group("services") {
  deps = [
    "//mojo/services/network/public/interfaces",
    "//third_party/mojo_services/src/clipboard/public/interfaces",
    "//third_party/mojo_services/src/content_handler/public/interfaces",
    "//third_party/mojo_services/src/geometry/public/interfaces",
    "//third_party/mojo_services/src/input_events/public/interfaces",
    "//third_party/mojo_services/src/native_viewport/public/interfaces",
    "//third_party/mojo_services/src/navigation/public/interfaces",
    "//third_party/mojo_services/src/surfaces/public/interfaces",
    "//third_party/mojo_services/src/view_manager/public/interfaces",
  ]

  if (!is_component_build) {
    deps += [
      "//mojo/services/clipboard",
      "//mojo/services/html_viewer",
      "//mojo/services/kiosk_wm:window_manager",
      "//mojo/services/native_viewport",
      "//mojo/services/network",
      "//mojo/services/surfaces",
      "//mojo/services/tracing",
      "//mojo/services/view_manager",
    ]

    # TODO(GYP): Make this work.
    if (is_mac) {
      deps -= [
        "//mojo/services/html_viewer",
        "//mojo/services/kiosk_wm:window_manager",
        "//mojo/services/native_viewport",
        "//mojo/services/view_manager",
      ]
    }
  }
}