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 # This target does NOT depend on skia. One can depend on this target to avoid | 7 # This target does NOT depend on skia. One can depend on this target to avoid |
8 # picking up a dependency on skia. | 8 # picking up a dependency on skia. |
9 mojom("mojo") { | 9 mojom("mojo") { |
10 sources = [ | 10 sources = [ |
11 "geometry.mojom", | 11 "geometry.mojom", |
12 ] | 12 ] |
13 } | 13 } |
| 14 |
| 15 mojom("test_interfaces") { |
| 16 sources = [ |
| 17 "geometry_traits_test_service.mojom", |
| 18 ] |
| 19 |
| 20 public_deps = [ |
| 21 ":mojo", |
| 22 ] |
| 23 } |
| 24 |
| 25 source_set("unit_test") { |
| 26 testonly = true |
| 27 |
| 28 sources = [ |
| 29 "geometry_struct_traits_unittest.cc", |
| 30 ] |
| 31 |
| 32 deps = [ |
| 33 ":test_interfaces", |
| 34 "//base", |
| 35 "//mojo/public/cpp/bindings", |
| 36 "//testing/gtest", |
| 37 "//ui/gfx/geometry", |
| 38 ] |
| 39 } |
OLD | NEW |