OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { |
(...skipping 28 matching lines...) Expand all Loading... |
39 '../../base/base.gyp:base', | 39 '../../base/base.gyp:base', |
40 '../../ui/gfx/gfx.gyp:gfx', | 40 '../../ui/gfx/gfx.gyp:gfx', |
41 '../../ui/gfx/gfx.gyp:gfx_geometry', | 41 '../../ui/gfx/gfx.gyp:gfx_geometry', |
42 'display_util', | 42 'display_util', |
43 ], | 43 ], |
44 'defines': [ | 44 'defines': [ |
45 'DISPLAY_IMPLEMENTATION', | 45 'DISPLAY_IMPLEMENTATION', |
46 ], | 46 ], |
47 'sources': [ | 47 'sources': [ |
48 # Note: file list duplicated in GN build. | 48 # Note: file list duplicated in GN build. |
| 49 'android/screen_android.cc', |
49 'chromeos/apply_content_protection_task.cc', | 50 'chromeos/apply_content_protection_task.cc', |
50 'chromeos/apply_content_protection_task.h', | 51 'chromeos/apply_content_protection_task.h', |
51 'chromeos/configure_displays_task.cc', | 52 'chromeos/configure_displays_task.cc', |
52 'chromeos/configure_displays_task.h', | 53 'chromeos/configure_displays_task.h', |
53 'chromeos/display_configurator.cc', | 54 'chromeos/display_configurator.cc', |
54 'chromeos/display_configurator.h', | 55 'chromeos/display_configurator.h', |
55 'chromeos/display_layout_manager.h', | 56 'chromeos/display_layout_manager.h', |
56 'chromeos/display_snapshot_virtual.cc', | 57 'chromeos/display_snapshot_virtual.cc', |
57 'chromeos/display_snapshot_virtual.h', | 58 'chromeos/display_snapshot_virtual.h', |
58 'chromeos/display_util.cc', | 59 'chromeos/display_util.cc', |
59 'chromeos/display_util.h', | 60 'chromeos/display_util.h', |
60 'chromeos/query_content_protection_task.cc', | 61 'chromeos/query_content_protection_task.cc', |
61 'chromeos/query_content_protection_task.h', | 62 'chromeos/query_content_protection_task.h', |
62 'chromeos/update_display_configuration_task.cc', | 63 'chromeos/update_display_configuration_task.cc', |
63 'chromeos/update_display_configuration_task.h', | 64 'chromeos/update_display_configuration_task.h', |
64 'chromeos/x11/display_mode_x11.cc', | 65 'chromeos/x11/display_mode_x11.cc', |
65 'chromeos/x11/display_mode_x11.h', | 66 'chromeos/x11/display_mode_x11.h', |
66 'chromeos/x11/display_snapshot_x11.cc', | 67 'chromeos/x11/display_snapshot_x11.cc', |
67 'chromeos/x11/display_snapshot_x11.h', | 68 'chromeos/x11/display_snapshot_x11.h', |
68 'chromeos/x11/display_util_x11.cc', | 69 'chromeos/x11/display_util_x11.cc', |
69 'chromeos/x11/display_util_x11.h', | 70 'chromeos/x11/display_util_x11.h', |
70 'chromeos/x11/native_display_delegate_x11.cc', | 71 'chromeos/x11/native_display_delegate_x11.cc', |
71 'chromeos/x11/native_display_delegate_x11.h', | 72 'chromeos/x11/native_display_delegate_x11.h', |
72 'chromeos/x11/native_display_event_dispatcher_x11.cc', | 73 'chromeos/x11/native_display_event_dispatcher_x11.cc', |
73 'chromeos/x11/native_display_event_dispatcher_x11.h', | 74 'chromeos/x11/native_display_event_dispatcher_x11.h', |
74 'display.h', | 75 'display.h', |
| 76 'display_change_notifier.cc', |
| 77 'display_change_notifier.h', |
75 'display_export.h', | 78 'display_export.h', |
76 'display_finder.cc', | 79 'display_finder.cc', |
77 'display_finder.h', | 80 'display_finder.h', |
| 81 'display_observer.cc', |
78 'display_observer.h', | 82 'display_observer.h', |
79 'display_switches.cc', | 83 'display_switches.cc', |
80 'display_switches.h', | 84 'display_switches.h', |
| 85 'ios/screen_ios.mm', |
| 86 'mac/screen_mac.mm', |
81 'manager/display_layout.cc', | 87 'manager/display_layout.cc', |
82 'manager/display_layout.h', | 88 'manager/display_layout.h', |
83 'manager/display_layout_builder.cc', | 89 'manager/display_layout_builder.cc', |
84 'manager/display_layout_builder.h', | 90 'manager/display_layout_builder.h', |
| 91 'screen.cc', |
85 'screen.h', | 92 'screen.h', |
| 93 'screen_aura.cc', |
86 'win/display_info.cc', | 94 'win/display_info.cc', |
87 'win/display_info.h', | 95 'win/display_info.h', |
88 'win/dpi.cc', | 96 'win/dpi.cc', |
89 'win/dpi.h', | 97 'win/dpi.h', |
90 'win/screen_win.cc', | 98 'win/screen_win.cc', |
91 'win/screen_win.h', | 99 'win/screen_win.h', |
92 'win/screen_win_display.cc', | 100 'win/screen_win_display.cc', |
93 'win/screen_win_display.h', | 101 'win/screen_win_display.h', |
94 ], | 102 ], |
95 'conditions': [ | 103 'conditions': [ |
96 ['use_x11 == 1', { | 104 ['use_x11 == 1', { |
97 'dependencies': [ | 105 'dependencies': [ |
98 '../../build/linux/system.gyp:x11', | 106 '../../build/linux/system.gyp:x11', |
99 '../../build/linux/system.gyp:xext', | 107 '../../build/linux/system.gyp:xext', |
100 '../../build/linux/system.gyp:xi', | 108 '../../build/linux/system.gyp:xi', |
101 '../../build/linux/system.gyp:xrandr', | 109 '../../build/linux/system.gyp:xrandr', |
102 '../../ui/events/platform/events_platform.gyp:events_platform', | 110 '../../ui/events/platform/events_platform.gyp:events_platform', |
103 ], | 111 ], |
104 }], | 112 }], |
105 ['chromeos == 1', { | 113 ['chromeos == 1', { |
106 'dependencies': [ | 114 'dependencies': [ |
107 'display_types', | 115 'display_types', |
108 ], | 116 ], |
109 }], | 117 }], |
110 ['chromeos == 1 and use_x11 == 1', { | 118 ['chromeos == 1 and use_x11 == 1', { |
111 'dependencies': [ | 119 'dependencies': [ |
112 '../gfx/x/gfx_x11.gyp:gfx_x11', | 120 '../gfx/x/gfx_x11.gyp:gfx_x11', |
113 ], | 121 ], |
114 }], | 122 }], |
| 123 ['OS=="android" and use_aura==1', { |
| 124 'sources!': [ |
| 125 'android/screen_android.cc', |
| 126 ], |
| 127 }], |
115 ], | 128 ], |
116 }, | 129 }, |
117 { | 130 { |
118 # GN version: //ui/display/util | 131 # GN version: //ui/display/util |
119 'target_name': 'display_util', | 132 'target_name': 'display_util', |
120 'type': '<(component)', | 133 'type': '<(component)', |
121 'dependencies': [ | 134 'dependencies': [ |
122 '../../base/base.gyp:base', | 135 '../../base/base.gyp:base', |
123 '../../ui/gfx/gfx.gyp:gfx_geometry', | 136 '../../ui/gfx/gfx.gyp:gfx_geometry', |
124 ], | 137 ], |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 ], | 201 ], |
189 'sources': [ | 202 'sources': [ |
190 'chromeos/test/action_logger.cc', | 203 'chromeos/test/action_logger.cc', |
191 'chromeos/test/action_logger.h', | 204 'chromeos/test/action_logger.h', |
192 'chromeos/test/action_logger_util.cc', | 205 'chromeos/test/action_logger_util.cc', |
193 'chromeos/test/action_logger_util.h', | 206 'chromeos/test/action_logger_util.h', |
194 'chromeos/test/test_display_layout_manager.cc', | 207 'chromeos/test/test_display_layout_manager.cc', |
195 'chromeos/test/test_display_layout_manager.h', | 208 'chromeos/test/test_display_layout_manager.h', |
196 'chromeos/test/test_native_display_delegate.cc', | 209 'chromeos/test/test_native_display_delegate.cc', |
197 'chromeos/test/test_native_display_delegate.h', | 210 'chromeos/test/test_native_display_delegate.h', |
198 'test/display_util.h', | |
199 'test/test_screen.cc', | 211 'test/test_screen.cc', |
200 'test/test_screen.h', | 212 'test/test_screen.h', |
201 ], | 213 ], |
202 }, | 214 }, |
203 { | 215 { |
204 # GN version: //ui/display:display_unittests | 216 # GN version: //ui/display:display_unittests |
205 'target_name': 'display_unittests', | 217 'target_name': 'display_unittests', |
206 'type': 'executable', | 218 'type': 'executable', |
207 'dependencies': [ | 219 'dependencies': [ |
208 '../../base/base.gyp:run_all_unittests', | 220 '../../base/base.gyp:run_all_unittests', |
209 '../../testing/gtest.gyp:gtest', | 221 '../../testing/gtest.gyp:gtest', |
210 '../../ui/gfx/gfx.gyp:gfx_geometry', | 222 '../../ui/gfx/gfx.gyp:gfx_geometry', |
211 '../../ui/gfx/gfx.gyp:gfx_test_support', | 223 '../../ui/gfx/gfx.gyp:gfx_test_support', |
212 'display', | 224 'display', |
213 'display_util', | 225 'display_util', |
214 ], | 226 ], |
215 'include_dirs': [ | 227 'include_dirs': [ |
216 '../..', | 228 '../..', |
217 ], | 229 ], |
218 'sources': [ | 230 'sources': [ |
219 'chromeos/apply_content_protection_task_unittest.cc', | 231 'chromeos/apply_content_protection_task_unittest.cc', |
220 'chromeos/configure_displays_task_unittest.cc', | 232 'chromeos/configure_displays_task_unittest.cc', |
221 'chromeos/display_configurator_unittest.cc', | 233 'chromeos/display_configurator_unittest.cc', |
222 'chromeos/query_content_protection_task_unittest.cc', | 234 'chromeos/query_content_protection_task_unittest.cc', |
223 'chromeos/update_display_configuration_task_unittest.cc', | 235 'chromeos/update_display_configuration_task_unittest.cc', |
224 'chromeos/x11/display_util_x11_unittest.cc', | 236 'chromeos/x11/display_util_x11_unittest.cc', |
225 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc', | 237 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc', |
| 238 'display_change_notifier_unittest.cc', |
| 239 'display_unittest.cc', |
226 'manager/display_layout_builder_unittest.cc', | 240 'manager/display_layout_builder_unittest.cc', |
227 'manager/display_layout_unittest.cc', | 241 'manager/display_layout_unittest.cc', |
| 242 'screen_unittest.cc', |
228 'util/display_util_unittest.cc', | 243 'util/display_util_unittest.cc', |
229 'util/edid_parser_unittest.cc', | 244 'util/edid_parser_unittest.cc', |
230 'win/screen_win_unittest.cc', | 245 'win/screen_win_unittest.cc', |
231 ], | 246 ], |
232 'conditions': [ | 247 'conditions': [ |
233 ['chromeos == 1', { | 248 ['chromeos == 1', { |
234 'dependencies': [ | 249 'dependencies': [ |
235 'display', | 250 'display', |
236 'display_test_support', | 251 'display_test_support', |
237 'display_test_util', | 252 'display_test_util', |
238 'display_types', | 253 'display_types', |
239 ], | 254 ], |
240 }], | 255 }], |
| 256 ['use_aura==1', { |
| 257 'sources!': [ |
| 258 'screen_unittest.cc', |
| 259 ], |
| 260 }], |
241 ], | 261 ], |
242 }, | 262 }, |
243 ], | 263 ], |
244 'conditions': [ | 264 'conditions': [ |
245 ['test_isolation_mode != "noop"', { | 265 ['test_isolation_mode != "noop"', { |
246 'targets': [ | 266 'targets': [ |
247 { | 267 { |
248 'target_name': 'display_unittests_run', | 268 'target_name': 'display_unittests_run', |
249 'type': 'none', | 269 'type': 'none', |
250 'dependencies': [ | 270 'dependencies': [ |
251 'display_unittests', | 271 'display_unittests', |
252 ], | 272 ], |
253 'includes': [ | 273 'includes': [ |
254 '../../build/isolate.gypi', | 274 '../../build/isolate.gypi', |
255 ], | 275 ], |
256 'sources': [ | 276 'sources': [ |
257 'display_unittests.isolate', | 277 'display_unittests.isolate', |
258 ], | 278 ], |
259 }, | 279 }, |
260 ], | 280 ], |
261 }], | 281 }], |
262 ], | 282 ], |
263 } | 283 } |
OLD | NEW |