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 |
| 14 use_new_wrapper_types = false |
13 } | 15 } |
14 | 16 |
15 mojom("test_interfaces") { | 17 mojom("test_interfaces") { |
16 sources = [ | 18 sources = [ |
17 "geometry_traits_test_service.mojom", | 19 "geometry_traits_test_service.mojom", |
18 ] | 20 ] |
19 | 21 |
20 public_deps = [ | 22 public_deps = [ |
21 ":mojo", | 23 ":mojo", |
22 ] | 24 ] |
| 25 |
| 26 use_new_wrapper_types = false |
23 } | 27 } |
24 | 28 |
25 source_set("unit_test") { | 29 source_set("unit_test") { |
26 testonly = true | 30 testonly = true |
27 | 31 |
28 sources = [ | 32 sources = [ |
29 "geometry_struct_traits_unittest.cc", | 33 "geometry_struct_traits_unittest.cc", |
30 ] | 34 ] |
31 | 35 |
32 deps = [ | 36 deps = [ |
33 ":test_interfaces", | 37 ":test_interfaces", |
34 "//base", | 38 "//base", |
35 "//mojo/public/cpp/bindings", | 39 "//mojo/public/cpp/bindings", |
36 "//testing/gtest", | 40 "//testing/gtest", |
37 "//ui/gfx/geometry", | 41 "//ui/gfx/geometry", |
38 ] | 42 ] |
39 } | 43 } |
OLD | NEW |