summaryrefslogtreecommitdiffstats
path: root/components/mus/common/BUILD.gn
blob: 6f765c1e7c599405c280450db5fc7fa201e3bec9 (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
# 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("//testing/test.gni")

component("mus_common") {
  sources = [
    "args.cc",
    "args.h",
    "event_param_traits.cc",
    "event_param_traits.h",
    "event_param_traits_macros.h",
    "mus_common_export.h",
    "transient_window_utils.h",
    "types.h",
    "util.h",
    "window_tracker.h",
  ]

  defines = [ "MUS_IPC_IMPLEMENTATION" ]

  deps = [
    "//components/mus/public/interfaces",
    "//ipc:ipc",
    "//mojo/public/c/system:for_component",
    "//ui/events:events",
    "//ui/gfx/ipc",
  ]
}

test("mus_common_unittests") {
  sources = [
    "event_param_traits_unittest.cc",
  ]
  public_deps = [
    ":mus_common",
  ]
  deps = [
    "//base",
    "//base/test:run_all_unittests",
    "//base/test:test_config",
    "//ipc:ipc",
    "//mojo/edk/test:test_support",
    "//testing/gtest",
    "//ui/events:events",
    "//ui/gfx:test_support",
    "//ui/gfx/ipc",
  ]
}