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

Unified Diff: components/mus/example/wm/BUILD.gn

Issue 1416453005: Adds window resizing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « components/mus/example/BUILD.gn ('k') | components/mus/example/wm/move_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/example/wm/BUILD.gn
diff --git a/components/mus/example/wm/BUILD.gn b/components/mus/example/wm/BUILD.gn
index 8a7269044312b88e273e9d72fd7cec533857c919..81dc305b2de5762af5ac68ab51783ee8f4876a1c 100644
--- a/components/mus/example/wm/BUILD.gn
+++ b/components/mus/example/wm/BUILD.gn
@@ -14,13 +14,12 @@ group("wm") {
]
}
-mojo_native_application("example_wm") {
+source_set("example_wm_lib") {
sources = [
"background_layout.cc",
"background_layout.h",
"layout_manager.cc",
"layout_manager.h",
- "main.cc",
"move_loop.cc",
"move_loop.h",
"property_util.cc",
@@ -44,6 +43,17 @@ mojo_native_application("example_wm") {
"//mojo/common:common_base",
"//mojo/converters/geometry",
]
+}
+
+mojo_native_application("example_wm") {
+ sources = [
+ "main.cc",
+ ]
+
+ deps = [
+ ":example_wm_lib",
+ "//mojo/application/public/cpp",
+ ]
data_deps = [
"//components/mus",
@@ -76,3 +86,29 @@ mojo_native_application("apptests") {
":example_wm",
]
}
+
+source_set("unittests") {
+ testonly = true
+
+ sources = [
+ "move_loop_unittest.cc",
+ ]
+
+ deps = [
+ ":example_wm_lib",
+ "//base",
+ "//base/test:test_config",
+ "//components/mus/public/cpp",
+ "//components/mus/public/cpp/tests:unittest_support",
+ "//mojo/converters/geometry",
+ "//mojo/converters/input_events",
+ "//testing/gtest",
+ "//third_party/mojo/src/mojo/public/cpp/system",
+ "//third_party/mojo/src/mojo/edk/system",
+ "//ui/events",
+ "//ui/gfx/geometry",
+ "//ui/gfx:test_support",
+ "//ui/mojo/geometry:interfaces",
+ "//ui/mojo/geometry:util",
+ ]
+}
« no previous file with comments | « components/mus/example/BUILD.gn ('k') | components/mus/example/wm/move_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698