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 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager | 7 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager |
8 shared_library("window_manager") { | 8 shared_library("window_manager") { |
9 sources = [ "main.cc" ] | 9 sources = [ "main.cc" ] |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 "//mojo/services/public/cpp/view_manager", | 55 "//mojo/services/public/cpp/view_manager", |
56 "//mojo/public/interfaces/application:application", | 56 "//mojo/public/interfaces/application:application", |
57 "//mojo/services/public/interfaces/native_viewport", | 57 "//mojo/services/public/interfaces/native_viewport", |
58 "//mojo/services/public/interfaces/window_manager", | 58 "//mojo/services/public/interfaces/window_manager", |
59 ] | 59 ] |
60 } | 60 } |
61 | 61 |
62 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_unittests | 62 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_unittests |
63 test("window_manager_unittests") { | 63 test("window_manager_unittests") { |
64 sources = [ | 64 sources = [ |
| 65 "view_target_unittest.cc", |
| 66 "view_targeter_unittest.cc", |
65 "window_manager_api_unittest.cc", | 67 "window_manager_api_unittest.cc", |
| 68 "window_manager_test_util.cc", |
| 69 "window_manager_test_util.h", |
66 "window_manager_unittests.cc", | 70 "window_manager_unittests.cc", |
67 ] | 71 ] |
68 | 72 |
| 73 public_deps = [ |
| 74 ":lib", |
| 75 ] |
| 76 |
69 deps = [ | 77 deps = [ |
70 "//base/test:test_support", | 78 "//base/test:test_support", |
71 "//mojo/application_manager", | 79 "//mojo/application_manager", |
72 "//mojo/edk/system", | 80 "//mojo/edk/system", |
73 "//mojo/environment:chromium", | 81 "//mojo/environment:chromium", |
74 "//mojo/services/public/cpp/view_manager", | 82 "//mojo/services/public/cpp/view_manager", |
75 "//mojo/services/public/interfaces/view_manager", | 83 "//mojo/services/public/interfaces/view_manager", |
76 "//mojo/services/public/interfaces/window_manager", | 84 "//mojo/services/public/interfaces/window_manager", |
77 "//mojo/shell:test_support", | 85 "//mojo/shell:test_support", |
78 "//testing/gtest", | 86 "//testing/gtest", |
| 87 "//ui/events:test_support", |
| 88 "//ui/gfx", |
| 89 "//ui/gfx:test_support", |
79 "//ui/gl", | 90 "//ui/gl", |
80 ] | 91 ] |
81 | 92 |
82 if (use_x11) { | 93 if (use_x11) { |
83 deps += [ "//ui/gfx/x" ] | 94 deps += [ "//ui/gfx/x" ] |
84 } | 95 } |
85 } | 96 } |
OLD | NEW |