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

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

Issue 994503004: Preliminary atomic patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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 ozone_use_atomic = false
10 } 11 }
11 12
12 pkg_config("libdrm") { 13 pkg_config("libdrm") {
13 packages = [ "libdrm" ] 14 packages = [ "libdrm" ]
14 } 15 }
15 16
16 source_set("drm_common") { 17 source_set("drm_common") {
17 sources = [ 18 sources = [
18 "drm_surface_factory.cc", 19 "drm_surface_factory.cc",
19 "drm_surface_factory.h", 20 "drm_surface_factory.h",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 "host/drm_native_display_delegate.cc", 74 "host/drm_native_display_delegate.cc",
74 "host/drm_native_display_delegate.h", 75 "host/drm_native_display_delegate.h",
75 "host/drm_window_host.cc", 76 "host/drm_window_host.cc",
76 "host/drm_window_host.h", 77 "host/drm_window_host.h",
77 "host/drm_window_host_manager.cc", 78 "host/drm_window_host_manager.cc",
78 "host/drm_window_host_manager.h", 79 "host/drm_window_host_manager.h",
79 ] 80 ]
80 81
81 defines = [ "OZONE_IMPLEMENTATION" ] 82 defines = [ "OZONE_IMPLEMENTATION" ]
82 83
84 if (ozone_use_atomic) {
85 defines += [ "OZONE_USE_ATOMIC" ]
86 sources += [
87 "gpu/hardware_display_plane_atomic.cc",
88 "gpu/hardware_display_plane_atomic.h",
89 "gpu/hardware_display_plane_manager_atomic.cc",
90 "gpu/hardware_display_plane_manager_atomic.h",
91 ]
92 }
93
83 deps = [ 94 deps = [
84 "//base", 95 "//base",
85 "//skia", 96 "//skia",
86 "//ipc", 97 "//ipc",
87 "//ui/base", 98 "//ui/base",
88 "//ui/display/types", 99 "//ui/display/types",
89 "//ui/display/util", 100 "//ui/display/util",
90 "//ui/events", 101 "//ui/events",
91 "//ui/events/devices", 102 "//ui/events/devices",
92 "//ui/events/ozone:events_ozone_evdev", 103 "//ui/events/ozone:events_ozone_evdev",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 "//ui/events/ozone:events_ozone_layout", 179 "//ui/events/ozone:events_ozone_layout",
169 ] 180 ]
170 181
171 public_configs = [ ":libgbm" ] 182 public_configs = [ ":libgbm" ]
172 183
173 if (use_mesa_platform_null) { 184 if (use_mesa_platform_null) {
174 defines += [ "USE_MESA_PLATFORM_NULL" ] 185 defines += [ "USE_MESA_PLATFORM_NULL" ]
175 } 186 }
176 } 187 }
177 } 188 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_device.h » ('j') | ui/ozone/platform/drm/gpu/drm_device.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698