| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 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/events.gyp:events', | |
| 20 '../events/events.gyp:events_base', | |
| 21 '../events/platform/events_platform.gyp:events_platform', | |
| 22 '../gfx/gfx.gyp:gfx_geometry', | |
| 23 '../gfx/gfx.gyp:gfx', | |
| 24 '../resources/ui_resources.gyp:ui_resources', | |
| 25 '../base/ui_base.gyp:ui_base', | |
| 26 ], | |
| 27 'defines': [ | |
| 28 'WM_IMPLEMENTATION', | |
| 29 ], | |
| 30 'sources': [ | |
| 31 # Note: sources list duplicated in GN build. | |
| 32 'core/accelerator_delegate.h', | |
| 33 'core/accelerator_filter.cc', | |
| 34 'core/accelerator_filter.h', | |
| 35 'core/base_focus_rules.h', | |
| 36 'core/base_focus_rules.cc', | |
| 37 'core/base_focus_rules.h', | |
| 38 'core/capture_controller.cc', | |
| 39 'core/capture_controller.h', | |
| 40 'core/compound_event_filter.cc', | |
| 41 'core/compound_event_filter.h', | |
| 42 'core/coordinate_conversion.cc', | |
| 43 'core/coordinate_conversion.h', | |
| 44 'core/cursor_manager.cc', | |
| 45 'core/cursor_manager.h', | |
| 46 'core/default_activation_client.cc', | |
| 47 'core/default_activation_client.h', | |
| 48 'core/easy_resize_window_targeter.cc', | |
| 49 'core/easy_resize_window_targeter.h', | |
| 50 'core/focus_controller.cc', | |
| 51 'core/focus_controller.h', | |
| 52 'core/focus_rules.h', | |
| 53 'core/image_grid.cc', | |
| 54 'core/image_grid.h', | |
| 55 'core/input_method_event_filter.cc', | |
| 56 'core/input_method_event_filter.h', | |
| 57 'core/masked_window_targeter.cc', | |
| 58 'core/masked_window_targeter.h', | |
| 59 'core/native_cursor_manager.h', | |
| 60 'core/native_cursor_manager_delegate.h', | |
| 61 'core/nested_accelerator_dispatcher_linux.cc', | |
| 62 'core/nested_accelerator_dispatcher_win.cc', | |
| 63 'core/nested_accelerator_dispatcher.cc', | |
| 64 'core/nested_accelerator_dispatcher.h', | |
| 65 'core/nested_accelerator_delegate.h', | |
| 66 'core/nested_accelerator_controller.cc', | |
| 67 'core/nested_accelerator_controller.h', | |
| 68 'core/shadow.cc', | |
| 69 'core/shadow.h', | |
| 70 'core/shadow_controller.cc', | |
| 71 'core/shadow_controller.h', | |
| 72 'core/shadow_types.cc', | |
| 73 'core/shadow_types.h', | |
| 74 'core/transient_window_controller.cc', | |
| 75 'core/transient_window_controller.h', | |
| 76 'core/transient_window_manager.cc', | |
| 77 'core/transient_window_manager.h', | |
| 78 'core/transient_window_observer.h', | |
| 79 'core/transient_window_stacking_client.cc', | |
| 80 'core/transient_window_stacking_client.h', | |
| 81 'core/user_activity_detector.cc', | |
| 82 'core/user_activity_detector.h', | |
| 83 'core/user_activity_observer.h', | |
| 84 'core/visibility_controller.cc', | |
| 85 'core/visibility_controller.h', | |
| 86 'core/window_animations.cc', | |
| 87 'core/window_animations.h', | |
| 88 'core/window_modality_controller.cc', | |
| 89 'core/window_modality_controller.h', | |
| 90 'core/window_util.cc', | |
| 91 'core/window_util.h', | |
| 92 'core/wm_core_switches.cc', | |
| 93 'core/wm_core_switches.h', | |
| 94 'core/wm_state.cc', | |
| 95 'core/wm_state.h', | |
| 96 'wm_export.h', | |
| 97 ], | |
| 98 }, | |
| 99 { | |
| 100 # GN version: //ui/wm:test_support | |
| 101 'target_name': 'wm_test_support', | |
| 102 'type': 'static_library', | |
| 103 'dependencies': [ | |
| 104 '../../skia/skia.gyp:skia', | |
| 105 '../aura/aura.gyp:aura', | |
| 106 '../events/events.gyp:events', | |
| 107 '../events/events.gyp:events_base', | |
| 108 ], | |
| 109 'sources': [ | |
| 110 'test/wm_test_helper.cc', | |
| 111 'test/wm_test_helper.h', | |
| 112 ], | |
| 113 }, | |
| 114 { | |
| 115 # GN version: //ui/wm:wm_unittests | |
| 116 'target_name': 'wm_unittests', | |
| 117 'type': 'executable', | |
| 118 'dependencies': [ | |
| 119 '../../base/base.gyp:base', | |
| 120 '../../base/base.gyp:test_support_base', | |
| 121 '../../skia/skia.gyp:skia', | |
| 122 '../../testing/gtest.gyp:gtest', | |
| 123 '../aura/aura.gyp:aura', | |
| 124 '../aura/aura.gyp:aura_test_support', | |
| 125 '../base/ui_base.gyp:ui_base', | |
| 126 '../compositor/compositor.gyp:compositor', | |
| 127 '../events/events.gyp:events', | |
| 128 '../events/events.gyp:events_base', | |
| 129 '../events/platform/events_platform.gyp:events_platform', | |
| 130 '../gfx/gfx.gyp:gfx', | |
| 131 '../gfx/gfx.gyp:gfx_geometry', | |
| 132 'wm', | |
| 133 'wm_test_support', | |
| 134 ], | |
| 135 'sources': [ | |
| 136 'test/run_all_unittests.cc', | |
| 137 'core/compound_event_filter_unittest.cc', | |
| 138 'core/cursor_manager_unittest.cc', | |
| 139 'core/focus_controller_unittest.cc', | |
| 140 'core/input_method_event_filter_unittest.cc', | |
| 141 'core/image_grid_unittest.cc', | |
| 142 'core/nested_accelerator_controller_unittest.cc', | |
| 143 'core/shadow_controller_unittest.cc', | |
| 144 'core/shadow_unittest.cc', | |
| 145 'core/transient_window_manager_unittest.cc', | |
| 146 'core/transient_window_stacking_client_unittest.cc', | |
| 147 'core/user_activity_detector_unittest.cc', | |
| 148 'core/visibility_controller_unittest.cc', | |
| 149 'core/window_animations_unittest.cc', | |
| 150 'core/window_util_unittest.cc', | |
| 151 ], | |
| 152 }, | |
| 153 ], | |
| 154 } | |
| OLD | NEW |