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