| 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 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 mojom("mojo") { | 7 mojom("mojo") { |
| 8 sources = [ | 8 sources = [ |
| 9 "accelerated_widget.mojom", | 9 "accelerated_widget.mojom", |
| 10 "buffer_types.mojom", | 10 "buffer_types.mojom", |
| 11 "selection_bound.mojom", | 11 "selection_bound.mojom", |
| 12 "transform.mojom", | 12 "transform.mojom", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 public_deps = [ | 15 public_deps = [ |
| 16 "//ui/gfx/geometry/mojo", | 16 "//ui/gfx/geometry/mojo", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 mojom("test_interfaces") { | 20 mojom("test_interfaces") { |
| 21 sources = [ | 21 sources = [ |
| 22 "traits_test_service.mojom", | 22 "traits_test_service.mojom", |
| 23 ] | 23 ] |
| 24 | 24 |
| 25 public_deps = [ | 25 public_deps = [ |
| 26 ":mojo", | 26 ":mojo", |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 |
| 30 group("struct_traits") { |
| 31 public_deps = [ |
| 32 ":struct_traits_sources", |
| 33 ] |
| 34 } |
| 35 |
| 36 source_set("struct_traits_sources") { |
| 37 sources = [ |
| 38 "selection_bound_struct_traits.h", |
| 39 "transform_struct_traits.h", |
| 40 ] |
| 41 public_deps = [ |
| 42 ":mojo_shared_cpp_sources", |
| 43 "//mojo/public/cpp/bindings", |
| 44 "//ui/gfx", |
| 45 ] |
| 46 } |
| OLD | NEW |