Remove unused parameter.
[chromium-blink-merge.git] / ui / wm / wm.gyp
blob8ce5e515529ce738f3fa4259e0710f6a898c2486
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       # GN version: //ui/wm
12       'target_name': 'wm',
13       'type': '<(component)',
14       'dependencies': [
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',
24         '../gfx/gfx.gyp:gfx',
25         '../resources/ui_resources.gyp:ui_resources',
26         '../base/ime/ui_base_ime.gyp:ui_base_ime',
27         '../base/ui_base.gyp:ui_base',
28       ],
29       'defines': [
30         'WM_IMPLEMENTATION',
31       ],
32       'sources': [
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',
56         'core/focus_rules.h',
57         'core/image_grid.cc',
58         'core/image_grid.h',
59         'core/input_method_event_filter.cc',
60         'core/input_method_event_filter.h',
61         'core/masked_window_targeter.cc',
62         'core/masked_window_targeter.h',
63         'core/native_cursor_manager.h',
64         'core/native_cursor_manager_delegate.h',
65         'core/nested_accelerator_controller.cc',
66         'core/nested_accelerator_controller.h',
67         'core/nested_accelerator_delegate.h',
68         'core/nested_accelerator_dispatcher.cc',
69         'core/nested_accelerator_dispatcher.h',
70         'core/nested_accelerator_dispatcher_linux.cc',
71         'core/nested_accelerator_dispatcher_win.cc',
72         'core/shadow.cc',
73         'core/shadow.h',
74         'core/shadow_controller.cc',
75         'core/shadow_controller.h',
76         'core/shadow_types.cc',
77         'core/shadow_types.h',
78         'core/transient_window_controller.cc',
79         'core/transient_window_controller.h',
80         'core/transient_window_manager.cc',
81         'core/transient_window_manager.h',
82         'core/transient_window_observer.h',
83         'core/transient_window_stacking_client.cc',
84         'core/transient_window_stacking_client.h',
85         'core/visibility_controller.cc',
86         'core/visibility_controller.h',
87         'core/window_animations.cc',
88         'core/window_animations.h',
89         'core/window_modality_controller.cc',
90         'core/window_modality_controller.h',
91         'core/window_util.cc',
92         'core/window_util.h',
93         'core/wm_core_switches.cc',
94         'core/wm_core_switches.h',
95         'core/wm_state.cc',
96         'core/wm_state.h',
97         'wm_export.h',
98       ],
99       'conditions': [
100         ['use_x11==1', {
101           'dependencies': [
102             '../../build/linux/system.gyp:x11',
103           ],
104         }],
105       ],
106     },
107     {
108       # GN version: //ui/wm:test_support
109       'target_name': 'wm_test_support',
110       'type': 'static_library',
111       'dependencies': [
112         '../../skia/skia.gyp:skia',
113         '../aura/aura.gyp:aura',
114         '../events/events.gyp:events',
115         '../events/events.gyp:events_base',
116       ],
117       'sources': [
118         'test/wm_test_helper.cc',
119         'test/wm_test_helper.h',
120       ],
121     },
122     {
123       # GN version: //ui/wm:wm_unittests
124       'target_name': 'wm_unittests',
125       'type': 'executable',
126       'dependencies': [
127         '../../base/base.gyp:base',
128         '../../base/base.gyp:test_support_base',
129         '../../skia/skia.gyp:skia',
130         '../../testing/gtest.gyp:gtest',
131         '../aura/aura.gyp:aura',
132         '../aura/aura.gyp:aura_test_support',
133         '../base/ime/ui_base_ime.gyp:ui_base_ime',
134         '../base/ui_base.gyp:ui_base',
135         '../compositor/compositor.gyp:compositor',
136         '../events/events.gyp:events',
137         '../events/events.gyp:events_base',
138         '../events/platform/events_platform.gyp:events_platform',
139         '../gfx/gfx.gyp:gfx',
140         '../gfx/gfx.gyp:gfx_geometry',
141         'wm',
142         'wm_test_support',
143       ],
144       'sources': [
145         'core/capture_controller_unittest.cc',
146         'core/compound_event_filter_unittest.cc',
147         'core/cursor_manager_unittest.cc',
148         'core/focus_controller_unittest.cc',
149         'core/image_grid_unittest.cc',
150         'core/input_method_event_filter_unittest.cc',
151         'core/nested_accelerator_controller_unittest.cc',
152         'core/shadow_controller_unittest.cc',
153         'core/shadow_unittest.cc',
154         'core/transient_window_manager_unittest.cc',
155         'core/transient_window_stacking_client_unittest.cc',
156         'core/visibility_controller_unittest.cc',
157         'core/window_animations_unittest.cc',
158         'core/window_util_unittest.cc',
159         'test/run_all_unittests.cc',
160       ],
161     },
162   ],