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',
41 'drm_surface_factory.cc',
42 'drm_surface_factory.h',
43 'gpu/crtc_controller.cc',
44 'gpu/crtc_controller.h',
45 'gpu/display_change_observer.h',
48 'gpu/drm_console_buffer.cc',
49 'gpu/drm_console_buffer.h',
52 'gpu/drm_device_generator.cc',
53 'gpu/drm_device_generator.h',
54 'gpu/drm_device_manager.cc',
55 'gpu/drm_device_manager.h',
56 'gpu/drm_display_mode.cc',
57 'gpu/drm_display_mode.h',
58 'gpu/drm_display_snapshot.cc',
59 'gpu/drm_display_snapshot.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',
68 'gpu/drm_vsync_provider.cc',
69 'gpu/drm_vsync_provider.h',
74 'gpu/hardware_display_controller.cc',
75 'gpu/hardware_display_controller.h',
76 'gpu/hardware_display_plane.cc',
77 'gpu/hardware_display_plane.h',
78 'gpu/hardware_display_plane_manager.cc',
79 'gpu/hardware_display_plane_manager.h',
80 'gpu/hardware_display_plane_manager_legacy.cc',
81 'gpu/hardware_display_plane_manager_legacy.h',
82 'gpu/overlay_plane.cc',
83 'gpu/overlay_plane.h',
84 'gpu/scoped_drm_types.cc',
85 'gpu/scoped_drm_types.h',
86 'gpu/screen_manager.cc',
87 'gpu/screen_manager.h',
88 'host/channel_observer.h',
89 'host/display_manager.cc',
90 'host/display_manager.h',
93 'host/drm_gpu_platform_support_host.cc',
94 'host/drm_gpu_platform_support_host.h',
95 'host/drm_native_display_delegate.cc',
96 'host/drm_native_display_delegate.h',
97 'host/drm_window_host.cc',
98 'host/drm_window_host.h',
99 'host/drm_window_host_manager.cc',
100 'host/drm_window_host_manager.h',
101 'ozone_platform_drm.cc',
102 'ozone_platform_drm.h',
107 'target_name': 'ozone_platform_drm_unittests',
110 '../../build/linux/system.gyp:libdrm',
111 '../../skia/skia.gyp:skia',
112 '../gfx/gfx.gyp:gfx_geometry',
115 'export_dependent_settings': [
116 '../../build/linux/system.gyp:libdrm',
117 '../../skia/skia.gyp:skia',
118 '../gfx/gfx.gyp:gfx_geometry',
120 'direct_dependent_settings': {
122 'gpu/drm_surface_unittest.cc',
123 'gpu/drm_window_unittest.cc',
124 'gpu/hardware_display_controller_unittest.cc',
125 'gpu/hardware_display_plane_manager_unittest.cc',
126 'gpu/screen_manager_unittest.cc',
127 'test/mock_drm_device.cc',
128 'test/mock_drm_device.h',