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

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

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: fix comment 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..42a84e669f06afc4f893c5f9c20136d00ecbc867
--- /dev/null
+++ b/ui/ozone/common/mojo/BUILD.gn
@@ -0,0 +1,45 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
rjkroege 2017/01/20 18:56:13 Why is this not in ui/ozone/public/interfaces? Or
+# 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_struct_traits_test.mojom",
+ ]
+
+ public_deps = [
+ ":interfaces",
+ ]
+}
+
+test("ozone_gpu_struct_traits_unittests") {
+ testonly = true
+
+ sources = [
+ "//ui/ozone/common/mojo/ozone_gpu_struct_traits_unittest.cc",
+ ]
+
+ 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",
+ ]
+}
« no previous file with comments | « ui/ozone/common/BUILD.gn ('k') | ui/ozone/common/mojo/DEPS » ('j') | ui/ozone/common/mojo/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698