| 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_public', | 11 'target_name': 'wm_public', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../../skia/skia.gyp:skia', | 14 '../../skia/skia.gyp:skia', |
| 15 '../aura/aura.gyp:aura', | 15 '../aura/aura.gyp:aura', |
| 16 '../gfx/gfx.gyp:gfx_geometry', | 16 '../gfx/gfx.gyp:gfx_geometry', |
| 17 ], | 17 ], |
| 18 'sources': [ | 18 'sources': [ |
| 19 'core/easy_resize_window_targeter.cc', | |
| 20 'core/masked_window_targeter.cc', | |
| 21 'public/easy_resize_window_targeter.h', | |
| 22 'public/masked_window_targeter.h', | |
| 23 'public/window_types.h', | 19 'public/window_types.h', |
| 24 ], | 20 ], |
| 25 }, | 21 }, |
| 26 { | 22 { |
| 23 'target_name': 'wm_core', |
| 24 'type': '<(component)', |
| 25 'dependencies': [ |
| 26 '../../base/base.gyp:base', |
| 27 '../../skia/skia.gyp:skia', |
| 28 '../aura/aura.gyp:aura', |
| 29 '../compositor/compositor.gyp:compositor', |
| 30 '../events/events.gyp:events_base', |
| 31 '../events/events.gyp:events', |
| 32 '../gfx/gfx.gyp:gfx_geometry', |
| 33 '../gfx/gfx.gyp:gfx', |
| 34 '../resources/ui_resources.gyp:ui_resources', |
| 35 '../base/ui_base.gyp:ui_base', |
| 36 ], |
| 37 'defines': [ |
| 38 'WM_CORE_IMPLEMENTATION', |
| 39 ], |
| 40 'sources': [ |
| 41 'core/base_focus_rules.cc', |
| 42 'core/base_focus_rules.h', |
| 43 'core/capture_controller.cc', |
| 44 'core/capture_controller.h', |
| 45 'core/compound_event_filter.cc', |
| 46 'core/compound_event_filter.h', |
| 47 'core/cursor_manager.cc', |
| 48 'core/cursor_manager.h', |
| 49 'core/easy_resize_window_targeter.cc', |
| 50 'core/easy_resize_window_targeter.h', |
| 51 'core/focus_controller.cc', |
| 52 'core/focus_controller.h', |
| 53 'core/focus_rules.h', |
| 54 'core/image_grid.cc', |
| 55 'core/image_grid.h', |
| 56 'core/input_method_event_filter.cc', |
| 57 'core/input_method_event_filter.h', |
| 58 'core/masked_window_targeter.cc', |
| 59 'core/masked_window_targeter.h', |
| 60 'core/native_cursor_manager.h', |
| 61 'core/native_cursor_manager_delegate.h', |
| 62 'core/shadow.cc', |
| 63 'core/shadow.h', |
| 64 'core/shadow_controller.cc', |
| 65 'core/shadow_controller.h', |
| 66 'core/shadow_types.cc', |
| 67 'core/shadow_types.h', |
| 68 'core/transient_window_controller.cc', |
| 69 'core/transient_window_controller.h', |
| 70 'core/transient_window_manager.cc', |
| 71 'core/transient_window_manager.h', |
| 72 'core/transient_window_observer.h', |
| 73 'core/transient_window_stacking_client.cc', |
| 74 'core/transient_window_stacking_client.h', |
| 75 'core/visibility_controller.cc', |
| 76 'core/visibility_controller.h', |
| 77 'core/window_animations.cc', |
| 78 'core/window_animations.h', |
| 79 'core/window_modality_controller.cc', |
| 80 'core/window_modality_controller.h', |
| 81 'core/window_util.cc', |
| 82 'core/window_util.h', |
| 83 'core/wm_core_export.h', |
| 84 'core/wm_core_switches.cc', |
| 85 'core/wm_core_switches.h', |
| 86 'core/wm_state.cc', |
| 87 'core/wm_state.h', |
| 88 ], |
| 89 }, |
| 90 { |
| 27 'target_name': 'wm_test_support', | 91 'target_name': 'wm_test_support', |
| 28 'type': 'static_library', | 92 'type': 'static_library', |
| 29 'dependencies': [ | 93 'dependencies': [ |
| 30 '../../skia/skia.gyp:skia', | 94 '../../skia/skia.gyp:skia', |
| 31 '../aura/aura.gyp:aura', | 95 '../aura/aura.gyp:aura', |
| 32 ], | 96 ], |
| 33 'sources': [ | 97 'sources': [ |
| 34 'test/wm_test_helper.cc', | 98 'test/wm_test_helper.cc', |
| 35 'test/wm_test_helper.h', | 99 'test/wm_test_helper.h', |
| 36 ], | 100 ], |
| 37 }, | 101 }, |
| 102 { |
| 103 'target_name': 'wm_core_unittests', |
| 104 'type': 'executable', |
| 105 'dependencies': [ |
| 106 '../../base/base.gyp:base', |
| 107 '../../base/base.gyp:test_support_base', |
| 108 '../../skia/skia.gyp:skia', |
| 109 '../../testing/gtest.gyp:gtest', |
| 110 '../aura/aura.gyp:aura', |
| 111 '../aura/aura.gyp:aura_test_support', |
| 112 '../compositor/compositor.gyp:compositor', |
| 113 '../events/events.gyp:events_base', |
| 114 '../events/events.gyp:events', |
| 115 '../gfx/gfx.gyp:gfx_geometry', |
| 116 '../gfx/gfx.gyp:gfx', |
| 117 '../base/ui_base.gyp:ui_base', |
| 118 'wm_core', |
| 119 'wm_test_support', |
| 120 ], |
| 121 'sources': [ |
| 122 'test/run_all_unittests.cc', |
| 123 'core/compound_event_filter_unittest.cc', |
| 124 'core/cursor_manager_unittest.cc', |
| 125 'core/focus_controller_unittest.cc', |
| 126 'core/input_method_event_filter_unittest.cc', |
| 127 'core/image_grid_unittest.cc', |
| 128 'core/shadow_controller_unittest.cc', |
| 129 'core/transient_window_manager_unittest.cc', |
| 130 'core/transient_window_stacking_client_unittest.cc', |
| 131 'core/visibility_controller_unittest.cc', |
| 132 'core/window_animations_unittest.cc', |
| 133 ], |
| 134 }, |
| 38 ], | 135 ], |
| 39 } | 136 } |
| OLD | NEW |