| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'internal_ozone_platform_deps': [ | 7 'internal_ozone_platform_deps': [ |
| 8 'ozone_platform_gbm', | 8 'ozone_platform_gbm', |
| 9 ], | 9 ], |
| 10 'internal_ozone_platforms': [ | 10 'internal_ozone_platforms': [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 { | 22 { |
| 23 'target_name': 'ozone_platform_gbm', | 23 'target_name': 'ozone_platform_gbm', |
| 24 'type': 'static_library', | 24 'type': 'static_library', |
| 25 'dependencies': [ | 25 'dependencies': [ |
| 26 '../../base/base.gyp:base', | 26 '../../base/base.gyp:base', |
| 27 '../../build/linux/system.gyp:libdrm', | 27 '../../build/linux/system.gyp:libdrm', |
| 28 '../../third_party/minigbm/minigbm.gyp:minigbm', | 28 '../../third_party/minigbm/minigbm.gyp:minigbm', |
| 29 '../../skia/skia.gyp:skia', | 29 '../../skia/skia.gyp:skia', |
| 30 '../../third_party/khronos/khronos.gyp:khronos_headers', | 30 '../../third_party/khronos/khronos.gyp:khronos_headers', |
| 31 '../base/ui_base.gyp:ui_base', | 31 '../base/ui_base.gyp:ui_base', |
| 32 '../display/display.gyp:display_types', | |
| 33 '../display/display.gyp:display_util', | |
| 34 '../events/devices/events_devices.gyp:events_devices', | |
| 35 '../events/events.gyp:events', | 32 '../events/events.gyp:events', |
| 36 '../events/ozone/events_ozone.gyp:events_ozone', | 33 '../events/ozone/events_ozone.gyp:events_ozone', |
| 37 '../events/ozone/events_ozone.gyp:events_ozone_evdev', | 34 '../events/ozone/events_ozone.gyp:events_ozone_evdev', |
| 38 '../events/ozone/events_ozone.gyp:events_ozone_layout', | 35 '../events/ozone/events_ozone.gyp:events_ozone_layout', |
| 39 '../events/platform/events_platform.gyp:events_platform', | |
| 40 '../gfx/gfx.gyp:gfx', | 36 '../gfx/gfx.gyp:gfx', |
| 41 '../gfx/gfx.gyp:gfx_geometry', | |
| 42 ], | 37 ], |
| 43 'defines': [ | 38 'defines': [ |
| 44 'OZONE_IMPLEMENTATION', | 39 'OZONE_IMPLEMENTATION', |
| 45 ], | 40 ], |
| 46 'sources': [ | 41 'sources': [ |
| 47 'common/client_native_pixmap_factory_gbm.cc', | 42 'common/client_native_pixmap_factory_gbm.cc', |
| 48 'common/client_native_pixmap_factory_gbm.h', | 43 'common/client_native_pixmap_factory_gbm.h', |
| 49 'common/drm_util.cc', | |
| 50 'common/drm_util.h', | |
| 51 'common/scoped_drm_types.cc', | |
| 52 'common/scoped_drm_types.h', | |
| 53 'gpu/crtc_controller.cc', | |
| 54 'gpu/crtc_controller.h', | |
| 55 'gpu/display_change_observer.h', | |
| 56 'gpu/drm_buffer.cc', | |
| 57 'gpu/drm_buffer.h', | |
| 58 'gpu/drm_console_buffer.cc', | |
| 59 'gpu/drm_console_buffer.h', | |
| 60 'gpu/drm_device.cc', | |
| 61 'gpu/drm_device.h', | |
| 62 'gpu/drm_device_generator.cc', | |
| 63 'gpu/drm_device_generator.h', | |
| 64 'gpu/drm_device_manager.cc', | |
| 65 'gpu/drm_device_manager.h', | |
| 66 'gpu/drm_display.cc', | |
| 67 'gpu/drm_display.h', | |
| 68 'gpu/drm_gpu_display_manager.cc', | |
| 69 'gpu/drm_gpu_display_manager.h', | |
| 70 'gpu/drm_gpu_platform_support.cc', | |
| 71 'gpu/drm_gpu_platform_support.h', | |
| 72 'gpu/drm_vsync_provider.cc', | |
| 73 'gpu/drm_vsync_provider.h', | |
| 74 'gpu/drm_window.cc', | |
| 75 'gpu/drm_window.h', | |
| 76 'gpu/gbm_buffer.cc', | 44 'gpu/gbm_buffer.cc', |
| 77 'gpu/gbm_buffer.h', | 45 'gpu/gbm_buffer.h', |
| 78 'gpu/gbm_buffer_base.cc', | 46 'gpu/gbm_buffer_base.cc', |
| 79 'gpu/gbm_buffer_base.h', | 47 'gpu/gbm_buffer_base.h', |
| 80 'gpu/gbm_device.cc', | 48 'gpu/gbm_device.cc', |
| 81 'gpu/gbm_device.h', | 49 'gpu/gbm_device.h', |
| 82 'gpu/gbm_surface.cc', | 50 'gpu/gbm_surface.cc', |
| 83 'gpu/gbm_surface.h', | 51 'gpu/gbm_surface.h', |
| 84 'gpu/gbm_surface_factory.cc', | 52 'gpu/gbm_surface_factory.cc', |
| 85 'gpu/gbm_surface_factory.h', | 53 'gpu/gbm_surface_factory.h', |
| 86 'gpu/gbm_surfaceless.cc', | 54 'gpu/gbm_surfaceless.cc', |
| 87 'gpu/gbm_surfaceless.h', | 55 'gpu/gbm_surfaceless.h', |
| 88 'gpu/hardware_display_controller.cc', | |
| 89 'gpu/hardware_display_controller.h', | |
| 90 'gpu/hardware_display_plane.cc', | |
| 91 'gpu/hardware_display_plane.h', | |
| 92 'gpu/hardware_display_plane_manager.cc', | |
| 93 'gpu/hardware_display_plane_manager.h', | |
| 94 'gpu/hardware_display_plane_manager_legacy.cc', | |
| 95 'gpu/hardware_display_plane_manager_legacy.h', | |
| 96 'gpu/overlay_plane.cc', | |
| 97 'gpu/overlay_plane.h', | |
| 98 'gpu/page_flip_request.cc', | |
| 99 'gpu/page_flip_request.h', | |
| 100 'gpu/screen_manager.cc', | |
| 101 'gpu/screen_manager.h', | |
| 102 'host/channel_observer.h', | |
| 103 'host/drm_cursor.cc', | |
| 104 'host/drm_cursor.h', | |
| 105 'host/drm_device_handle.cc', | |
| 106 'host/drm_device_handle.h', | |
| 107 'host/drm_display_host.cc', | |
| 108 'host/drm_display_host.h', | |
| 109 'host/drm_display_host_manager.cc', | |
| 110 'host/drm_display_host_manager.h', | |
| 111 'host/drm_gpu_platform_support_host.cc', | |
| 112 'host/drm_gpu_platform_support_host.h', | |
| 113 'host/drm_native_display_delegate.cc', | |
| 114 'host/drm_native_display_delegate.h', | |
| 115 'host/drm_overlay_candidates_host.cc', | |
| 116 'host/drm_overlay_candidates_host.h', | |
| 117 'host/drm_overlay_manager.cc', | |
| 118 'host/drm_overlay_manager.h', | |
| 119 'host/drm_window_host.cc', | |
| 120 'host/drm_window_host.h', | |
| 121 'host/drm_window_host_manager.cc', | |
| 122 'host/drm_window_host_manager.h', | |
| 123 'ozone_platform_gbm.cc', | 56 'ozone_platform_gbm.cc', |
| 124 'ozone_platform_gbm.h', | 57 'ozone_platform_gbm.h', |
| 125 ], | 58 ], |
| 126 'conditions': [ | 59 'conditions': [ |
| 127 ['use_mesa_platform_null==1', { | 60 ['use_mesa_platform_null==1', { |
| 128 'defines': ['USE_MESA_PLATFORM_NULL'], | 61 'defines': ['USE_MESA_PLATFORM_NULL'], |
| 129 }], | 62 }], |
| 130 ['use_vgem_map==1', { | 63 ['use_vgem_map==1', { |
| 131 'defines': ['USE_VGEM_MAP'], | 64 'defines': ['USE_VGEM_MAP'], |
| 132 'sources': [ | 65 'sources': [ |
| 133 'gpu/client_native_pixmap_vgem.cc', | 66 'gpu/client_native_pixmap_vgem.cc', |
| 134 'gpu/client_native_pixmap_vgem.h', | 67 'gpu/client_native_pixmap_vgem.h', |
| 135 ], | 68 ], |
| 136 }], | 69 }], |
| 137 » ['use_drm_atomic == 1', { | 70 » ['use_drm_atomic==1', { |
| 138 » 'sources': [ | 71 » 'defines': ['USE_DRM_ATOMIC'], |
| 139 » 'gpu/hardware_display_plane_atomic.cc', | |
| 140 » 'gpu/hardware_display_plane_atomic.h', | |
| 141 » 'gpu/hardware_display_plane_manager_atomic.cc', | |
| 142 » 'gpu/hardware_display_plane_manager_atomic.h', | |
| 143 » ], | |
| 144 » 'defines': [ | |
| 145 » 'USE_DRM_ATOMIC=1', | |
| 146 » ], | |
| 147 }], | 72 }], |
| 148 ], | 73 ], |
| 149 }, | 74 }, |
| 150 { | |
| 151 'target_name': 'ozone_platform_gbm_unittests', | |
| 152 'type': 'none', | |
| 153 'dependencies': [ | |
| 154 '../../build/linux/system.gyp:libdrm', | |
| 155 '../../skia/skia.gyp:skia', | |
| 156 '../gfx/gfx.gyp:gfx', | |
| 157 '../gfx/gfx.gyp:gfx_geometry', | |
| 158 'ozone.gyp:ozone', | |
| 159 ], | |
| 160 'export_dependent_settings': [ | |
| 161 '../../build/linux/system.gyp:libdrm', | |
| 162 '../../skia/skia.gyp:skia', | |
| 163 '../gfx/gfx.gyp:gfx_geometry', | |
| 164 ], | |
| 165 'direct_dependent_settings': { | |
| 166 'sources': [ | |
| 167 'gpu/drm_window_unittest.cc', | |
| 168 'gpu/hardware_display_controller_unittest.cc', | |
| 169 'gpu/hardware_display_plane_manager_unittest.cc', | |
| 170 'gpu/screen_manager_unittest.cc', | |
| 171 'test/mock_drm_device.cc', | |
| 172 'test/mock_drm_device.h', | |
| 173 ], | |
| 174 }, | |
| 175 }, | |
| 176 ], | 75 ], |
| 177 } | 76 } |
| OLD | NEW |