Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Unified Diff: ui/ozone/common/mojo/BUILD.gn

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: undo deletion of includes in ui/ozone/common/BUILD.gn Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698