Fix search results being clipped in app list.
[chromium-blink-merge.git] / ui / ozone / platform / drm / drm.gypi
blob6c1654461423e2576ff83cc9a3453392936ad34f
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.
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       'dri',
15       'drm',
16     ],
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         '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',
46         'gpu/drm_buffer.cc',
47         'gpu/drm_buffer.h',
48         'gpu/drm_console_buffer.cc',
49         'gpu/drm_console_buffer.h',
50         'gpu/drm_device.cc',
51         'gpu/drm_device.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',
64         'gpu/drm_surface.cc',
65         'gpu/drm_surface.h',
66         'gpu/drm_util.cc',
67         'gpu/drm_util.h',
68         'gpu/drm_vsync_provider.cc',
69         'gpu/drm_vsync_provider.h',
70         'gpu/drm_window.cc',
71         'gpu/drm_window.h',
72         'gpu/gpu_lock.cc',
73         'gpu/gpu_lock.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',
91         'host/drm_cursor.cc',
92         'host/drm_cursor.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',
103         'scanout_buffer.h',
104       ],
105     },
106     {
107       'target_name': 'ozone_platform_drm_unittests',
108       'type': 'none',
109       'dependencies': [
110         '../../build/linux/system.gyp:libdrm',
111         '../../skia/skia.gyp:skia',
112         '../gfx/gfx.gyp:gfx_geometry',
113         'ozone.gyp:ozone',
114       ],
115       'export_dependent_settings': [
116         '../../build/linux/system.gyp:libdrm',
117         '../../skia/skia.gyp:skia',
118         '../gfx/gfx.gyp:gfx_geometry',
119       ],
120       'direct_dependent_settings': {
121         'sources': [
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',
129         ],
130       },
131     },
132   ],