1 # Copyright 2013 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.
13 'type': '<(component)',
15 '../../base/base.gyp:base',
16 '../../skia/skia.gyp:skia',
17 '../aura/aura.gyp:aura',
18 '../compositor/compositor.gyp:compositor',
19 '../events/devices/events_devices.gyp:events_devices',
20 '../events/events.gyp:events',
21 '../events/events.gyp:events_base',
22 '../events/platform/events_platform.gyp:events_platform',
23 '../gfx/gfx.gyp:gfx_geometry',
25 '../resources/ui_resources.gyp:ui_resources',
26 '../base/ime/ui_base_ime.gyp:ui_base_ime',
27 '../base/ui_base.gyp:ui_base',
33 # Note: sources list duplicated in GN build.
34 'core/accelerator_delegate.h',
35 'core/accelerator_filter.cc',
36 'core/accelerator_filter.h',
37 'core/base_focus_rules.cc',
38 'core/base_focus_rules.h',
39 'core/base_focus_rules.h',
40 'core/capture_controller.cc',
41 'core/capture_controller.h',
42 'core/compound_event_filter.cc',
43 'core/compound_event_filter.h',
44 'core/coordinate_conversion.cc',
45 'core/coordinate_conversion.h',
46 'core/cursor_manager.cc',
47 'core/cursor_manager.h',
48 'core/default_activation_client.cc',
49 'core/default_activation_client.h',
50 'core/default_screen_position_client.cc',
51 'core/default_screen_position_client.h',
52 'core/easy_resize_window_targeter.cc',
53 'core/easy_resize_window_targeter.h',
54 'core/focus_controller.cc',
55 'core/focus_controller.h',
59 'core/masked_window_targeter.cc',
60 'core/masked_window_targeter.h',
61 'core/native_cursor_manager.h',
62 'core/native_cursor_manager_delegate.h',
63 'core/nested_accelerator_controller.cc',
64 'core/nested_accelerator_controller.h',
65 'core/nested_accelerator_delegate.h',
66 'core/nested_accelerator_dispatcher.cc',
67 'core/nested_accelerator_dispatcher.h',
68 'core/nested_accelerator_dispatcher_linux.cc',
69 'core/nested_accelerator_dispatcher_win.cc',
72 'core/shadow_controller.cc',
73 'core/shadow_controller.h',
74 'core/shadow_types.cc',
75 'core/shadow_types.h',
76 'core/transient_window_controller.cc',
77 'core/transient_window_controller.h',
78 'core/transient_window_manager.cc',
79 'core/transient_window_manager.h',
80 'core/transient_window_observer.h',
81 'core/transient_window_stacking_client.cc',
82 'core/transient_window_stacking_client.h',
83 'core/visibility_controller.cc',
84 'core/visibility_controller.h',
85 'core/window_animations.cc',
86 'core/window_animations.h',
87 'core/window_modality_controller.cc',
88 'core/window_modality_controller.h',
89 'core/window_util.cc',
91 'core/wm_core_switches.cc',
92 'core/wm_core_switches.h',
100 '../../build/linux/system.gyp:x11',
105 'core/nested_accelerator_controller.cc',
106 'core/nested_accelerator_controller.h',
107 'core/nested_accelerator_delegate.h',
108 'core/nested_accelerator_dispatcher.cc',
109 'core/nested_accelerator_dispatcher.h',
115 # GN version: //ui/wm:test_support
116 'target_name': 'wm_test_support',
117 'type': 'static_library',
119 '../../skia/skia.gyp:skia',
120 '../aura/aura.gyp:aura',
121 '../events/events.gyp:events',
122 '../events/events.gyp:events_base',
125 'test/wm_test_helper.cc',
126 'test/wm_test_helper.h',
130 # GN version: //ui/wm:wm_unittests
131 'target_name': 'wm_unittests',
132 'type': 'executable',
134 '../../base/base.gyp:base',
135 '../../base/base.gyp:test_support_base',
136 '../../skia/skia.gyp:skia',
137 '../../testing/gtest.gyp:gtest',
138 '../aura/aura.gyp:aura',
139 '../aura/aura.gyp:aura_test_support',
140 '../base/ime/ui_base_ime.gyp:ui_base_ime',
141 '../base/ui_base.gyp:ui_base',
142 '../compositor/compositor.gyp:compositor',
143 '../events/events.gyp:events',
144 '../events/events.gyp:events_base',
145 '../events/platform/events_platform.gyp:events_platform',
146 '../gfx/gfx.gyp:gfx',
147 '../gfx/gfx.gyp:gfx_geometry',
152 'core/capture_controller_unittest.cc',
153 'core/compound_event_filter_unittest.cc',
154 'core/cursor_manager_unittest.cc',
155 'core/focus_controller_unittest.cc',
156 'core/image_grid_unittest.cc',
157 'core/nested_accelerator_controller_unittest.cc',
158 'core/shadow_controller_unittest.cc',
159 'core/shadow_unittest.cc',
160 'core/transient_window_manager_unittest.cc',
161 'core/transient_window_stacking_client_unittest.cc',
162 'core/visibility_controller_unittest.cc',
163 'core/window_animations_unittest.cc',
164 'core/window_util_unittest.cc',
165 'test/run_all_unittests.cc',
170 ['test_isolation_mode != "noop"', {
173 'target_name': 'wm_unittests_run',
179 '../../build/isolate.gypi',
182 'wm_unittests.isolate',