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', | 30 '../events/events.gyp:events', |
19 '../events/events.gyp:events_base', | 31 '../events/events.gyp:events_base', |
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', |
(...skipping 27 matching lines...) Expand all Loading... |
64 'core/user_activity_detector.h', | 76 'core/user_activity_detector.h', |
65 'core/user_activity_observer.h', | 77 'core/user_activity_observer.h', |
66 'core/visibility_controller.cc', | 78 'core/visibility_controller.cc', |
67 'core/visibility_controller.h', | 79 'core/visibility_controller.h', |
68 'core/window_animations.cc', | 80 'core/window_animations.cc', |
69 'core/window_animations.h', | 81 'core/window_animations.h', |
70 'core/window_modality_controller.cc', | 82 'core/window_modality_controller.cc', |
71 'core/window_modality_controller.h', | 83 'core/window_modality_controller.h', |
72 'core/window_util.cc', | 84 'core/window_util.cc', |
73 'core/window_util.h', | 85 'core/window_util.h', |
| 86 'core/wm_core_export.h', |
74 'core/wm_core_switches.cc', | 87 'core/wm_core_switches.cc', |
75 'core/wm_core_switches.h', | 88 'core/wm_core_switches.h', |
76 'core/wm_state.cc', | 89 'core/wm_state.cc', |
77 'core/wm_state.h', | 90 'core/wm_state.h', |
78 'public/window_types.h', | |
79 'wm_export.h', | |
80 ], | 91 ], |
81 }, | 92 }, |
82 { | 93 { |
83 'target_name': 'wm_test_support', | 94 'target_name': 'wm_test_support', |
84 'type': 'static_library', | 95 'type': 'static_library', |
85 'dependencies': [ | 96 'dependencies': [ |
86 '../../skia/skia.gyp:skia', | 97 '../../skia/skia.gyp:skia', |
87 '../aura/aura.gyp:aura', | 98 '../aura/aura.gyp:aura', |
88 '../events/events.gyp:events', | 99 '../events/events.gyp:events', |
89 '../events/events.gyp:events_base', | 100 '../events/events.gyp:events_base', |
90 ], | 101 ], |
91 'sources': [ | 102 'sources': [ |
92 'test/wm_test_helper.cc', | 103 'test/wm_test_helper.cc', |
93 'test/wm_test_helper.h', | 104 'test/wm_test_helper.h', |
94 ], | 105 ], |
95 }, | 106 }, |
96 { | 107 { |
97 'target_name': 'wm_unittests', | 108 'target_name': 'wm_core_unittests', |
98 'type': 'executable', | 109 'type': 'executable', |
99 'dependencies': [ | 110 'dependencies': [ |
100 '../../base/base.gyp:base', | 111 '../../base/base.gyp:base', |
101 '../../base/base.gyp:test_support_base', | 112 '../../base/base.gyp:test_support_base', |
102 '../../skia/skia.gyp:skia', | 113 '../../skia/skia.gyp:skia', |
103 '../../testing/gtest.gyp:gtest', | 114 '../../testing/gtest.gyp:gtest', |
104 '../aura/aura.gyp:aura', | 115 '../aura/aura.gyp:aura', |
105 '../aura/aura.gyp:aura_test_support', | 116 '../aura/aura.gyp:aura_test_support', |
106 '../compositor/compositor.gyp:compositor', | 117 '../compositor/compositor.gyp:compositor', |
107 '../events/events.gyp:events', | 118 '../events/events.gyp:events', |
108 '../events/events.gyp:events_base', | 119 '../events/events.gyp:events_base', |
109 '../gfx/gfx.gyp:gfx_geometry', | 120 '../gfx/gfx.gyp:gfx_geometry', |
110 '../gfx/gfx.gyp:gfx', | 121 '../gfx/gfx.gyp:gfx', |
111 '../base/ui_base.gyp:ui_base', | 122 '../base/ui_base.gyp:ui_base', |
112 'wm', | 123 'wm_core', |
113 'wm_test_support', | 124 'wm_test_support', |
114 ], | 125 ], |
115 'sources': [ | 126 'sources': [ |
116 'test/run_all_unittests.cc', | 127 'test/run_all_unittests.cc', |
117 'core/compound_event_filter_unittest.cc', | 128 'core/compound_event_filter_unittest.cc', |
118 'core/cursor_manager_unittest.cc', | 129 'core/cursor_manager_unittest.cc', |
119 'core/focus_controller_unittest.cc', | 130 'core/focus_controller_unittest.cc', |
120 'core/input_method_event_filter_unittest.cc', | 131 'core/input_method_event_filter_unittest.cc', |
121 'core/image_grid_unittest.cc', | 132 'core/image_grid_unittest.cc', |
122 'core/shadow_controller_unittest.cc', | 133 'core/shadow_controller_unittest.cc', |
123 'core/transient_window_manager_unittest.cc', | 134 'core/transient_window_manager_unittest.cc', |
124 'core/transient_window_stacking_client_unittest.cc', | 135 'core/transient_window_stacking_client_unittest.cc', |
125 'core/user_activity_detector_unittest.cc', | 136 'core/user_activity_detector_unittest.cc', |
126 'core/visibility_controller_unittest.cc', | 137 'core/visibility_controller_unittest.cc', |
127 'core/window_animations_unittest.cc', | 138 'core/window_animations_unittest.cc', |
128 'core/window_util_unittest.cc', | 139 'core/window_util_unittest.cc', |
129 ], | 140 ], |
130 }, | 141 }, |
131 ], | 142 ], |
132 } | 143 } |
OLD | NEW |