| 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_dri', | |
| 9 ], | |
| 10 'internal_ozone_platform_unittest_deps': [ | |
| 11 'ozone_platform_dri_unittests', | |
| 12 ], | |
| 13 'internal_ozone_platforms': [ | |
| 14 'dri', | |
| 15 ], | |
| 16 'use_drm_atomic_flip%': 0, | |
| 17 }, | |
| 18 'targets': [ | |
| 19 { | |
| 20 'target_name': 'ozone_platform_dri', | |
| 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/events.gyp:events', | |
| 30 '../events/ozone/events_ozone.gyp:events_ozone_evdev', | |
| 31 '../gfx/gfx.gyp:gfx', | |
| 32 '../gfx/gfx.gyp:gfx_geometry', | |
| 33 ], | |
| 34 'defines': [ | |
| 35 'OZONE_IMPLEMENTATION', | |
| 36 ], | |
| 37 'sources': [ | |
| 38 'channel_observer.h', | |
| 39 'crtc_controller.cc', | |
| 40 'crtc_controller.h', | |
| 41 'display_mode_dri.cc', | |
| 42 'display_mode_dri.h', | |
| 43 'display_snapshot_dri.cc', | |
| 44 'display_snapshot_dri.h', | |
| 45 'dri_console_buffer.cc', | |
| 46 'dri_console_buffer.h', | |
| 47 'dri_buffer.cc', | |
| 48 'dri_buffer.h', | |
| 49 'dri_cursor.cc', | |
| 50 'dri_cursor.h', | |
| 51 'dri_gpu_platform_support.cc', | |
| 52 'dri_gpu_platform_support.h', | |
| 53 'dri_gpu_platform_support_host.cc', | |
| 54 'dri_gpu_platform_support_host.h', | |
| 55 'dri_surface.cc', | |
| 56 'dri_surface.h', | |
| 57 'dri_surface_factory.cc', | |
| 58 'dri_surface_factory.h', | |
| 59 'dri_util.cc', | |
| 60 'dri_util.h', | |
| 61 'dri_vsync_provider.cc', | |
| 62 'dri_vsync_provider.h', | |
| 63 'dri_window.cc', | |
| 64 'dri_window.h', | |
| 65 'dri_window_delegate.h', | |
| 66 'dri_window_delegate_impl.cc', | |
| 67 'dri_window_delegate_impl.h', | |
| 68 'dri_window_delegate_manager.cc', | |
| 69 'dri_window_delegate_manager.h', | |
| 70 'dri_window_manager.cc', | |
| 71 'dri_window_manager.h', | |
| 72 'dri_wrapper.cc', | |
| 73 'dri_wrapper.h', | |
| 74 'hardware_display_controller.cc', | |
| 75 'hardware_display_controller.h', | |
| 76 'native_display_delegate_dri.cc', | |
| 77 'native_display_delegate_dri.h', | |
| 78 'overlay_plane.cc', | |
| 79 'overlay_plane.h', | |
| 80 'ozone_platform_dri.cc', | |
| 81 'ozone_platform_dri.h', | |
| 82 'scoped_drm_types.cc', | |
| 83 'scoped_drm_types.h', | |
| 84 'screen_manager.cc', | |
| 85 'screen_manager.h', | |
| 86 'scanout_buffer.h', | |
| 87 'virtual_terminal_manager.cc', | |
| 88 'virtual_terminal_manager.h', | |
| 89 ], | |
| 90 'conditions': [ | |
| 91 ['use_drm_atomic_flip==1', { | |
| 92 'sources': [ | |
| 93 'hardware_display_plane.cc', | |
| 94 'hardware_display_plane.h', | |
| 95 'hardware_display_plane_manager.cc', | |
| 96 'hardware_display_plane_manager.h', | |
| 97 ], | |
| 98 }], | |
| 99 ], | |
| 100 }, | |
| 101 { | |
| 102 'target_name': 'ozone_platform_dri_unittests', | |
| 103 'type': 'none', | |
| 104 'dependencies': [ | |
| 105 '../../build/linux/system.gyp:libdrm', | |
| 106 '../../skia/skia.gyp:skia', | |
| 107 '../gfx/gfx.gyp:gfx_geometry', | |
| 108 'ozone_platform_dri', | |
| 109 ], | |
| 110 'export_dependent_settings': [ | |
| 111 '../../build/linux/system.gyp:libdrm', | |
| 112 '../../skia/skia.gyp:skia', | |
| 113 '../gfx/gfx.gyp:gfx_geometry', | |
| 114 ], | |
| 115 'direct_dependent_settings': { | |
| 116 'sources': [ | |
| 117 'dri_surface_factory_unittest.cc', | |
| 118 'dri_surface_unittest.cc', | |
| 119 'hardware_display_controller_unittest.cc', | |
| 120 'screen_manager_unittest.cc', | |
| 121 'test/mock_dri_wrapper.cc', | |
| 122 'test/mock_dri_wrapper.h', | |
| 123 ], | |
| 124 }, | |
| 125 }, | |
| 126 ], | |
| 127 } | |
| OLD | NEW |