| 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 '../display/display.gyp:display', | |
| 20 '../events/devices/events_devices.gyp:events_devices', | |
| 21 '../events/events.gyp:events', | |
| 22 '../events/events.gyp:events_base', | |
| 23 '../events/platform/events_platform.gyp:events_platform', | |
| 24 '../gfx/gfx.gyp:gfx_geometry', | |
| 25 '../gfx/gfx.gyp:gfx', | |
| 26 '../resources/ui_resources.gyp:ui_resources', | |
| 27 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 28 '../base/ui_base.gyp:ui_base', | |
| 29 ], | |
| 30 'defines': [ | |
| 31 'WM_IMPLEMENTATION', | |
| 32 ], | |
| 33 'sources': [ | |
| 34 # Note: sources list duplicated in GN build. | |
| 35 'core/accelerator_delegate.h', | |
| 36 'core/accelerator_filter.cc', | |
| 37 'core/accelerator_filter.h', | |
| 38 'core/base_focus_rules.cc', | |
| 39 'core/base_focus_rules.h', | |
| 40 'core/base_focus_rules.h', | |
| 41 'core/capture_controller.cc', | |
| 42 'core/capture_controller.h', | |
| 43 'core/compound_event_filter.cc', | |
| 44 'core/compound_event_filter.h', | |
| 45 'core/coordinate_conversion.cc', | |
| 46 'core/coordinate_conversion.h', | |
| 47 'core/cursor_manager.cc', | |
| 48 'core/cursor_manager.h', | |
| 49 'core/default_activation_client.cc', | |
| 50 'core/default_activation_client.h', | |
| 51 'core/default_screen_position_client.cc', | |
| 52 'core/default_screen_position_client.h', | |
| 53 'core/easy_resize_window_targeter.cc', | |
| 54 'core/easy_resize_window_targeter.h', | |
| 55 'core/focus_controller.cc', | |
| 56 'core/focus_controller.h', | |
| 57 'core/focus_rules.h', | |
| 58 'core/image_grid.cc', | |
| 59 'core/image_grid.h', | |
| 60 'core/masked_window_targeter.cc', | |
| 61 'core/masked_window_targeter.h', | |
| 62 'core/native_cursor_manager.h', | |
| 63 'core/native_cursor_manager_delegate.h', | |
| 64 'core/shadow.cc', | |
| 65 'core/shadow.h', | |
| 66 'core/shadow_controller.cc', | |
| 67 'core/shadow_controller.h', | |
| 68 'core/shadow_types.cc', | |
| 69 'core/shadow_types.h', | |
| 70 'core/transient_window_controller.cc', | |
| 71 'core/transient_window_controller.h', | |
| 72 'core/transient_window_manager.cc', | |
| 73 'core/transient_window_manager.h', | |
| 74 'core/transient_window_observer.h', | |
| 75 'core/transient_window_stacking_client.cc', | |
| 76 'core/transient_window_stacking_client.h', | |
| 77 'core/visibility_controller.cc', | |
| 78 'core/visibility_controller.h', | |
| 79 'core/window_animations.cc', | |
| 80 'core/window_animations.h', | |
| 81 'core/window_modality_controller.cc', | |
| 82 'core/window_modality_controller.h', | |
| 83 'core/window_util.cc', | |
| 84 'core/window_util.h', | |
| 85 'core/wm_core_switches.cc', | |
| 86 'core/wm_core_switches.h', | |
| 87 'core/wm_state.cc', | |
| 88 'core/wm_state.h', | |
| 89 'wm_export.h', | |
| 90 ], | |
| 91 'conditions': [ | |
| 92 ['use_x11==1', { | |
| 93 'dependencies': [ | |
| 94 '../../build/linux/system.gyp:x11', | |
| 95 '../events/devices/x11/events_devices_x11.gyp:events_devices_x11', | |
| 96 ], | |
| 97 }], | |
| 98 ], | |
| 99 }, | |
| 100 { | |
| 101 # GN version: //ui/wm:test_support | |
| 102 'target_name': 'wm_test_support', | |
| 103 'type': 'static_library', | |
| 104 'dependencies': [ | |
| 105 '../../skia/skia.gyp:skia', | |
| 106 '../aura/aura.gyp:aura', | |
| 107 '../events/events.gyp:events', | |
| 108 '../events/events.gyp:events_base', | |
| 109 ], | |
| 110 'sources': [ | |
| 111 'test/testing_cursor_client_observer.cc', | |
| 112 'test/testing_cursor_client_observer.h', | |
| 113 'test/wm_test_helper.cc', | |
| 114 'test/wm_test_helper.h', | |
| 115 ], | |
| 116 }, | |
| 117 { | |
| 118 # GN version: //ui/wm:wm_unittests | |
| 119 'target_name': 'wm_unittests', | |
| 120 'type': 'executable', | |
| 121 'dependencies': [ | |
| 122 '../../base/base.gyp:base', | |
| 123 '../../base/base.gyp:test_support_base', | |
| 124 '../../skia/skia.gyp:skia', | |
| 125 '../../testing/gtest.gyp:gtest', | |
| 126 '../aura/aura.gyp:aura', | |
| 127 '../aura/aura.gyp:aura_test_support', | |
| 128 '../base/ime/ui_base_ime.gyp:ui_base_ime', | |
| 129 '../base/ui_base.gyp:ui_base', | |
| 130 '../compositor/compositor.gyp:compositor', | |
| 131 '../events/events.gyp:events', | |
| 132 '../events/events.gyp:events_base', | |
| 133 '../events/platform/events_platform.gyp:events_platform', | |
| 134 '../gfx/gfx.gyp:gfx', | |
| 135 '../gfx/gfx.gyp:gfx_geometry', | |
| 136 'wm', | |
| 137 'wm_test_support', | |
| 138 ], | |
| 139 'sources': [ | |
| 140 'core/capture_controller_unittest.cc', | |
| 141 'core/compound_event_filter_unittest.cc', | |
| 142 'core/cursor_manager_unittest.cc', | |
| 143 'core/focus_controller_unittest.cc', | |
| 144 'core/image_grid_unittest.cc', | |
| 145 'core/shadow_controller_unittest.cc', | |
| 146 'core/shadow_unittest.cc', | |
| 147 'core/transient_window_manager_unittest.cc', | |
| 148 'core/transient_window_stacking_client_unittest.cc', | |
| 149 'core/visibility_controller_unittest.cc', | |
| 150 'core/window_animations_unittest.cc', | |
| 151 'core/window_util_unittest.cc', | |
| 152 'test/run_all_unittests.cc', | |
| 153 ], | |
| 154 }, | |
| 155 ], | |
| 156 'conditions': [ | |
| 157 ['test_isolation_mode != "noop"', { | |
| 158 'targets': [ | |
| 159 { | |
| 160 'target_name': 'wm_unittests_run', | |
| 161 'type': 'none', | |
| 162 'dependencies': [ | |
| 163 'wm_unittests', | |
| 164 ], | |
| 165 'includes': [ | |
| 166 '../../build/isolate.gypi', | |
| 167 ], | |
| 168 'sources': [ | |
| 169 'wm_unittests.isolate', | |
| 170 ], | |
| 171 }, | |
| 172 ], | |
| 173 }], | |
| 174 ], | |
| 175 } | |
| OLD | NEW |