| OLD | NEW |
| (Empty) | |
| 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. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'internal_ozone_platform_deps': [ |
| 8 'ozone_platform_drm', |
| 9 ], |
| 10 'internal_ozone_platform_unittest_deps': [ |
| 11 'ozone_platform_drm_unittests', |
| 12 ], |
| 13 'internal_ozone_platforms': [ |
| 14 'drm', |
| 15 ], |
| 16 'use_drm_atomic%': 0, |
| 17 }, |
| 18 'targets': [ |
| 19 { |
| 20 'target_name': 'ozone_platform_drm', |
| 21 'type': 'static_library', |
| 22 'dependencies': [ |
| 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', |
| 34 '../gfx/gfx.gyp:gfx', |
| 35 '../gfx/gfx.gyp:gfx_geometry', |
| 36 ], |
| 37 'defines': [ |
| 38 'OZONE_IMPLEMENTATION', |
| 39 ], |
| 40 'sources': [ |
| 41 'common/client_native_pixmap_factory_drm.cc', |
| 42 'common/client_native_pixmap_factory_drm.h', |
| 43 'common/drm_util.cc', |
| 44 'common/drm_util.h', |
| 45 'common/scoped_drm_types.cc', |
| 46 'common/scoped_drm_types.h', |
| 47 'gpu/crtc_controller.cc', |
| 48 'gpu/crtc_controller.h', |
| 49 'gpu/display_change_observer.h', |
| 50 'gpu/drm_buffer.cc', |
| 51 'gpu/drm_buffer.h', |
| 52 'gpu/drm_console_buffer.cc', |
| 53 'gpu/drm_console_buffer.h', |
| 54 'gpu/drm_device.cc', |
| 55 'gpu/drm_device.h', |
| 56 'gpu/drm_device_generator.cc', |
| 57 'gpu/drm_device_generator.h', |
| 58 'gpu/drm_device_manager.cc', |
| 59 'gpu/drm_device_manager.h', |
| 60 'gpu/drm_display.cc', |
| 61 'gpu/drm_display.h', |
| 62 'gpu/drm_gpu_display_manager.cc', |
| 63 'gpu/drm_gpu_display_manager.h', |
| 64 'gpu/drm_gpu_platform_support.cc', |
| 65 'gpu/drm_gpu_platform_support.h', |
| 66 'gpu/drm_surface.cc', |
| 67 'gpu/drm_surface.h', |
| 68 'gpu/drm_surface_factory.cc', |
| 69 'gpu/drm_surface_factory.h', |
| 70 'gpu/drm_vsync_provider.cc', |
| 71 'gpu/drm_vsync_provider.h', |
| 72 'gpu/drm_window.cc', |
| 73 'gpu/drm_window.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/page_flip_request.cc', |
| 85 'gpu/page_flip_request.h', |
| 86 'gpu/screen_manager.cc', |
| 87 'gpu/screen_manager.h', |
| 88 'host/channel_observer.h', |
| 89 'host/drm_cursor.cc', |
| 90 'host/drm_cursor.h', |
| 91 'host/drm_device_handle.cc', |
| 92 'host/drm_device_handle.h', |
| 93 'host/drm_display_host.cc', |
| 94 'host/drm_display_host.h', |
| 95 'host/drm_display_host_manager.cc', |
| 96 'host/drm_display_host_manager.h', |
| 97 'host/drm_gpu_platform_support_host.cc', |
| 98 'host/drm_gpu_platform_support_host.h', |
| 99 'host/drm_native_display_delegate.cc', |
| 100 'host/drm_native_display_delegate.h', |
| 101 'host/drm_overlay_candidates_host.cc', |
| 102 'host/drm_overlay_candidates_host.h', |
| 103 'host/drm_overlay_manager.cc', |
| 104 'host/drm_overlay_manager.h', |
| 105 'host/drm_window_host.cc', |
| 106 'host/drm_window_host.h', |
| 107 'host/drm_window_host_manager.cc', |
| 108 'host/drm_window_host_manager.h', |
| 109 'ozone_platform_drm.cc', |
| 110 'ozone_platform_drm.h', |
| 111 'scanout_buffer.h', |
| 112 ], |
| 113 'conditions': [ |
| 114 ['use_drm_atomic == 1', { |
| 115 'sources': [ |
| 116 'gpu/hardware_display_plane_atomic.cc', |
| 117 'gpu/hardware_display_plane_atomic.h', |
| 118 'gpu/hardware_display_plane_manager_atomic.cc', |
| 119 'gpu/hardware_display_plane_manager_atomic.h', |
| 120 ], |
| 121 'defines': [ |
| 122 'USE_DRM_ATOMIC=1', |
| 123 ], |
| 124 }], |
| 125 ], |
| 126 }, |
| 127 { |
| 128 'target_name': 'ozone_platform_drm_unittests', |
| 129 'type': 'none', |
| 130 'dependencies': [ |
| 131 '../../build/linux/system.gyp:libdrm', |
| 132 '../../skia/skia.gyp:skia', |
| 133 '../gfx/gfx.gyp:gfx', |
| 134 '../gfx/gfx.gyp:gfx_geometry', |
| 135 'ozone.gyp:ozone', |
| 136 ], |
| 137 'export_dependent_settings': [ |
| 138 '../../build/linux/system.gyp:libdrm', |
| 139 '../../skia/skia.gyp:skia', |
| 140 '../gfx/gfx.gyp:gfx_geometry', |
| 141 ], |
| 142 'direct_dependent_settings': { |
| 143 'sources': [ |
| 144 'gpu/drm_surface_unittest.cc', |
| 145 'gpu/drm_window_unittest.cc', |
| 146 'gpu/hardware_display_controller_unittest.cc', |
| 147 'gpu/hardware_display_plane_manager_unittest.cc', |
| 148 'gpu/screen_manager_unittest.cc', |
| 149 'test/mock_drm_device.cc', |
| 150 'test/mock_drm_device.h', |
| 151 ], |
| 152 }, |
| 153 }, |
| 154 ], |
| 155 } |
| OLD | NEW |