summaryrefslogtreecommitdiff
path: root/chromium/services/ui/common/BUILD.gn
blob: 803f8595afcbcfffec94d0c3c3386c27850a488f (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# 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")
import("//services/service_manager/public/service_manifest.gni")
import("//testing/test.gni")

source_set("mus_common") {
  sources = [
    "accelerator_util.cc",
    "accelerator_util.h",
    "switches.cc",
    "switches.h",
    "transient_window_utils.h",
    "types.h",
    "util.h",
  ]

  deps = [
    "//gpu/command_buffer/client",
    "//gpu/config",
    "//gpu/ipc/client",
    "//gpu/ipc/common:command_buffer_traits",
    "//ipc:ipc",
    "//services/service_manager/public/cpp",
    "//ui/events:events",
    "//ui/gfx/ipc/geometry",
  ]

  public_deps = [
    "//mojo/public/cpp/bindings",
    "//mojo/public/cpp/system",
    "//services/ui/public/interfaces",
    "//ui/base",
  ]
}

# GPU related code used by the server-side components (e.g. window server
# process, frame sink manager in the gpu process).
source_set("server_gpu") {
  sources = [
    "server_gpu_memory_buffer_manager.cc",
    "server_gpu_memory_buffer_manager.h",
  ]

  deps = [
    "//gpu/ipc/client",
  ]

  public_deps = [
    "//gpu/command_buffer/client",
    "//gpu/ipc/common",
    "//gpu/ipc/host",
    "//services/ui/gpu/interfaces",
    "//ui/gfx",
  ]
}

source_set("run_all_service_tests") {
  testonly = true

  sources = [
    "run_all_service_tests.cc",
  ]

  deps = [
    "//base/test:test_support",
    "//mojo/edk/system",
  ]

  if (use_ozone) {
    deps += [ "//ui/ozone" ]
  }
}

source_set("task_runner_test_base") {
  testonly = true

  sources = [
    "task_runner_test_base.cc",
    "task_runner_test_base.h",
  ]

  deps = [
    "//base",
    "//base/test:test_support",
    "//testing/gtest",
  ]
}