OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'wm', | 11 'target_name': 'wm_public', |
| 12 'type': 'static_library', |
| 13 'dependencies': [ |
| 14 '../../skia/skia.gyp:skia', |
| 15 '../aura/aura.gyp:aura', |
| 16 '../gfx/gfx.gyp:gfx_geometry', |
| 17 ], |
| 18 'sources': [ |
| 19 'public/window_types.h', |
| 20 ], |
| 21 }, |
| 22 { |
| 23 'target_name': 'wm_core', |
12 'type': '<(component)', | 24 'type': '<(component)', |
13 'dependencies': [ | 25 'dependencies': [ |
14 '../../base/base.gyp:base', | 26 '../../base/base.gyp:base', |
15 '../../skia/skia.gyp:skia', | 27 '../../skia/skia.gyp:skia', |
16 '../aura/aura.gyp:aura', | 28 '../aura/aura.gyp:aura', |
17 '../compositor/compositor.gyp:compositor', | 29 '../compositor/compositor.gyp:compositor', |
18 '../events/events.gyp:events_base', | 30 '../events/events.gyp:events_base', |
19 '../events/events.gyp:events', | 31 '../events/events.gyp:events', |
20 '../gfx/gfx.gyp:gfx_geometry', | 32 '../gfx/gfx.gyp:gfx_geometry', |
21 '../gfx/gfx.gyp:gfx', | 33 '../gfx/gfx.gyp:gfx', |
22 '../resources/ui_resources.gyp:ui_resources', | 34 '../resources/ui_resources.gyp:ui_resources', |
23 '../base/ui_base.gyp:ui_base', | 35 '../base/ui_base.gyp:ui_base', |
24 ], | 36 ], |
25 'defines': [ | 37 'defines': [ |
26 'WM_IMPLEMENTATION', | 38 'WM_CORE_IMPLEMENTATION', |
27 ], | 39 ], |
28 'sources': [ | 40 'sources': [ |
29 'core/base_focus_rules.cc', | 41 'core/base_focus_rules.cc', |
30 'core/base_focus_rules.h', | 42 'core/base_focus_rules.h', |
31 'core/capture_controller.cc', | 43 'core/capture_controller.cc', |
32 'core/capture_controller.h', | 44 'core/capture_controller.h', |
33 'core/compound_event_filter.cc', | 45 'core/compound_event_filter.cc', |
34 'core/compound_event_filter.h', | 46 'core/compound_event_filter.h', |
35 'core/cursor_manager.cc', | 47 'core/cursor_manager.cc', |
36 'core/cursor_manager.h', | 48 'core/cursor_manager.h', |
37 'core/default_activation_client.cc', | |
38 'core/default_activation_client.h', | |
39 'core/easy_resize_window_targeter.cc', | 49 'core/easy_resize_window_targeter.cc', |
40 'core/easy_resize_window_targeter.h', | 50 'core/easy_resize_window_targeter.h', |
41 'core/focus_controller.cc', | 51 'core/focus_controller.cc', |
42 'core/focus_controller.h', | 52 'core/focus_controller.h', |
43 'core/focus_rules.h', | 53 'core/focus_rules.h', |
44 'core/image_grid.cc', | 54 'core/image_grid.cc', |
45 'core/image_grid.h', | 55 'core/image_grid.h', |
46 'core/input_method_event_filter.cc', | 56 'core/input_method_event_filter.cc', |
47 'core/input_method_event_filter.h', | 57 'core/input_method_event_filter.h', |
48 'core/masked_window_targeter.cc', | 58 'core/masked_window_targeter.cc', |
(...skipping 14 matching lines...) Expand all Loading... |
63 'core/transient_window_stacking_client.cc', | 73 'core/transient_window_stacking_client.cc', |
64 'core/transient_window_stacking_client.h', | 74 'core/transient_window_stacking_client.h', |
65 'core/visibility_controller.cc', | 75 'core/visibility_controller.cc', |
66 'core/visibility_controller.h', | 76 'core/visibility_controller.h', |
67 'core/window_animations.cc', | 77 'core/window_animations.cc', |
68 'core/window_animations.h', | 78 'core/window_animations.h', |
69 'core/window_modality_controller.cc', | 79 'core/window_modality_controller.cc', |
70 'core/window_modality_controller.h', | 80 'core/window_modality_controller.h', |
71 'core/window_util.cc', | 81 'core/window_util.cc', |
72 'core/window_util.h', | 82 'core/window_util.h', |
| 83 'core/wm_core_export.h', |
73 'core/wm_core_switches.cc', | 84 'core/wm_core_switches.cc', |
74 'core/wm_core_switches.h', | 85 'core/wm_core_switches.h', |
75 'core/wm_state.cc', | 86 'core/wm_state.cc', |
76 'core/wm_state.h', | 87 'core/wm_state.h', |
77 'public/activation_change_observer.h', | |
78 'public/activation_change_observer.cc', | |
79 'public/activation_client.cc', | |
80 'public/activation_client.h', | |
81 'public/activation_delegate.cc', | |
82 'public/activation_delegate.h', | |
83 'public/animation_host.cc', | |
84 'public/animation_host.h', | |
85 'public/dispatcher_client.cc', | |
86 'public/dispatcher_client.h', | |
87 'public/drag_drop_client.cc', | |
88 'public/drag_drop_client.h', | |
89 'public/drag_drop_delegate.cc', | |
90 'public/drag_drop_delegate.h', | |
91 'public/scoped_tooltip_disabler.cc', | |
92 'public/scoped_tooltip_disabler.h', | |
93 'public/tooltip_client.cc', | |
94 'public/tooltip_client.h', | |
95 'public/transient_window_client.cc', | |
96 'public/transient_window_client.h', | |
97 'public/window_move_client.cc', | |
98 'public/window_move_client.h', | |
99 'public/window_types.h', | |
100 'wm_export.h', | |
101 ], | 88 ], |
102 }, | 89 }, |
103 { | 90 { |
104 'target_name': 'wm_test_support', | 91 'target_name': 'wm_test_support', |
105 'type': 'static_library', | 92 'type': 'static_library', |
106 'dependencies': [ | 93 'dependencies': [ |
107 '../../skia/skia.gyp:skia', | 94 '../../skia/skia.gyp:skia', |
108 '../aura/aura.gyp:aura', | 95 '../aura/aura.gyp:aura', |
109 'wm', | |
110 ], | 96 ], |
111 'sources': [ | 97 'sources': [ |
112 'test/wm_test_helper.cc', | 98 'test/wm_test_helper.cc', |
113 'test/wm_test_helper.h', | 99 'test/wm_test_helper.h', |
114 ], | 100 ], |
115 }, | 101 }, |
116 { | 102 { |
117 'target_name': 'wm_core_unittests', | 103 'target_name': 'wm_core_unittests', |
118 'type': 'executable', | 104 'type': 'executable', |
119 'dependencies': [ | 105 'dependencies': [ |
120 '../../base/base.gyp:base', | 106 '../../base/base.gyp:base', |
121 '../../base/base.gyp:test_support_base', | 107 '../../base/base.gyp:test_support_base', |
122 '../../skia/skia.gyp:skia', | 108 '../../skia/skia.gyp:skia', |
123 '../../testing/gtest.gyp:gtest', | 109 '../../testing/gtest.gyp:gtest', |
124 '../aura/aura.gyp:aura', | 110 '../aura/aura.gyp:aura', |
125 '../aura/aura.gyp:aura_test_support', | 111 '../aura/aura.gyp:aura_test_support', |
126 '../compositor/compositor.gyp:compositor', | 112 '../compositor/compositor.gyp:compositor', |
127 '../events/events.gyp:events_base', | 113 '../events/events.gyp:events_base', |
128 '../events/events.gyp:events', | 114 '../events/events.gyp:events', |
129 '../gfx/gfx.gyp:gfx_geometry', | 115 '../gfx/gfx.gyp:gfx_geometry', |
130 '../gfx/gfx.gyp:gfx', | 116 '../gfx/gfx.gyp:gfx', |
131 '../base/ui_base.gyp:ui_base', | 117 '../base/ui_base.gyp:ui_base', |
132 'wm', | 118 'wm_core', |
133 'wm_test_support', | 119 'wm_test_support', |
134 ], | 120 ], |
135 'sources': [ | 121 'sources': [ |
136 'test/run_all_unittests.cc', | 122 'test/run_all_unittests.cc', |
137 'core/compound_event_filter_unittest.cc', | 123 'core/compound_event_filter_unittest.cc', |
138 'core/cursor_manager_unittest.cc', | 124 'core/cursor_manager_unittest.cc', |
139 'core/focus_controller_unittest.cc', | 125 'core/focus_controller_unittest.cc', |
140 'core/input_method_event_filter_unittest.cc', | 126 'core/input_method_event_filter_unittest.cc', |
141 'core/image_grid_unittest.cc', | 127 'core/image_grid_unittest.cc', |
142 'core/shadow_controller_unittest.cc', | 128 'core/shadow_controller_unittest.cc', |
143 'core/transient_window_manager_unittest.cc', | 129 'core/transient_window_manager_unittest.cc', |
144 'core/transient_window_stacking_client_unittest.cc', | 130 'core/transient_window_stacking_client_unittest.cc', |
145 'core/visibility_controller_unittest.cc', | 131 'core/visibility_controller_unittest.cc', |
146 'core/window_animations_unittest.cc', | 132 'core/window_animations_unittest.cc', |
147 'core/window_util_unittest.cc', | 133 'core/window_util_unittest.cc', |
148 ], | 134 ], |
149 }, | 135 }, |
150 ], | 136 ], |
151 } | 137 } |
OLD | NEW |