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 } | 10 } |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 "//ui/events/ozone:events_ozone_evdev", | 93 "//ui/events/ozone:events_ozone_evdev", |
94 "//ui/events/ozone:events_ozone_layout", | 94 "//ui/events/ozone:events_ozone_layout", |
95 "//ui/events/platform", | 95 "//ui/events/platform", |
96 "//ui/gfx", | 96 "//ui/gfx", |
97 "//ui/gfx/geometry", | 97 "//ui/gfx/geometry", |
98 ] | 98 ] |
99 | 99 |
100 public_configs = [ ":libdrm" ] | 100 public_configs = [ ":libdrm" ] |
101 } | 101 } |
102 | 102 |
103 if (ozone_platform_dri) { | 103 if (ozone_platform_dri || ozone_platform_drm) { |
104 source_set("drm") { | 104 source_set("drm") { |
105 sources = [ | 105 sources = [ |
106 "ozone_platform_drm.cc", | 106 "ozone_platform_drm.cc", |
107 "ozone_platform_drm.h", | 107 "ozone_platform_drm.h", |
108 ] | 108 ] |
109 | 109 |
110 deps = [ | 110 deps = [ |
111 ":drm_common", | 111 ":drm_common", |
112 "//base", | 112 "//base", |
113 "//skia", | 113 "//skia", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 "//ui/events/ozone:events_ozone_layout", | 169 "//ui/events/ozone:events_ozone_layout", |
170 ] | 170 ] |
171 | 171 |
172 public_configs = [ ":libgbm" ] | 172 public_configs = [ ":libgbm" ] |
173 | 173 |
174 if (use_mesa_platform_null) { | 174 if (use_mesa_platform_null) { |
175 defines += [ "USE_MESA_PLATFORM_NULL" ] | 175 defines += [ "USE_MESA_PLATFORM_NULL" ] |
176 } | 176 } |
177 } | 177 } |
178 } | 178 } |
OLD | NEW |