OLD | NEW |
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 | 6 |
7 if (use_aura) { | 7 if (use_aura) { |
8 | 8 |
9 import("//mojo/system.gni") | 9 import("//mojo/system.gni") |
10 | 10 |
11 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager | 11 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager |
12 shared_library("window_manager") { | 12 shared_library("window_manager") { |
13 output_name = "mojo_core_window_manager" | 13 output_name = "mojo_core_window_manager" |
14 | 14 |
15 sources = [ "main.cc" ] | 15 sources = [ "main.cc" ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 ":lib", | 18 ":lib", |
19 "//mojo/public/cpp/application:chromium", | 19 "//mojo/application", |
20 ] + mojo_system_for_shared_library | 20 ] + mojo_system_for_shared_library |
21 } | 21 } |
22 | 22 |
23 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_lib | 23 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_lib |
24 source_set("lib") { | 24 source_set("lib") { |
25 sources = [ | 25 sources = [ |
26 "window_manager_app.cc", | 26 "window_manager_app.cc", |
27 "window_manager_app.h", | 27 "window_manager_app.h", |
28 "window_manager_service_impl.cc", | 28 "window_manager_service_impl.cc", |
29 "window_manager_service_impl.h", | 29 "window_manager_service_impl.h", |
30 ] | 30 ] |
31 | 31 |
32 deps = [ | 32 deps = [ |
33 "//base", | 33 "//base", |
| 34 "//mojo/application", |
34 "//mojo/aura", | 35 "//mojo/aura", |
35 "//mojo/common", | 36 "//mojo/common", |
36 "//mojo/environment:chromium", | 37 "//mojo/environment:chromium", |
37 "//mojo/public/cpp/application:chromium", | |
38 "//mojo/services/public/cpp/input_events", | 38 "//mojo/services/public/cpp/input_events", |
39 "//mojo/services/public/cpp/view_manager", | 39 "//mojo/services/public/cpp/view_manager", |
40 "//mojo/services/public/interfaces/window_manager", | 40 "//mojo/services/public/interfaces/window_manager", |
41 "//ui/base", | 41 "//ui/base", |
42 "//ui/gfx", | 42 "//ui/gfx", |
43 "//ui/gfx/geometry", | 43 "//ui/gfx/geometry", |
44 "//ui/wm", | 44 "//ui/wm", |
45 ] | 45 ] |
46 | 46 |
47 forward_dependent_configs_from = [ "//mojo/aura" ] | 47 forward_dependent_configs_from = [ "//mojo/aura" ] |
(...skipping 23 matching lines...) Expand all Loading... |
71 "//third_party/mesa:osmesa", | 71 "//third_party/mesa:osmesa", |
72 "//mojo/services/native_viewport", | 72 "//mojo/services/native_viewport", |
73 ] | 73 ] |
74 } | 74 } |
75 if (use_x11) { | 75 if (use_x11) { |
76 deps += [ "//ui/gfx/x" ] | 76 deps += [ "//ui/gfx/x" ] |
77 } | 77 } |
78 } | 78 } |
79 | 79 |
80 } # use_aura | 80 } # use_aura |
OLD | NEW |