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
3 # found in the LICENSE file.
11 # GN version: //ui/display/types
12 'target_name': 'display_types',
13 'type': '<(component)',
15 '../../base/base.gyp:base',
16 '../../ui/gfx/gfx.gyp:gfx_geometry',
19 'DISPLAY_TYPES_IMPLEMENTATION',
22 # Note: file list duplicated in GN build.
23 'types/display_constants.h',
24 'types/display_mode.cc',
25 'types/display_mode.h',
26 'types/display_snapshot.cc',
27 'types/display_snapshot.h',
28 'types/display_types_export.h',
29 'types/native_display_delegate.h',
30 'types/native_display_observer.h',
34 # GN version: //ui/display
35 'target_name': 'display',
36 'type': '<(component)',
38 '../../base/base.gyp:base',
39 '../../ui/gfx/gfx.gyp:gfx',
40 '../../ui/gfx/gfx.gyp:gfx_geometry',
44 'DISPLAY_IMPLEMENTATION',
47 # Note: file list duplicated in GN build.
48 'chromeos/apply_content_protection_task.cc',
49 'chromeos/apply_content_protection_task.h',
50 'chromeos/configure_displays_task.cc',
51 'chromeos/configure_displays_task.h',
52 'chromeos/display_configurator.cc',
53 'chromeos/display_configurator.h',
54 'chromeos/display_layout_manager.h',
55 'chromeos/display_util.cc',
56 'chromeos/display_util.h',
57 'chromeos/ozone/display_configurator_ozone.cc',
58 'chromeos/query_content_protection_task.cc',
59 'chromeos/query_content_protection_task.h',
60 'chromeos/update_display_configuration_task.cc',
61 'chromeos/update_display_configuration_task.h',
62 'chromeos/x11/display_configurator_x11.cc',
63 'chromeos/x11/display_mode_x11.cc',
64 'chromeos/x11/display_mode_x11.h',
65 'chromeos/x11/display_snapshot_x11.cc',
66 'chromeos/x11/display_snapshot_x11.h',
67 'chromeos/x11/display_util_x11.cc',
68 'chromeos/x11/display_util_x11.h',
69 'chromeos/x11/native_display_delegate_x11.cc',
70 'chromeos/x11/native_display_delegate_x11.h',
71 'chromeos/x11/native_display_event_dispatcher_x11.cc',
72 'chromeos/x11/native_display_event_dispatcher_x11.h',
74 'display_switches.cc',
80 '../../build/linux/system.gyp:x11',
81 '../../build/linux/system.gyp:xext',
82 '../../build/linux/system.gyp:xi',
83 '../../build/linux/system.gyp:xrandr',
84 '../../ui/events/platform/events_platform.gyp:events_platform',
92 ['chromeos == 1 and use_x11 == 1', {
94 '../gfx/x/gfx_x11.gyp:gfx_x11',
99 '../../ui/ozone/ozone.gyp:ozone',
105 # GN version: //ui/display/util
106 'target_name': 'display_util',
107 'type': '<(component)',
109 '../../base/base.gyp:base',
110 '../../ui/gfx/gfx.gyp:gfx_geometry',
113 'DISPLAY_UTIL_IMPLEMENTATION',
116 # Note: file list shared with GN build.
117 'util/display_util.cc',
118 'util/display_util.h',
119 'util/display_util_export.h',
120 'util/edid_parser.cc',
121 'util/edid_parser.h',
122 'util/x11/edid_parser_x11.cc',
123 'util/x11/edid_parser_x11.h',
128 '../../build/linux/system.gyp:x11',
129 '../../build/linux/system.gyp:xrandr',
130 '../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
141 # Used to share stubs with code outside ui/display
143 # GN version: //ui/display:test_util
144 'target_name': 'display_test_util',
145 'type': '<(component)',
147 '../../base/base.gyp:base',
148 '../../ui/gfx/gfx.gyp:gfx',
149 '../../ui/gfx/gfx.gyp:gfx_geometry',
152 'DISPLAY_IMPLEMENTATION',
155 # Note: file list duplicated in GN build.
156 'chromeos/test/test_display_snapshot.cc',
157 'chromeos/test/test_display_snapshot.h',
167 # Internal utilities used by display_unittests
169 'target_name': 'display_test_support',
170 'type': 'static_library',
172 '../../base/base.gyp:base',
173 '../../ui/gfx/gfx.gyp:gfx',
174 '../../ui/gfx/gfx.gyp:gfx_geometry',
177 'chromeos/test/action_logger.cc',
178 'chromeos/test/action_logger.h',
179 'chromeos/test/action_logger_util.cc',
180 'chromeos/test/action_logger_util.h',
181 'chromeos/test/test_display_layout_manager.cc',
182 'chromeos/test/test_display_layout_manager.h',
183 'chromeos/test/test_native_display_delegate.cc',
184 'chromeos/test/test_native_display_delegate.h',
188 # GN version: //ui/display:display_unittests
189 'target_name': 'display_unittests',
190 'type': 'executable',
192 '../../base/base.gyp:run_all_unittests',
193 '../../testing/gtest.gyp:gtest',
194 '../../ui/gfx/gfx.gyp:gfx_geometry',
201 'chromeos/apply_content_protection_task_unittest.cc',
202 'chromeos/configure_displays_task_unittest.cc',
203 'chromeos/display_configurator_unittest.cc',
204 'chromeos/query_content_protection_task_unittest.cc',
205 'chromeos/update_display_configuration_task_unittest.cc',
206 'chromeos/x11/display_util_x11_unittest.cc',
207 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc',
208 'util/display_util_unittest.cc',
209 'util/edid_parser_unittest.cc',
215 'display_test_support',