Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: ui/ozone/platform/drm/BUILD.gn

Issue 1133053003: [Ozone-Drm] Move DRM utilities from gpu/ to common/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/ozone/platform/drm/common/drm_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//ui/ozone/ozone.gni") 6 import("//ui/ozone/ozone.gni")
7 7
8 declare_args() { 8 declare_args() {
9 use_mesa_platform_null = false 9 use_mesa_platform_null = false
10 use_drm_atomic = false 10 use_drm_atomic = false
11 } 11 }
12 12
13 pkg_config("libdrm") { 13 pkg_config("libdrm") {
14 packages = [ "libdrm" ] 14 packages = [ "libdrm" ]
15 } 15 }
16 16
17 source_set("drm_common") { 17 source_set("drm_common") {
18 sources = [ 18 sources = [
19 "common/drm_util.cc",
20 "common/drm_util.h",
21 "common/scoped_drm_types.cc",
22 "common/scoped_drm_types.h",
19 "drm_surface_factory.cc", 23 "drm_surface_factory.cc",
20 "drm_surface_factory.h", 24 "drm_surface_factory.h",
21 "gpu/crtc_controller.cc", 25 "gpu/crtc_controller.cc",
22 "gpu/crtc_controller.h", 26 "gpu/crtc_controller.h",
23 "gpu/display_change_observer.h", 27 "gpu/display_change_observer.h",
24 "gpu/drm_buffer.cc", 28 "gpu/drm_buffer.cc",
25 "gpu/drm_buffer.h", 29 "gpu/drm_buffer.h",
26 "gpu/drm_console_buffer.cc", 30 "gpu/drm_console_buffer.cc",
27 "gpu/drm_console_buffer.h", 31 "gpu/drm_console_buffer.h",
28 "gpu/drm_device.cc", 32 "gpu/drm_device.cc",
29 "gpu/drm_device.h", 33 "gpu/drm_device.h",
30 "gpu/drm_device_generator.cc", 34 "gpu/drm_device_generator.cc",
31 "gpu/drm_device_generator.h", 35 "gpu/drm_device_generator.h",
32 "gpu/drm_device_manager.cc", 36 "gpu/drm_device_manager.cc",
33 "gpu/drm_device_manager.h", 37 "gpu/drm_device_manager.h",
34 "gpu/drm_display_mode.cc", 38 "gpu/drm_display_mode.cc",
35 "gpu/drm_display_mode.h", 39 "gpu/drm_display_mode.h",
36 "gpu/drm_display_snapshot.cc", 40 "gpu/drm_display_snapshot.cc",
37 "gpu/drm_display_snapshot.h", 41 "gpu/drm_display_snapshot.h",
38 "gpu/drm_gpu_display_manager.cc", 42 "gpu/drm_gpu_display_manager.cc",
39 "gpu/drm_gpu_display_manager.h", 43 "gpu/drm_gpu_display_manager.h",
40 "gpu/drm_gpu_platform_support.cc", 44 "gpu/drm_gpu_platform_support.cc",
41 "gpu/drm_gpu_platform_support.h", 45 "gpu/drm_gpu_platform_support.h",
42 "gpu/drm_surface.cc", 46 "gpu/drm_surface.cc",
43 "gpu/drm_surface.h", 47 "gpu/drm_surface.h",
44 "gpu/drm_util.cc",
45 "gpu/drm_util.h",
46 "gpu/drm_vsync_provider.cc", 48 "gpu/drm_vsync_provider.cc",
47 "gpu/drm_vsync_provider.h", 49 "gpu/drm_vsync_provider.h",
48 "gpu/drm_window.cc", 50 "gpu/drm_window.cc",
49 "gpu/drm_window.h", 51 "gpu/drm_window.h",
50 "gpu/gpu_lock.cc", 52 "gpu/gpu_lock.cc",
51 "gpu/gpu_lock.h", 53 "gpu/gpu_lock.h",
52 "gpu/hardware_display_controller.cc", 54 "gpu/hardware_display_controller.cc",
53 "gpu/hardware_display_controller.h", 55 "gpu/hardware_display_controller.h",
54 "gpu/hardware_display_plane.cc", 56 "gpu/hardware_display_plane.cc",
55 "gpu/hardware_display_plane.h", 57 "gpu/hardware_display_plane.h",
56 "gpu/hardware_display_plane_manager.cc", 58 "gpu/hardware_display_plane_manager.cc",
57 "gpu/hardware_display_plane_manager.h", 59 "gpu/hardware_display_plane_manager.h",
58 "gpu/hardware_display_plane_manager_legacy.cc", 60 "gpu/hardware_display_plane_manager_legacy.cc",
59 "gpu/hardware_display_plane_manager_legacy.h", 61 "gpu/hardware_display_plane_manager_legacy.h",
60 "gpu/overlay_plane.cc", 62 "gpu/overlay_plane.cc",
61 "gpu/overlay_plane.h", 63 "gpu/overlay_plane.h",
62 "gpu/page_flip_request.cc", 64 "gpu/page_flip_request.cc",
63 "gpu/page_flip_request.h", 65 "gpu/page_flip_request.h",
64 "gpu/scanout_buffer.h", 66 "gpu/scanout_buffer.h",
65 "gpu/scoped_drm_types.cc",
66 "gpu/scoped_drm_types.h",
67 "gpu/screen_manager.cc", 67 "gpu/screen_manager.cc",
68 "gpu/screen_manager.h", 68 "gpu/screen_manager.h",
69 "host/channel_observer.h", 69 "host/channel_observer.h",
70 "host/drm_cursor.cc", 70 "host/drm_cursor.cc",
71 "host/drm_cursor.h", 71 "host/drm_cursor.h",
72 "host/drm_device_handle.cc", 72 "host/drm_device_handle.cc",
73 "host/drm_device_handle.h", 73 "host/drm_device_handle.h",
74 "host/drm_display_host_manager.cc", 74 "host/drm_display_host_manager.cc",
75 "host/drm_display_host_manager.h", 75 "host/drm_display_host_manager.h",
76 "host/drm_gpu_platform_support_host.cc", 76 "host/drm_gpu_platform_support_host.cc",
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 "//ui/events/ozone:events_ozone_layout", 183 "//ui/events/ozone:events_ozone_layout",
184 ] 184 ]
185 185
186 public_configs = [ ":libgbm" ] 186 public_configs = [ ":libgbm" ]
187 187
188 if (use_mesa_platform_null) { 188 if (use_mesa_platform_null) {
189 defines += [ "USE_MESA_PLATFORM_NULL" ] 189 defines += [ "USE_MESA_PLATFORM_NULL" ]
190 } 190 }
191 } 191 }
192 } 192 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/drm/common/drm_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698