| 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 ] | 18 ] |
| 19 | |
| 20 use_new_wrapper_types = false | |
| 21 } | 19 } |
| 22 | 20 |
| 23 mojom("test_interfaces") { | 21 mojom("test_interfaces") { |
| 24 testonly = true | 22 testonly = true |
| 25 sources = [ | 23 sources = [ |
| 26 "traits_test_service.mojom", | 24 "traits_test_service.mojom", |
| 27 ] | 25 ] |
| 28 | 26 |
| 29 public_deps = [ | 27 public_deps = [ |
| 30 ":interfaces", | 28 ":interfaces", |
| 31 ] | 29 ] |
| 32 | |
| 33 use_new_wrapper_types = false | |
| 34 } | 30 } |
| 35 | 31 |
| 36 source_set("struct_traits") { | 32 source_set("struct_traits") { |
| 37 sources = [ | 33 sources = [ |
| 38 "latency_info_struct_traits.cc", | 34 "latency_info_struct_traits.cc", |
| 39 "latency_info_struct_traits.h", | 35 "latency_info_struct_traits.h", |
| 40 ] | 36 ] |
| 41 deps = [ | 37 deps = [ |
| 42 ":interfaces_shared_cpp_sources", | 38 ":interfaces_shared_cpp_sources", |
| 43 "//mojo/common", | 39 "//mojo/common", |
| 44 "//mojo/public/cpp/bindings", | 40 "//mojo/public/cpp/bindings", |
| 45 "//ui/events:events_base", | 41 "//ui/events:events_base", |
| 46 "//ui/gfx/geometry/mojo:struct_traits", | 42 "//ui/gfx/geometry/mojo:struct_traits", |
| 47 ] | 43 ] |
| 48 } | 44 } |
| OLD | NEW |