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

Unified Diff: ui/ozone/BUILD.gn

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: convert mojo type to ui::DisplayMode_Params instead. 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/BUILD.gn
diff --git a/ui/ozone/BUILD.gn b/ui/ozone/BUILD.gn
index b5746becf558ba6342010efb6ecd64e0d2c904dd..cff79925d7873e84a542a0fc12992e6f5e603f17 100644
--- a/ui/ozone/BUILD.gn
+++ b/ui/ozone/BUILD.gn
@@ -230,3 +230,22 @@ test("ozone_unittests") {
# 2nd copy of any code via the component.
assert_no_deps = [ "//ui/ozone" ]
}
+
+test("ozone_struct_traits_unittests") {
kylechar 2017/01/17 17:19:26 The test target should probably be in ui/ozone/com
thanhph1 2017/01/17 20:19:05 Done. I moved this test in ui/ozone/common/mojo/BU
+ testonly = true
+
+ sources = [
+ "//ui/ozone/common/mojo/display_mode_proxy_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:test_ui_ozone_common_mojom_display_mode_proxy",
+ "//ui/ozone/common/mojo:ui_ozone_common_mojom_display_mode_proxy",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698