Add test for clicking bookmark star in presence of ctrl-D keybinding
[chromium-blink-merge.git] / ui / wm / BUILD.gn
blobea50577c4cc091d231911250e2de5ede37ad5ed9
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
3 # found in the LICENSE file.
5 component("wm") {
6   sources = [
7     "core/accelerator_delegate.h",
8     "core/accelerator_filter.cc",
9     "core/accelerator_filter.h",
10     "core/base_focus_rules.cc",
11     "core/base_focus_rules.h",
12     "core/capture_controller.cc",
13     "core/capture_controller.h",
14     "core/compound_event_filter.cc",
15     "core/compound_event_filter.h",
16     "core/coordinate_conversion.cc",
17     "core/coordinate_conversion.h",
18     "core/cursor_manager.cc",
19     "core/cursor_manager.h",
20     "core/default_activation_client.cc",
21     "core/default_activation_client.h",
22     "core/default_screen_position_client.cc",
23     "core/default_screen_position_client.h",
24     "core/easy_resize_window_targeter.cc",
25     "core/easy_resize_window_targeter.h",
26     "core/focus_controller.cc",
27     "core/focus_controller.h",
28     "core/focus_rules.h",
29     "core/image_grid.cc",
30     "core/image_grid.h",
31     "core/input_method_event_filter.cc",
32     "core/input_method_event_filter.h",
33     "core/masked_window_targeter.cc",
34     "core/masked_window_targeter.h",
35     "core/native_cursor_manager.h",
36     "core/native_cursor_manager_delegate.h",
37     "core/nested_accelerator_dispatcher_linux.cc",
38     "core/nested_accelerator_dispatcher_win.cc",
39     "core/nested_accelerator_dispatcher.cc",
40     "core/nested_accelerator_dispatcher.h",
41     "core/nested_accelerator_delegate.h",
42     "core/nested_accelerator_controller.cc",
43     "core/nested_accelerator_controller.h",
44     "core/shadow.cc",
45     "core/shadow.h",
46     "core/shadow_controller.cc",
47     "core/shadow_controller.h",
48     "core/shadow_types.cc",
49     "core/shadow_types.h",
50     "core/transient_window_controller.cc",
51     "core/transient_window_controller.h",
52     "core/transient_window_manager.cc",
53     "core/transient_window_manager.h",
54     "core/transient_window_observer.h",
55     "core/transient_window_stacking_client.cc",
56     "core/transient_window_stacking_client.h",
57     "core/visibility_controller.cc",
58     "core/visibility_controller.h",
59     "core/window_animations.cc",
60     "core/window_animations.h",
61     "core/window_modality_controller.cc",
62     "core/window_modality_controller.h",
63     "core/window_util.cc",
64     "core/window_util.h",
65     "core/wm_core_switches.cc",
66     "core/wm_core_switches.h",
67     "core/wm_state.cc",
68     "core/wm_state.h",
69     "wm_export.h",
70   ]
72   defines = [ "WM_IMPLEMENTATION" ]
74   deps = [
75     "//base",
76     "//skia",
77     "//ui/aura",
78     "//ui/base",
79     "//ui/compositor",
80     "//ui/events",
81     "//ui/events/devices",
82     "//ui/events/platform",
83     "//ui/events:events_base",
84     "//ui/events/platform",
85     "//ui/gfx",
86     "//ui/gfx/geometry",
87     "//ui/resources",
88   ]
91 static_library("test_support") {
92   testonly = true
93   sources = [
94     "test/wm_test_helper.cc",
95     "test/wm_test_helper.h",
96   ]
98   deps = [
99     ":wm",
100     "//skia",
101     "//ui/aura",
102     "//ui/aura:test_support",
103     "//ui/base",
104     "//ui/events",
105     "//ui/events:events_base",
106   ]
109 test("wm_unittests") {
110   sources = [
111     "test/run_all_unittests.cc",
112     "core/capture_controller_unittest.cc",
113     "core/compound_event_filter_unittest.cc",
114     "core/cursor_manager_unittest.cc",
115     "core/focus_controller_unittest.cc",
116     "core/input_method_event_filter_unittest.cc",
117     "core/image_grid_unittest.cc",
118     "core/nested_accelerator_controller_unittest.cc",
119     "core/shadow_controller_unittest.cc",
120     "core/transient_window_manager_unittest.cc",
121     "core/transient_window_stacking_client_unittest.cc",
122     "core/visibility_controller_unittest.cc",
123     "core/window_animations_unittest.cc",
124   ]
126   deps = [
127     ":test_support",
128     ":wm",
129     "//base",
130     "//base/test:test_support",
131     "//skia",
132     "//testing/gtest",
133     "//ui/aura:test_support",
134     "//ui/base:test_support",
135     "//ui/compositor:test_support",
136     "//ui/events:test_support",
137     "//ui/events/platform",
138     "//ui/gfx",
139     "//ui/gfx/geometry",
140     "//ui/gl",
141   ]