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/configure_displays_task.cc',
49 'chromeos/configure_displays_task.h',
50 'chromeos/display_configurator.cc',
51 'chromeos/display_configurator.h',
52 'chromeos/display_util.cc',
53 'chromeos/display_util.h',
54 'chromeos/ozone/display_configurator_ozone.cc',
55 'chromeos/update_display_configuration_task.cc',
56 'chromeos/update_display_configuration_task.h',
57 'chromeos/x11/display_configurator_x11.cc',
58 'chromeos/x11/display_mode_x11.cc',
59 'chromeos/x11/display_mode_x11.h',
60 'chromeos/x11/display_snapshot_x11.cc',
61 'chromeos/x11/display_snapshot_x11.h',
62 'chromeos/x11/display_util_x11.cc',
63 'chromeos/x11/display_util_x11.h',
64 'chromeos/x11/native_display_delegate_x11.cc',
65 'chromeos/x11/native_display_delegate_x11.h',
66 'chromeos/x11/native_display_event_dispatcher_x11.cc',
67 'chromeos/x11/native_display_event_dispatcher_x11.h',
69 'display_switches.cc',
75 '../../build/linux/system.gyp:x11',
76 '../../build/linux/system.gyp:xext',
77 '../../build/linux/system.gyp:xi',
78 '../../build/linux/system.gyp:xrandr',
79 '../../ui/events/platform/events_platform.gyp:events_platform',
87 ['chromeos == 1 and use_x11 == 1', {
89 '../gfx/x/gfx_x11.gyp:gfx_x11',
94 '../../ui/ozone/ozone.gyp:ozone',
100 # GN version: //ui/display/util
101 'target_name': 'display_util',
102 'type': '<(component)',
104 '../../base/base.gyp:base',
105 '../../ui/gfx/gfx.gyp:gfx_geometry',
108 'DISPLAY_UTIL_IMPLEMENTATION',
111 # Note: file list shared with GN build.
112 'util/display_util.cc',
113 'util/display_util.h',
114 'util/display_util_export.h',
115 'util/edid_parser.cc',
116 'util/edid_parser.h',
117 'util/x11/edid_parser_x11.cc',
118 'util/x11/edid_parser_x11.h',
123 '../../build/linux/system.gyp:x11',
124 '../../build/linux/system.gyp:xrandr',
125 '../../ui/gfx/x/gfx_x11.gyp:gfx_x11',
136 # Used to share stubs with code outside ui/display
138 # GN version: //ui/display:test_util
139 'target_name': 'display_test_util',
140 'type': '<(component)',
142 '../../base/base.gyp:base',
143 '../../ui/gfx/gfx.gyp:gfx',
144 '../../ui/gfx/gfx.gyp:gfx_geometry',
147 'DISPLAY_IMPLEMENTATION',
150 # Note: file list duplicated in GN build.
151 'chromeos/test/test_display_snapshot.cc',
152 'chromeos/test/test_display_snapshot.h',
162 # Internal utilities used by display_unittests
164 'target_name': 'display_test_support',
165 'type': 'static_library',
167 '../../base/base.gyp:base',
168 '../../ui/gfx/gfx.gyp:gfx',
169 '../../ui/gfx/gfx.gyp:gfx_geometry',
172 'chromeos/test/action_logger.cc',
173 'chromeos/test/action_logger.h',
174 'chromeos/test/action_logger_util.cc',
175 'chromeos/test/action_logger_util.h',
176 'chromeos/test/test_native_display_delegate.cc',
177 'chromeos/test/test_native_display_delegate.h',
181 # GN version: //ui/display:display_unittests
182 'target_name': 'display_unittests',
183 'type': 'executable',
185 '../../base/base.gyp:run_all_unittests',
186 '../../testing/gtest.gyp:gtest',
187 '../../ui/gfx/gfx.gyp:gfx_geometry',
194 'chromeos/configure_displays_task_unittest.cc',
195 'chromeos/display_configurator_unittest.cc',
196 'chromeos/update_display_configuration_task_unittest.cc',
197 'chromeos/x11/display_util_x11_unittest.cc',
198 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc',
199 'util/display_util_unittest.cc',
200 'util/edid_parser_unittest.cc',
206 'display_test_support',