| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 "bitmap.mojom", | 9 "bitmap.mojom", |
| 10 "image_filter.mojom", | 10 "image_filter.mojom", |
| 11 ] | 11 ] |
| 12 } | 12 } |
| 13 | 13 |
| 14 mojom("mojo") { | |
| 15 sources = [ | |
| 16 "bitmap_array.mojom", | |
| 17 ] | |
| 18 public_deps = [ | |
| 19 ":interfaces", | |
| 20 ] | |
| 21 } | |
| 22 | |
| 23 mojom("test_interfaces") { | 14 mojom("test_interfaces") { |
| 24 testonly = true | 15 testonly = true |
| 25 sources = [ | 16 sources = [ |
| 26 "test/traits_test_service.mojom", | 17 "test/traits_test_service.mojom", |
| 27 ] | 18 ] |
| 28 | 19 |
| 29 public_deps = [ | 20 public_deps = [ |
| 30 ":interfaces", | 21 ":interfaces", |
| 31 ":mojo", | |
| 32 ] | 22 ] |
| 33 } | 23 } |
| 34 | 24 |
| 35 source_set("struct_traits") { | 25 source_set("struct_traits") { |
| 36 sources = [ | 26 sources = [ |
| 37 "image_filter_struct_traits.cc", | 27 "image_filter_struct_traits.cc", |
| 38 "image_filter_struct_traits.h", | 28 "image_filter_struct_traits.h", |
| 39 ] | 29 ] |
| 40 public_deps = [ | 30 public_deps = [ |
| 41 ":interfaces_shared_cpp_sources", | 31 ":interfaces_shared_cpp_sources", |
| 42 "//skia", | 32 "//skia", |
| 43 ] | 33 ] |
| 44 } | 34 } |
| OLD | NEW |