summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/mojo/BUILD.gn
blob: 9722968cbd9e37e1fe67e9b6ee71ad71e7cb871e (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
# Copyright 2016 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("mojo") {
  sources = [
    "accelerated_widget.mojom",
    "buffer_types.mojom",
    "color_space.mojom",
    "icc_profile.mojom",
    "overlay_transform.mojom",
    "selection_bound.mojom",
    "transform.mojom",
  ]

  public_deps = [
    "//ui/gfx/geometry/mojo",
  ]
}

mojom("test_interfaces") {
  sources = [
    "traits_test_service.mojom",
  ]

  public_deps = [
    ":mojo",
  ]
}

source_set("struct_traits") {
  sources = [
    "selection_bound_struct_traits.h",
    "transform_struct_traits.h",
  ]
  public_deps = [
    ":mojo_shared_cpp_sources",
    "//mojo/public/cpp/bindings",
    "//ui/gfx",
  ]
}