summaryrefslogtreecommitdiff
path: root/chromium/ui/base/accelerators/mojo/BUILD.gn
blob: 4e028283fc799f1282abca2ca8cf58d9f21e5f8a (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
# Copyright 2017 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("//mojo/public/tools/bindings/mojom.gni")

mojom("interfaces") {
  sources = [
    "accelerator.mojom",
  ]
  public_deps = [
    "//mojo/public/mojom/base",
    "//ui/events/mojo:interfaces",
  ]
}

source_set("struct_traits") {
  sources = [
    "accelerator_struct_traits.h",
  ]
  public_deps = [
    ":interfaces",
    "//mojo/public/mojom/base",
    "//ui/base",
    "//ui/events",
  ]
}

source_set("unittests") {
  testonly = true
  sources = [
    "accelerator_struct_traits_unittest.cc",
  ]
  deps = [
    ":interfaces",
    ":struct_traits",
    "//testing/gtest",
    "//ui/base",
    "//ui/events",
  ]
}