| 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 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 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 "host/drm_native_display_delegate.cc", | 80 "host/drm_native_display_delegate.cc", |
| 81 "host/drm_native_display_delegate.h", | 81 "host/drm_native_display_delegate.h", |
| 82 "host/drm_overlay_candidates_host.cc", | 82 "host/drm_overlay_candidates_host.cc", |
| 83 "host/drm_overlay_candidates_host.h", | 83 "host/drm_overlay_candidates_host.h", |
| 84 "host/drm_overlay_manager.cc", | 84 "host/drm_overlay_manager.cc", |
| 85 "host/drm_overlay_manager.h", | 85 "host/drm_overlay_manager.h", |
| 86 "host/drm_window_host.cc", | 86 "host/drm_window_host.cc", |
| 87 "host/drm_window_host.h", | 87 "host/drm_window_host.h", |
| 88 "host/drm_window_host_manager.cc", | 88 "host/drm_window_host_manager.cc", |
| 89 "host/drm_window_host_manager.h", | 89 "host/drm_window_host_manager.h", |
| 90 "mojo/drm_gpu_delegate.cc", |
| 91 "mojo/drm_gpu_delegate.h", |
| 92 "mojo/drm_gpu_impl.cc", |
| 93 "mojo/drm_gpu_impl.h", |
| 94 "mojo/drm_host_delegate.cc", |
| 95 "mojo/drm_host_delegate.h", |
| 96 "mojo/drm_host_impl.cc", |
| 97 "mojo/drm_host_impl.h", |
| 98 "mojo/drm_ipc_init_helper.cc", |
| 90 ] | 99 ] |
| 91 | 100 |
| 92 defines = [ "OZONE_IMPLEMENTATION" ] | 101 defines = [ "OZONE_IMPLEMENTATION" ] |
| 93 | 102 |
| 94 if (use_drm_atomic) { | 103 if (use_drm_atomic) { |
| 95 defines += [ "USE_DRM_ATOMIC" ] | 104 defines += [ "USE_DRM_ATOMIC" ] |
| 96 sources += [ | 105 sources += [ |
| 97 "gpu/hardware_display_plane_atomic.cc", | 106 "gpu/hardware_display_plane_atomic.cc", |
| 98 "gpu/hardware_display_plane_atomic.h", | 107 "gpu/hardware_display_plane_atomic.h", |
| 99 "gpu/hardware_display_plane_manager_atomic.cc", | 108 "gpu/hardware_display_plane_manager_atomic.cc", |
| 100 "gpu/hardware_display_plane_manager_atomic.h", | 109 "gpu/hardware_display_plane_manager_atomic.h", |
| 101 ] | 110 ] |
| 102 } | 111 } |
| 103 | 112 |
| 104 deps = [ | 113 deps = [ |
| 105 "//base", | 114 "//base", |
| 106 "//skia", | 115 "//skia", |
| 116 "//mojo/application", |
| 117 "//mojo/common", |
| 118 "//mojo/converters/geometry", |
| 119 "//mojo/converters/ozone_drm_gpu", |
| 120 "//mojo/services/ozone_drm_gpu/public/interfaces", |
| 121 "//mojo/services/ozone_drm_host/public/interfaces", |
| 107 "//ui/base", | 122 "//ui/base", |
| 108 "//ui/display/types", | 123 "//ui/display/types", |
| 109 "//ui/display/util", | 124 "//ui/display/util", |
| 110 "//ui/events", | 125 "//ui/events", |
| 111 "//ui/events/devices", | 126 "//ui/events/devices", |
| 112 "//ui/events/ozone:events_ozone", | 127 "//ui/events/ozone:events_ozone", |
| 113 "//ui/events/ozone:events_ozone_evdev", | 128 "//ui/events/ozone:events_ozone_evdev", |
| 114 "//ui/events/ozone:events_ozone_layout", | 129 "//ui/events/ozone:events_ozone_layout", |
| 115 "//ui/events/platform", | 130 "//ui/events/platform", |
| 116 "//ui/gfx", | 131 "//ui/gfx", |
| 117 "//ui/gfx/geometry", | 132 "//ui/gfx/geometry", |
| 118 "//ui/ozone:ozone_base", | 133 "//ui/ozone:ozone_base", |
| 134 "//ui/ozone:ozone_common_message_types", |
| 119 "//ui/platform_window", | 135 "//ui/platform_window", |
| 120 ] | 136 ] |
| 121 | 137 |
| 122 public_configs = [ ":libdrm" ] | 138 public_configs = [ ":libdrm" ] |
| 123 } | 139 } |
| 124 | 140 |
| 125 if (ozone_platform_dri || ozone_platform_drm) { | 141 if (ozone_platform_dri || ozone_platform_drm) { |
| 126 source_set("drm") { | 142 source_set("drm") { |
| 127 sources = [ | 143 sources = [ |
| 128 "ozone_platform_drm.cc", | 144 "ozone_platform_drm.cc", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 public_configs = [ | 219 public_configs = [ |
| 204 ":libgbm", | 220 ":libgbm", |
| 205 "//third_party/khronos:khronos_headers", | 221 "//third_party/khronos:khronos_headers", |
| 206 ] | 222 ] |
| 207 | 223 |
| 208 if (use_mesa_platform_null) { | 224 if (use_mesa_platform_null) { |
| 209 defines += [ "USE_MESA_PLATFORM_NULL" ] | 225 defines += [ "USE_MESA_PLATFORM_NULL" ] |
| 210 } | 226 } |
| 211 } | 227 } |
| 212 } | 228 } |
| OLD | NEW |