Index: ui/ozone/common/mojo/BUILD.gn |
diff --git a/ui/ozone/common/mojo/BUILD.gn b/ui/ozone/common/mojo/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..45c1ab434d29b04964c6071961b8fa1879af4d59 |
--- /dev/null |
+++ b/ui/ozone/common/mojo/BUILD.gn |
@@ -0,0 +1,45 @@ |
+# Copyright 2017 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//mojo/public/tools/bindings/mojom.gni") |
+import("//testing/test.gni") |
+ |
+mojom("interfaces") { |
+ sources = [ |
+ "display_mode_params.mojom", |
+ ] |
+ |
+ public_deps = [ |
+ "//ui/gfx/geometry/mojo", |
+ ] |
+} |
+ |
+mojom("test_interfaces") { |
+ sources = [ |
+ "ozone_gpu_message_params_test.mojom", |
kylechar
2017/01/17 21:39:46
ozone_gpu_struct_traits_test.mojo, also change the
thanhph1
2017/01/17 22:30:30
Done.
|
+ ] |
+ |
+ public_deps = [ |
+ ":interfaces", |
+ ] |
+} |
+ |
+test("ozone_struct_traits_unittests") { |
kylechar
2017/01/17 21:39:46
ozone_gpu_struct_traits_unittests, also change the
thanhph1
2017/01/17 22:30:30
Done.
|
+ testonly = true |
+ |
+ sources = [ |
+ "//ui/ozone/common/mojo/ozone_gpu_messages_params_struct_traits_unittest.cc", |
kylechar
2017/01/17 21:39:46
ozone_gpu_struct_traits_unittest.cc
thanhph1
2017/01/17 22:30:30
Done.
|
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//base/test:test_support", |
+ "//mojo/edk/test:run_all_unittests", |
+ "//testing/gtest", |
+ "//ui/gfx:test_support", |
+ "//ui/ozone/common:common", |
+ "//ui/ozone/common/mojo:interfaces", |
+ "//ui/ozone/common/mojo:test_interfaces", |
+ ] |
+} |