OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 component("mojo") { | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
| 7 component("type_converter") { |
6 output_name = "mojo_display_lib" | 8 output_name = "mojo_display_lib" |
7 | 9 |
8 public_deps = [ | 10 public_deps = [ |
9 "//services/ui/public/interfaces", | 11 "//services/ui/public/interfaces", |
10 "//ui/display", | 12 "//ui/display", |
11 ] | 13 ] |
12 | 14 |
13 defines = [ "MOJO_DISPLAY_IMPLEMENTATION" ] | 15 defines = [ "MOJO_DISPLAY_IMPLEMENTATION" ] |
14 | 16 |
15 sources = [ | 17 sources = [ |
16 "display_type_converters.cc", | 18 "display_type_converters.cc", |
17 "display_type_converters.h", | 19 "display_type_converters.h", |
18 "mojo_display_export.h", | 20 "mojo_display_export.h", |
19 ] | 21 ] |
20 } | 22 } |
| 23 |
| 24 mojom("mojo") { |
| 25 sources = [ |
| 26 "display.mojom", |
| 27 ] |
| 28 |
| 29 public_deps = [ |
| 30 "//ui/gfx/geometry/mojo", |
| 31 ] |
| 32 } |
| 33 |
| 34 mojom("test_interfaces") { |
| 35 sources = [ |
| 36 "display_struct_traits_test.mojom", |
| 37 ] |
| 38 |
| 39 public_deps = [ |
| 40 ":mojo", |
| 41 ] |
| 42 } |
OLD | NEW |