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/gamma_ramp_rgb_entry.h',
30 'types/native_display_delegate.h',
31 'types/native_display_observer.h',
35 # GN version: //ui/display
36 'target_name': 'display',
37 'type': '<(component)',
39 '../../base/base.gyp:base',
40 '../../ui/gfx/gfx.gyp:gfx',
41 '../../ui/gfx/gfx.gyp:gfx_geometry',
45 'DISPLAY_IMPLEMENTATION',
48 # Note: file list duplicated in GN build.
49 'chromeos/apply_content_protection_task.cc',
50 'chromeos/apply_content_protection_task.h',
51 'chromeos/configure_displays_task.cc',
52 'chromeos/configure_displays_task.h',
53 'chromeos/display_configurator.cc',
54 'chromeos/display_configurator.h',
55 'chromeos/display_layout_manager.h',
56 'chromeos/display_util.cc',
57 'chromeos/display_util.h',
58 'chromeos/ozone/display_configurator_ozone.cc',
59 'chromeos/query_content_protection_task.cc',
60 'chromeos/query_content_protection_task.h',
61 'chromeos/update_display_configuration_task.cc',
62 'chromeos/update_display_configuration_task.h',
63 'chromeos/x11/display_configurator_x11.cc',
64 'chromeos/x11/display_mode_x11.cc',
65 'chromeos/x11/display_mode_x11.h',
66 'chromeos/x11/display_snapshot_x11.cc',
67 'chromeos/x11/display_snapshot_x11.h',
68 'chromeos/x11/display_util_x11.cc',
69 'chromeos/x11/display_util_x11.h',
70 'chromeos/x11/native_display_delegate_x11.cc',
71 'chromeos/x11/native_display_delegate_x11.h',
72 'chromeos/x11/native_display_event_dispatcher_x11.cc',
73 'chromeos/x11/native_display_event_dispatcher_x11.h',
75 'display_switches.cc',
81 '../../build/linux/system.gyp:x11',
82 '../../build/linux/system.gyp:xext',
83 '../../build/linux/system.gyp:xi',
84 '../../build/linux/system.gyp:xrandr',
85 '../../ui/events/platform/events_platform.gyp:events_platform',
93 ['chromeos == 1 and use_x11 == 1', {
95 '../gfx/x/gfx_x11.gyp:gfx_x11',
100 '../../ui/ozone/ozone.gyp:ozone',
106 # GN version: //ui/display/util
107 'target_name': 'display_util',
108 'type': '<(component)',
110 '../../base/base.gyp:base',
111 '../../ui/gfx/gfx.gyp:gfx_geometry',
114 'DISPLAY_UTIL_IMPLEMENTATION',
117 # Note: file list shared with GN build.
118 'util/display_util.cc',
119 'util/display_util.h',
120 'util/display_util_export.h',
121 'util/edid_parser.cc',
122 'util/edid_parser.h',
123 'util/x11/edid_parser_x11.cc',
124 'util/x11/edid_parser_x11.h',
129 '../../build/linux/system.gyp:x11',
130 '../../build/linux/system.gyp:xrandr',
131 '../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
142 # Used to share stubs with code outside ui/display
144 # GN version: //ui/display:test_util
145 'target_name': 'display_test_util',
146 'type': '<(component)',
148 '../../base/base.gyp:base',
149 '../../ui/gfx/gfx.gyp:gfx',
150 '../../ui/gfx/gfx.gyp:gfx_geometry',
153 'DISPLAY_IMPLEMENTATION',
156 # Note: file list duplicated in GN build.
157 'chromeos/test/test_display_snapshot.cc',
158 'chromeos/test/test_display_snapshot.h',
168 # Internal utilities used by display_unittests
170 'target_name': 'display_test_support',
171 'type': 'static_library',
173 '../../base/base.gyp:base',
174 '../../ui/gfx/gfx.gyp:gfx',
175 '../../ui/gfx/gfx.gyp:gfx_geometry',
178 'chromeos/test/action_logger.cc',
179 'chromeos/test/action_logger.h',
180 'chromeos/test/action_logger_util.cc',
181 'chromeos/test/action_logger_util.h',
182 'chromeos/test/test_display_layout_manager.cc',
183 'chromeos/test/test_display_layout_manager.h',
184 'chromeos/test/test_native_display_delegate.cc',
185 'chromeos/test/test_native_display_delegate.h',
189 # GN version: //ui/display:display_unittests
190 'target_name': 'display_unittests',
191 'type': 'executable',
193 '../../base/base.gyp:run_all_unittests',
194 '../../testing/gtest.gyp:gtest',
195 '../../ui/gfx/gfx.gyp:gfx_geometry',
202 'chromeos/apply_content_protection_task_unittest.cc',
203 'chromeos/configure_displays_task_unittest.cc',
204 'chromeos/display_configurator_unittest.cc',
205 'chromeos/query_content_protection_task_unittest.cc',
206 'chromeos/update_display_configuration_task_unittest.cc',
207 'chromeos/x11/display_util_x11_unittest.cc',
208 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc',
209 'util/display_util_unittest.cc',
210 'util/edid_parser_unittest.cc',
216 'display_test_support',