Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: ash/wm/common/BUILD.gn

Issue 2018753003: Moves ash/wm/common back into ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove BUILD.gn again Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/wm/common/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 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 import("//build/config/features.gni")
6 import("//build/config/ui.gni")
7 import("//testing/test.gni")
8 import("//ui/base/ui_features.gni")
9
10 assert(use_aura)
11 assert(enable_hidpi)
12
13 # This target contains window management code used by both mash and ash. It
14 # should not use aura::Window, but may use parts of aura client code that don't
15 # depend upon aura::Window directly or indirectly.
16 component("ash_wm_common") {
17 sources = [
18 "always_on_top_controller.cc",
19 "always_on_top_controller.h",
20 "ash_wm_common_export.h",
21 "background_animator.cc",
22 "background_animator.h",
23 "container_finder.cc",
24 "container_finder.h",
25 "default_state.cc",
26 "default_state.h",
27 "default_window_resizer.cc",
28 "default_window_resizer.h",
29 "dock/docked_window_layout_manager.cc",
30 "dock/docked_window_layout_manager.h",
31 "dock/docked_window_layout_manager_observer.h",
32 "dock/docked_window_resizer.cc",
33 "dock/docked_window_resizer.h",
34 "drag_details.cc",
35 "drag_details.h",
36 "fullscreen_window_finder.cc",
37 "fullscreen_window_finder.h",
38 "panels/panel_layout_manager.cc",
39 "panels/panel_layout_manager.h",
40 "panels/panel_window_resizer.cc",
41 "panels/panel_window_resizer.h",
42 "root_window_finder.cc",
43 "root_window_finder.h",
44 "shelf/wm_shelf.h",
45 "shelf/wm_shelf_constants.cc",
46 "shelf/wm_shelf_constants.h",
47 "shelf/wm_shelf_observer.h",
48 "shelf/wm_shelf_types.h",
49 "shelf/wm_shelf_util.cc",
50 "shelf/wm_shelf_util.h",
51 "switchable_windows.cc",
52 "switchable_windows.h",
53 "window_animation_types.h",
54 "window_parenting_utils.cc",
55 "window_parenting_utils.h",
56 "window_positioner.cc",
57 "window_positioner.h",
58 "window_positioning_utils.cc",
59 "window_positioning_utils.h",
60 "window_resizer.cc",
61 "window_resizer.h",
62 "window_state.cc",
63 "window_state.h",
64 "window_state_delegate.cc",
65 "window_state_delegate.h",
66 "window_state_observer.h",
67 "window_state_util.cc",
68 "window_state_util.h",
69 "wm_activation_observer.h",
70 "wm_display_observer.h",
71 "wm_event.cc",
72 "wm_event.h",
73 "wm_globals.cc",
74 "wm_globals.h",
75 "wm_layout_manager.h",
76 "wm_lookup.cc",
77 "wm_lookup.h",
78 "wm_overview_mode_observer.h",
79 "wm_root_window_controller.h",
80 "wm_root_window_controller_observer.h",
81 "wm_screen_util.cc",
82 "wm_screen_util.h",
83 "wm_snap_to_pixel_layout_manager.cc",
84 "wm_snap_to_pixel_layout_manager.h",
85 "wm_toplevel_window_event_handler.cc",
86 "wm_toplevel_window_event_handler.h",
87 "wm_types.cc",
88 "wm_types.h",
89 "wm_user_metrics_action.h",
90 "wm_window.h",
91 "wm_window_observer.h",
92 "wm_window_property.h",
93 "wm_window_tracker.h",
94 "workspace/magnetism_matcher.cc",
95 "workspace/magnetism_matcher.h",
96 "workspace/multi_window_resize_controller.cc",
97 "workspace/multi_window_resize_controller.h",
98 "workspace/phantom_window_controller.cc",
99 "workspace/phantom_window_controller.h",
100 "workspace/two_step_edge_cycler.cc",
101 "workspace/two_step_edge_cycler.h",
102 "workspace/workspace_layout_manager.cc",
103 "workspace/workspace_layout_manager.h",
104 "workspace/workspace_layout_manager_backdrop_delegate.h",
105 "workspace/workspace_layout_manager_delegate.h",
106 "workspace/workspace_types.h",
107 "workspace/workspace_window_resizer.cc",
108 "workspace/workspace_window_resizer.h",
109 ]
110
111 configs += [ "//build/config:precompiled_headers" ]
112
113 defines = [ "ASH_WM_COMMON_IMPLEMENTATION" ]
114
115 deps = [
116 "//ash/wm/common/resources",
117 "//base",
118 "//skia",
119
120 # TODO(sky): remove aura dependencies. Currently the usage is for
121 # aura/client code, and not aura::Window, but it would be nice to remove
122 # this entirely.
123 "//ui/aura",
124 "//ui/base",
125 "//ui/compositor",
126 "//ui/display",
127 "//ui/events",
128 "//ui/events:events_base",
129 "//ui/gfx",
130 "//ui/gfx/geometry",
131 "//ui/keyboard",
132 "//ui/views",
133 "//ui/wm",
134 ]
135
136 if (is_win) {
137 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
138 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
139 }
140 }
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/wm/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698