| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 mojom("interfaces") { | 7 mojom("interfaces") { |
| 8 sources = [ | 8 sources = [ |
| 9 "event.mojom", | 9 "event.mojom", |
| 10 "event_constants.mojom", | 10 "event_constants.mojom", |
| 11 "keyboard_codes.mojom", | 11 "keyboard_codes.mojom", |
| 12 "latency_info.mojom", | 12 "latency_info.mojom", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 public_deps = [ | 15 public_deps = [ |
| 16 "//mojo/common:common_custom_types", | 16 "//mojo/common:common_custom_types", |
| 17 "//ui/gfx/geometry/mojo", | 17 "//ui/gfx/geometry/mojo", |
| 18 "//ui/gfx/mojo", |
| 18 ] | 19 ] |
| 19 } | 20 } |
| 20 | 21 |
| 21 mojom("test_interfaces") { | 22 mojom("test_interfaces") { |
| 22 testonly = true | 23 testonly = true |
| 23 sources = [ | 24 sources = [ |
| 24 "traits_test_service.mojom", | 25 "traits_test_service.mojom", |
| 25 ] | 26 ] |
| 26 | 27 |
| 27 public_deps = [ | 28 public_deps = [ |
| 28 ":interfaces", | 29 ":interfaces", |
| 29 ] | 30 ] |
| 30 } | 31 } |
| 31 | 32 |
| 32 source_set("struct_traits") { | 33 source_set("struct_traits") { |
| 33 sources = [ | 34 sources = [ |
| 34 "latency_info_struct_traits.cc", | 35 "latency_info_struct_traits.cc", |
| 35 "latency_info_struct_traits.h", | 36 "latency_info_struct_traits.h", |
| 36 ] | 37 ] |
| 37 deps = [ | 38 deps = [ |
| 38 ":interfaces_shared_cpp_sources", | 39 ":interfaces_shared_cpp_sources", |
| 39 "//mojo/common", | 40 "//mojo/common", |
| 40 "//mojo/public/cpp/bindings", | 41 "//mojo/public/cpp/bindings", |
| 41 "//ui/events:events_base", | 42 "//ui/events:events_base", |
| 42 "//ui/gfx/geometry/mojo:struct_traits", | 43 "//ui/gfx/geometry/mojo:struct_traits", |
| 43 ] | 44 ] |
| 44 } | 45 } |
| OLD | NEW |