| 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_drm_atomic = false | 9 use_drm_atomic = false |
| 10 } | 10 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 source_set("gbm") { | 24 source_set("gbm") { |
| 25 sources = [ | 25 sources = [ |
| 26 "client_native_pixmap_factory_gbm.cc", | 26 "client_native_pixmap_factory_gbm.cc", |
| 27 "client_native_pixmap_factory_gbm.h", | 27 "client_native_pixmap_factory_gbm.h", |
| 28 "common/client_native_pixmap_dmabuf.cc", | 28 "common/client_native_pixmap_dmabuf.cc", |
| 29 "common/client_native_pixmap_dmabuf.h", | 29 "common/client_native_pixmap_dmabuf.h", |
| 30 "common/drm_util.cc", | 30 "common/drm_util.cc", |
| 31 "common/drm_util.h", | 31 "common/drm_util.h", |
| 32 "common/scoped_drm_types.cc", | 32 "common/scoped_drm_types.cc", |
| 33 "common/scoped_drm_types.h", | 33 "common/scoped_drm_types.h", |
| 34 "cursor_proxy_mojo.cc", |
| 35 "cursor_proxy_mojo.h", |
| 34 "gpu/crtc_controller.cc", | 36 "gpu/crtc_controller.cc", |
| 35 "gpu/crtc_controller.h", | 37 "gpu/crtc_controller.h", |
| 36 "gpu/drm_buffer.cc", | 38 "gpu/drm_buffer.cc", |
| 37 "gpu/drm_buffer.h", | 39 "gpu/drm_buffer.h", |
| 38 "gpu/drm_console_buffer.cc", | 40 "gpu/drm_console_buffer.cc", |
| 39 "gpu/drm_console_buffer.h", | 41 "gpu/drm_console_buffer.h", |
| 40 "gpu/drm_device.cc", | 42 "gpu/drm_device.cc", |
| 41 "gpu/drm_device.h", | 43 "gpu/drm_device.h", |
| 42 "gpu/drm_device_generator.cc", | 44 "gpu/drm_device_generator.cc", |
| 43 "gpu/drm_device_generator.h", | 45 "gpu/drm_device_generator.h", |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 "host/gpu_thread_observer.h", | 118 "host/gpu_thread_observer.h", |
| 117 "mus_thread_proxy.cc", | 119 "mus_thread_proxy.cc", |
| 118 "mus_thread_proxy.h", | 120 "mus_thread_proxy.h", |
| 119 "ozone_platform_gbm.cc", | 121 "ozone_platform_gbm.cc", |
| 120 "ozone_platform_gbm.h", | 122 "ozone_platform_gbm.h", |
| 121 ] | 123 ] |
| 122 | 124 |
| 123 deps = [ | 125 deps = [ |
| 124 "//base", | 126 "//base", |
| 125 "//ipc", | 127 "//ipc", |
| 128 "//mojo/common:common_base", |
| 129 "//services/shell/public/cpp:sources", |
| 126 "//skia", | 130 "//skia", |
| 127 "//third_party/minigbm", | 131 "//third_party/minigbm", |
| 128 "//ui/base", | 132 "//ui/base", |
| 129 "//ui/display", | 133 "//ui/display", |
| 130 "//ui/display/types", | 134 "//ui/display/types", |
| 131 "//ui/display/util", | 135 "//ui/display/util", |
| 132 "//ui/events", | 136 "//ui/events", |
| 133 "//ui/events/devices", | 137 "//ui/events/devices", |
| 134 "//ui/events/ozone:events_ozone", | 138 "//ui/events/ozone:events_ozone", |
| 135 "//ui/events/ozone:events_ozone_evdev", | 139 "//ui/events/ozone:events_ozone_evdev", |
| 136 "//ui/events/ozone:events_ozone_layout", | 140 "//ui/events/ozone:events_ozone_layout", |
| 137 "//ui/events/platform", | 141 "//ui/events/platform", |
| 138 "//ui/gfx", | 142 "//ui/gfx", |
| 139 "//ui/gfx/geometry", | 143 "//ui/gfx/geometry", |
| 140 "//ui/ozone:ozone_base", | 144 "//ui/ozone:ozone_base", |
| 141 "//ui/ozone/common", | 145 "//ui/ozone/common", |
| 146 "//ui/ozone/public/interfaces", |
| 142 "//ui/platform_window", | 147 "//ui/platform_window", |
| 143 ] | 148 ] |
| 144 | 149 |
| 145 configs += [ ":libdrm" ] | 150 configs += [ ":libdrm" ] |
| 146 | 151 |
| 147 public_configs = [ "//third_party/khronos:khronos_headers" ] | 152 public_configs = [ "//third_party/khronos:khronos_headers" ] |
| 148 | 153 |
| 149 defines = [ "OZONE_IMPLEMENTATION" ] | 154 defines = [ "OZONE_IMPLEMENTATION" ] |
| 150 | 155 |
| 151 if (use_drm_atomic) { | 156 if (use_drm_atomic) { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 ":gbm", | 191 ":gbm", |
| 187 "//skia", | 192 "//skia", |
| 188 "//testing/gtest", | 193 "//testing/gtest", |
| 189 "//ui/gfx", | 194 "//ui/gfx", |
| 190 "//ui/ozone:platform", | 195 "//ui/ozone:platform", |
| 191 "//ui/ozone/common", | 196 "//ui/ozone/common", |
| 192 ] | 197 ] |
| 193 | 198 |
| 194 public_configs = [ ":libdrm" ] | 199 public_configs = [ ":libdrm" ] |
| 195 } | 200 } |
| OLD | NEW |