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.
7 'internal_ozone_platform_deps': [
10 'internal_ozone_platform_unittest_deps': [
11 'ozone_platform_drm_unittests',
13 'internal_ozone_platforms': [
20 'target_name': 'ozone_platform_drm',
21 'type': 'static_library',
23 '../../base/base.gyp:base',
24 '../../build/linux/system.gyp:libdrm',
25 '../../skia/skia.gyp:skia',
26 '../base/ui_base.gyp:ui_base',
27 '../display/display.gyp:display_types',
28 '../display/display.gyp:display_util',
29 '../events/devices/events_devices.gyp:events_devices',
30 '../events/events.gyp:events',
31 '../events/ozone/events_ozone.gyp:events_ozone_evdev',
32 '../events/ozone/events_ozone.gyp:events_ozone_layout',
33 '../events/platform/events_platform.gyp:events_platform',
35 '../gfx/gfx.gyp:gfx_geometry',
38 'OZONE_IMPLEMENTATION',
43 'common/scoped_drm_types.cc',
44 'common/scoped_drm_types.h',
45 'gpu/crtc_controller.cc',
46 'gpu/crtc_controller.h',
47 'gpu/display_change_observer.h',
50 'gpu/drm_console_buffer.cc',
51 'gpu/drm_console_buffer.h',
54 'gpu/drm_device_generator.cc',
55 'gpu/drm_device_generator.h',
56 'gpu/drm_device_manager.cc',
57 'gpu/drm_device_manager.h',
60 'gpu/drm_gpu_display_manager.cc',
61 'gpu/drm_gpu_display_manager.h',
62 'gpu/drm_gpu_platform_support.cc',
63 'gpu/drm_gpu_platform_support.h',
66 'gpu/drm_surface_factory.cc',
67 'gpu/drm_surface_factory.h',
68 'gpu/drm_vsync_provider.cc',
69 'gpu/drm_vsync_provider.h',
72 'gpu/hardware_display_controller.cc',
73 'gpu/hardware_display_controller.h',
74 'gpu/hardware_display_plane.cc',
75 'gpu/hardware_display_plane.h',
76 'gpu/hardware_display_plane_manager.cc',
77 'gpu/hardware_display_plane_manager.h',
78 'gpu/hardware_display_plane_manager_legacy.cc',
79 'gpu/hardware_display_plane_manager_legacy.h',
80 'gpu/overlay_plane.cc',
81 'gpu/overlay_plane.h',
82 'gpu/page_flip_request.cc',
83 'gpu/page_flip_request.h',
84 'gpu/screen_manager.cc',
85 'gpu/screen_manager.h',
86 'host/channel_observer.h',
89 'host/drm_device_handle.cc',
90 'host/drm_device_handle.h',
91 'host/drm_display_host.cc',
92 'host/drm_display_host.h',
93 'host/drm_display_host_manager.cc',
94 'host/drm_display_host_manager.h',
95 'host/drm_gpu_platform_support_host.cc',
96 'host/drm_gpu_platform_support_host.h',
97 'host/drm_native_display_delegate.cc',
98 'host/drm_native_display_delegate.h',
99 'host/drm_overlay_candidates_host.cc',
100 'host/drm_overlay_candidates_host.h',
101 'host/drm_overlay_manager.cc',
102 'host/drm_overlay_manager.h',
103 'host/drm_window_host.cc',
104 'host/drm_window_host.h',
105 'host/drm_window_host_manager.cc',
106 'host/drm_window_host_manager.h',
107 'ozone_platform_drm.cc',
108 'ozone_platform_drm.h',
112 ['use_drm_atomic == 1', {
114 'gpu/hardware_display_plane_atomic.cc',
115 'gpu/hardware_display_plane_atomic.h',
116 'gpu/hardware_display_plane_manager_atomic.cc',
117 'gpu/hardware_display_plane_manager_atomic.h',
126 'target_name': 'ozone_platform_drm_unittests',
129 '../../build/linux/system.gyp:libdrm',
130 '../../skia/skia.gyp:skia',
131 '../gfx/gfx.gyp:gfx',
132 '../gfx/gfx.gyp:gfx_geometry',
135 'export_dependent_settings': [
136 '../../build/linux/system.gyp:libdrm',
137 '../../skia/skia.gyp:skia',
138 '../gfx/gfx.gyp:gfx_geometry',
140 'direct_dependent_settings': {
142 'gpu/drm_surface_unittest.cc',
143 'gpu/drm_window_unittest.cc',
144 'gpu/hardware_display_controller_unittest.cc',
145 'gpu/hardware_display_plane_manager_unittest.cc',
146 'gpu/screen_manager_unittest.cc',
147 'test/mock_drm_device.cc',
148 'test/mock_drm_device.h',