Index: ui/gfx/geometry/mojo/BUILD.gn |
diff --git a/ui/gfx/geometry/mojo/BUILD.gn b/ui/gfx/geometry/mojo/BUILD.gn |
index 5764ddb98e40caa37d3aa617c357a0ea001170ca..444311ef9dcdd0421b679a9545459ee6f5c6afcd 100644 |
--- a/ui/gfx/geometry/mojo/BUILD.gn |
+++ b/ui/gfx/geometry/mojo/BUILD.gn |
@@ -11,3 +11,29 @@ mojom("mojo") { |
"geometry.mojom", |
] |
} |
+ |
+mojom("test_interfaces") { |
+ sources = [ |
+ "geometry_traits_test_service.mojom", |
+ ] |
+ |
+ public_deps = [ |
+ ":mojo", |
+ ] |
+} |
+ |
+source_set("unit_test") { |
+ testonly = true |
+ |
+ sources = [ |
+ "geometry_struct_traits_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":test_interfaces", |
+ "//base", |
+ "//mojo/public/cpp/bindings", |
+ "//testing/gtest", |
+ "//ui/gfx/geometry", |
+ ] |
+} |