OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
| 7 mojom("interfaces") { |
| 8 sources = [ |
| 9 "image_skia.mojom", |
| 10 ] |
| 11 |
| 12 public_deps = [ |
| 13 "//skia/public/interfaces", |
| 14 ] |
| 15 } |
| 16 |
| 17 source_set("struct_traits") { |
| 18 sources = [ |
| 19 "image_skia_struct_traits.cc", |
| 20 "image_skia_struct_traits.h", |
| 21 ] |
| 22 |
| 23 public_deps = [ |
| 24 ":interfaces_shared_cpp_sources", |
| 25 "//skia/public/interfaces", |
| 26 "//ui/gfx", |
| 27 ] |
| 28 } |
| 29 |
| 30 mojom("test_interfaces") { |
| 31 sources = [ |
| 32 "image_traits_test_service.mojom", |
| 33 ] |
| 34 |
| 35 public_deps = [ |
| 36 ":interfaces", |
| 37 ] |
| 38 } |
| 39 |
| 40 source_set("unit_test") { |
| 41 testonly = true |
| 42 |
| 43 sources = [ |
| 44 "image_traits_unittest.cc", |
| 45 ] |
| 46 |
| 47 deps = [ |
| 48 ":struct_traits", |
| 49 ":test_interfaces", |
| 50 "//base", |
| 51 "//mojo/public/cpp/bindings", |
| 52 "//testing/gtest", |
| 53 ] |
| 54 } |
OLD | NEW |