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

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

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: 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..fd52cb58b553b97d6f4f7da89be938673c6d392a
--- /dev/null
+++ b/ui/ozone/common/mojo/BUILD.gn
@@ -0,0 +1,46 @@
+# Copyright 2016 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")
+
+mojom("ui_ozone_common_mojom_display_mode_params") {
+ sources = [
+ "display_mode_params.mojom",
+ ]
+
+ public_deps = [
+ "//ui/gfx/geometry/mojo",
+ ]
+}
+
+mojom("test_ui_ozone_common_mojom_display_mode_params") {
+ sources = [
+ "display_mode_params_test.mojom",
+ ]
+
+ public_deps = [
+ ":ui_ozone_common_mojom_display_mode_params",
+ ]
+}
+
+source_set("unit_test") {
kylechar 2017/01/16 23:08:24 This target shouldn't exist. You added the test oz
thanhph1 2017/01/17 16:47:59 Removed!
+ testonly = true
+
+ sources = [
+ "display_mode_params_struct_traits_unittest.cc",
+ ]
+
+ deps = [
+ ":test_ui_ozone_common_mojom_display_mode_params",
+ "//base",
+ "//mojo/public/cpp/bindings",
+ "//testing/gtest",
+ ]
+}
+
+source_set("struct_traits") {
kylechar 2017/01/16 23:08:24 This target shouldn't exist.
thanhph1 2017/01/17 16:47:59 Removed!
+ sources = [
+ "display_mode_params_struct_traits.h",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698