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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 "host/drm_overlay_manager.h", | 93 "host/drm_overlay_manager.h", |
94 "host/drm_window_host.cc", | 94 "host/drm_window_host.cc", |
95 "host/drm_window_host.h", | 95 "host/drm_window_host.h", |
96 "host/drm_window_host_manager.cc", | 96 "host/drm_window_host_manager.cc", |
97 "host/drm_window_host_manager.h", | 97 "host/drm_window_host_manager.h", |
98 "ozone_platform_gbm.cc", | 98 "ozone_platform_gbm.cc", |
99 "ozone_platform_gbm.h", | 99 "ozone_platform_gbm.h", |
100 ] | 100 ] |
101 | 101 |
102 deps = [ | 102 deps = [ |
103 ":drm_common", | |
104 "//base", | 103 "//base", |
105 "//ipc", | 104 "//ipc", |
106 "//skia", | 105 "//skia", |
107 "//third_party/minigbm", | 106 "//third_party/minigbm", |
108 "//ui/base", | 107 "//ui/base", |
109 "//ui/display/types", | 108 "//ui/display/types", |
110 "//ui/display/util", | 109 "//ui/display/util", |
111 "//ui/events", | 110 "//ui/events", |
112 "//ui/events/devices", | 111 "//ui/events/devices", |
113 "//ui/events/ozone:events_ozone_evdev", | 112 "//ui/events/ozone:events_ozone_evdev", |
114 "//ui/events/ozone:events_ozone_layout", | 113 "//ui/events/ozone:events_ozone_layout", |
115 "//ui/events/platform", | 114 "//ui/events/platform", |
116 "//ui/gfx", | 115 "//ui/gfx", |
117 "//ui/gfx/geometry", | 116 "//ui/gfx/geometry", |
118 ] | 117 ] |
119 | 118 |
120 configs = [ ":libdrm" ] | 119 configs += [ ":libdrm" ] |
121 | 120 |
122 public_configs = [ "//third_party/khronos:khronos_headers" ] | 121 public_configs = [ "//third_party/khronos:khronos_headers" ] |
123 | 122 |
124 defines = [] | 123 defines = [] |
125 | 124 |
126 if (use_drm_atomic) { | 125 if (use_drm_atomic) { |
127 defines += [ "USE_DRM_ATOMIC" ] | 126 defines += [ "USE_DRM_ATOMIC" ] |
128 sources += [ | 127 sources += [ |
129 "gpu/hardware_display_plane_atomic.cc", | 128 "gpu/hardware_display_plane_atomic.cc", |
130 "gpu/hardware_display_plane_atomic.h", | 129 "gpu/hardware_display_plane_atomic.h", |
(...skipping 25 matching lines...) Expand all Loading... |
156 | 155 |
157 deps = [ | 156 deps = [ |
158 "//skia", | 157 "//skia", |
159 "//testing/gtest", | 158 "//testing/gtest", |
160 "//ui/gfx", | 159 "//ui/gfx", |
161 "//ui/ozone", | 160 "//ui/ozone", |
162 ] | 161 ] |
163 | 162 |
164 public_configs = [ ":libdrm" ] | 163 public_configs = [ ":libdrm" ] |
165 } | 164 } |
OLD | NEW |