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