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

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

Issue 1057603003: Simplify mojo_shell since it's now only used for Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update scripts 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
26 source_set("lib") { 9 source_set("lib") {
27 sources = [ 10 sources = [
28 "basic_focus_rules.cc", 11 "basic_focus_rules.cc",
29 "basic_focus_rules.h", 12 "basic_focus_rules.h",
30 "capture_controller.cc", 13 "capture_controller.cc",
31 "capture_controller.h", 14 "capture_controller.h",
32 "capture_controller_observer.h", 15 "capture_controller_observer.h",
33 "focus_controller.cc", 16 "focus_controller.cc",
34 "focus_controller.h", 17 "focus_controller.h",
35 "focus_controller_observer.h", 18 "focus_controller_observer.h",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 "//ui/gfx", 84 "//ui/gfx",
102 "//ui/gfx:test_support", 85 "//ui/gfx:test_support",
103 "//ui/gl", 86 "//ui/gl",
104 ] 87 ]
105 88
106 if (use_x11) { 89 if (use_x11) {
107 deps += [ "//ui/gfx/x" ] 90 deps += [ "//ui/gfx/x" ]
108 } 91 }
109 } 92 }
110 93
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
111 mojo_native_application("window_manager_apptests") { 112 mojo_native_application("window_manager_apptests") {
112 testonly = true 113 testonly = true
113 114
114 sources = [ 115 sources = [
115 "window_manager_apptest.cc", 116 "window_manager_apptest.cc",
116 ] 117 ]
117 118
118 deps = [ 119 deps = [
119 "//base", 120 "//base",
120 "//mojo/application", 121 "//mojo/application",
121 "//mojo/application:test_support", 122 "//mojo/application:test_support",
122 "//mojo/environment:chromium", 123 "//mojo/environment:chromium",
123 "//third_party/mojo/src/mojo/public/cpp/system:system", 124 "//third_party/mojo/src/mojo/public/cpp/system:system",
124 "//third_party/mojo_services/src/view_manager/public/cpp", 125 "//third_party/mojo_services/src/view_manager/public/cpp",
125 "//third_party/mojo_services/src/window_manager/public/interfaces", 126 "//third_party/mojo_services/src/window_manager/public/interfaces",
126 ] 127 ]
127 128
128 data_deps = [ ":window_manager($default_toolchain)" ] 129 data_deps = [ ":test_window_manager($default_toolchain)" ]
129 } 130 }
OLDNEW
« no previous file with comments | « mojo/services/view_manager/view_manager_service_apptest.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