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_dri_unittests',
13 'internal_ozone_platforms': [
16 'use_drm_atomic_flip%': 0,
20 'target_name': 'ozone_platform_dri',
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/events.gyp:events',
30 '../events/ozone/events_ozone.gyp:events_ozone_evdev',
32 '../gfx/gfx.gyp:gfx_geometry',
35 'OZONE_IMPLEMENTATION',
43 'display_mode_dri.cc',
45 'display_snapshot_dri.cc',
46 'display_snapshot_dri.h',
47 'dri_console_buffer.cc',
48 'dri_console_buffer.h',
53 'dri_gpu_platform_support.cc',
54 'dri_gpu_platform_support.h',
55 'dri_gpu_platform_support_host.cc',
56 'dri_gpu_platform_support_host.h',
59 'dri_surface_factory.cc',
60 'dri_surface_factory.h',
63 'dri_vsync_provider.cc',
64 'dri_vsync_provider.h',
67 'dri_window_delegate.h',
68 'dri_window_delegate_impl.cc',
69 'dri_window_delegate_impl.h',
70 'dri_window_delegate_manager.cc',
71 'dri_window_delegate_manager.h',
72 'dri_window_manager.cc',
73 'dri_window_manager.h',
76 'hardware_display_controller.cc',
77 'hardware_display_controller.h',
78 'native_display_delegate_dri.cc',
79 'native_display_delegate_dri.h',
80 'native_display_delegate_proxy.cc',
81 'native_display_delegate_proxy.h',
84 'ozone_platform_dri.cc',
85 'ozone_platform_dri.h',
86 'scoped_drm_types.cc',
93 ['use_drm_atomic_flip==1', {
95 'hardware_display_plane.cc',
96 'hardware_display_plane.h',
97 'hardware_display_plane_manager.cc',
98 'hardware_display_plane_manager.h',
104 'target_name': 'ozone_platform_dri_unittests',
107 '../../build/linux/system.gyp:libdrm',
108 '../../skia/skia.gyp:skia',
109 '../gfx/gfx.gyp:gfx_geometry',
110 'ozone_platform_dri',
112 'export_dependent_settings': [
113 '../../build/linux/system.gyp:libdrm',
114 '../../skia/skia.gyp:skia',
115 '../gfx/gfx.gyp:gfx_geometry',
117 'direct_dependent_settings': {
119 'dri_surface_factory_unittest.cc',
120 'dri_surface_unittest.cc',
121 'hardware_display_controller_unittest.cc',
122 'screen_manager_unittest.cc',
123 'test/mock_dri_wrapper.cc',
124 'test/mock_dri_wrapper.h',