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

Side by Side Diff: mojo/services/window_manager/BUILD.gn

Issue 1082513002: Revert of Simplify mojo_shell since it's now only used for Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//third_party/mojo/src/mojo/public/mojo_application.gni") 6 import("//third_party/mojo/src/mojo/public/mojo_application.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 mojo_native_application("window_manager") {
10 sources = [
11 "main.cc",
12 ]
13
14 public_deps = [
15 ":lib",
16 ]
17
18 deps = [
19 "//base",
20 "//mojo/application",
21 "//mojo/common:tracing_impl",
22 "//third_party/mojo_services/src/view_manager/public/cpp",
23 ]
24 }
25
9 source_set("lib") { 26 source_set("lib") {
10 sources = [ 27 sources = [
11 "basic_focus_rules.cc", 28 "basic_focus_rules.cc",
12 "basic_focus_rules.h", 29 "basic_focus_rules.h",
13 "capture_controller.cc", 30 "capture_controller.cc",
14 "capture_controller.h", 31 "capture_controller.h",
15 "capture_controller_observer.h", 32 "capture_controller_observer.h",
16 "focus_controller.cc", 33 "focus_controller.cc",
17 "focus_controller.h", 34 "focus_controller.h",
18 "focus_controller_observer.h", 35 "focus_controller_observer.h",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "//ui/gfx", 101 "//ui/gfx",
85 "//ui/gfx:test_support", 102 "//ui/gfx:test_support",
86 "//ui/gl", 103 "//ui/gl",
87 ] 104 ]
88 105
89 if (use_x11) { 106 if (use_x11) {
90 deps += [ "//ui/gfx/x" ] 107 deps += [ "//ui/gfx/x" ]
91 } 108 }
92 } 109 }
93 110
94 # A basic window manager with a default delegate used for testing.
95 mojo_native_application("test_window_manager") {
96 sources = [
97 "main.cc",
98 ]
99
100 public_deps = [
101 ":lib",
102 ]
103
104 deps = [
105 "//base",
106 "//mojo/application",
107 "//mojo/common:tracing_impl",
108 "//third_party/mojo_services/src/view_manager/public/cpp",
109 ]
110 }
111
112 mojo_native_application("window_manager_apptests") { 111 mojo_native_application("window_manager_apptests") {
113 testonly = true 112 testonly = true
114 113
115 sources = [ 114 sources = [
116 "window_manager_apptest.cc", 115 "window_manager_apptest.cc",
117 ] 116 ]
118 117
119 deps = [ 118 deps = [
120 "//base", 119 "//base",
121 "//mojo/application", 120 "//mojo/application",
122 "//mojo/application:test_support", 121 "//mojo/application:test_support",
123 "//mojo/environment:chromium", 122 "//mojo/environment:chromium",
124 "//third_party/mojo/src/mojo/public/cpp/system:system", 123 "//third_party/mojo/src/mojo/public/cpp/system:system",
125 "//third_party/mojo_services/src/view_manager/public/cpp", 124 "//third_party/mojo_services/src/view_manager/public/cpp",
126 "//third_party/mojo_services/src/window_manager/public/interfaces", 125 "//third_party/mojo_services/src/window_manager/public/interfaces",
127 ] 126 ]
128 127
129 data_deps = [ ":test_window_manager($default_toolchain)" ] 128 data_deps = [ ":window_manager($default_toolchain)" ]
130 } 129 }
OLDNEW
« no previous file with comments | « mojo/services/kiosk_wm/kiosk_wm.cc ('k') | mojo/services/window_manager/window_manager_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698