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 92 matching lines...) Loading... |
103 if (use_drm_atomic) { | 103 if (use_drm_atomic) { |
104 defines += [ "USE_DRM_ATOMIC" ] | 104 defines += [ "USE_DRM_ATOMIC" ] |
105 sources += [ | 105 sources += [ |
106 "gpu/hardware_display_plane_atomic.cc", | 106 "gpu/hardware_display_plane_atomic.cc", |
107 "gpu/hardware_display_plane_atomic.h", | 107 "gpu/hardware_display_plane_atomic.h", |
108 "gpu/hardware_display_plane_manager_atomic.cc", | 108 "gpu/hardware_display_plane_manager_atomic.cc", |
109 "gpu/hardware_display_plane_manager_atomic.h", | 109 "gpu/hardware_display_plane_manager_atomic.h", |
110 ] | 110 ] |
111 } | 111 } |
112 | 112 |
| 113 if (is_fnl) { |
| 114 defines += [ "FORCE_DISPATCH_TOUCH_EVENTS" ] |
| 115 } |
| 116 |
113 deps = [ | 117 deps = [ |
114 "//base", | 118 "//base", |
115 "//skia", | 119 "//skia", |
116 "//mojo/application", | 120 "//mojo/application", |
117 "//mojo/common", | 121 "//mojo/common", |
118 "//mojo/converters/geometry", | 122 "//mojo/converters/geometry", |
119 "//mojo/converters/ozone_drm_gpu", | 123 "//mojo/converters/ozone_drm_gpu", |
120 "//mojo/services/ozone_drm_gpu/interfaces", | 124 "//mojo/services/ozone_drm_gpu/interfaces", |
121 "//mojo/services/ozone_drm_host/interfaces", | 125 "//mojo/services/ozone_drm_host/interfaces", |
122 "//ui/base", | 126 "//ui/base", |
(...skipping 100 matching lines...) Loading... |
223 public_configs = [ | 227 public_configs = [ |
224 ":libgbm", | 228 ":libgbm", |
225 "//third_party/khronos:khronos_headers", | 229 "//third_party/khronos:khronos_headers", |
226 ] | 230 ] |
227 | 231 |
228 if (use_mesa_platform_null) { | 232 if (use_mesa_platform_null) { |
229 defines += [ "USE_MESA_PLATFORM_NULL" ] | 233 defines += [ "USE_MESA_PLATFORM_NULL" ] |
230 } | 234 } |
231 } | 235 } |
232 } | 236 } |
OLD | NEW |