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 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager | 9 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager |
10 shared_library("window_manager") { | 10 shared_library("window_manager") { |
(...skipping 20 matching lines...) Expand all Loading... |
31 deps = [ | 31 deps = [ |
32 "//base", | 32 "//base", |
33 "//mojo/application", | 33 "//mojo/application", |
34 "//mojo/aura", | 34 "//mojo/aura", |
35 "//mojo/common", | 35 "//mojo/common", |
36 "//mojo/environment:chromium", | 36 "//mojo/environment:chromium", |
37 "//mojo/services/public/cpp/input_events", | 37 "//mojo/services/public/cpp/input_events", |
38 "//mojo/services/public/cpp/view_manager", | 38 "//mojo/services/public/cpp/view_manager", |
39 "//mojo/services/public/interfaces/window_manager", | 39 "//mojo/services/public/interfaces/window_manager", |
40 "//ui/base", | 40 "//ui/base", |
| 41 "//ui/events", |
41 "//ui/gfx", | 42 "//ui/gfx", |
42 "//ui/gfx/geometry", | 43 "//ui/gfx/geometry", |
43 "//ui/wm", | 44 "//ui/wm", |
44 ] | 45 ] |
45 | 46 |
46 forward_dependent_configs_from = [ "//mojo/aura" ] | 47 forward_dependent_configs_from = [ "//mojo/aura" ] |
47 } | 48 } |
48 | 49 |
49 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_unittests | 50 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_unittests |
50 test("mojo_core_window_manager_unittests") { | 51 test("mojo_core_window_manager_unittests") { |
51 sources = [ | 52 sources = [ |
52 "window_manager_api_unittest.cc", | 53 "window_manager_api_unittest.cc", |
53 "window_manager_unittests.cc", | 54 "window_manager_unittests.cc", |
54 ] | 55 ] |
55 | 56 |
56 deps = [ | 57 deps = [ |
57 "//base/test:test_support", | 58 "//base/test:test_support", |
58 "//mojo/application_manager", | 59 "//mojo/application_manager", |
59 "//mojo/environment:chromium", | 60 "//mojo/environment:chromium", |
60 "//mojo/services/public/cpp/view_manager", | 61 "//mojo/services/public/cpp/view_manager", |
61 "//mojo/services/public/interfaces/view_manager", | 62 "//mojo/services/public/interfaces/view_manager", |
62 "//mojo/services/public/interfaces/window_manager", | 63 "//mojo/services/public/interfaces/window_manager", |
63 "//mojo/shell:test_support", | 64 "//mojo/shell:test_support", |
64 "//mojo/system", | 65 "//mojo/system", |
65 "//testing/gtest", | 66 "//testing/gtest", |
66 "//ui/gl", | 67 "//ui/gl", |
67 ] | 68 ] |
68 if (is_linux) { | |
69 deps += [ | |
70 "//third_party/mesa:osmesa", | |
71 "//mojo/services/native_viewport", | |
72 ] | |
73 } | |
74 if (use_x11) { | 69 if (use_x11) { |
75 deps += [ "//ui/gfx/x" ] | 70 deps += [ "//ui/gfx/x" ] |
76 } | 71 } |
77 } | 72 } |
78 | 73 |
79 } # use_aura | 74 } # use_aura |
OLD | NEW |