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 pkg_config("libdrm") { |
| 9 packages = [ "libdrm" ] |
| 10 } |
| 11 |
8 source_set("dri_common") { | 12 source_set("dri_common") { |
9 sources = [ | 13 sources = [ |
10 "chromeos/display_mode_dri.cc", | 14 "chromeos/display_mode_dri.cc", |
11 "chromeos/display_mode_dri.h", | 15 "chromeos/display_mode_dri.h", |
12 "chromeos/display_snapshot_dri.cc", | 16 "chromeos/display_snapshot_dri.cc", |
13 "chromeos/display_snapshot_dri.h", | 17 "chromeos/display_snapshot_dri.h", |
14 "chromeos/native_display_delegate_dri.cc", | 18 "chromeos/native_display_delegate_dri.cc", |
15 "chromeos/native_display_delegate_dri.h", | 19 "chromeos/native_display_delegate_dri.h", |
16 "cursor_factory_evdev_dri.cc", | 20 "cursor_factory_evdev_dri.cc", |
17 "cursor_factory_evdev_dri.h", | 21 "cursor_factory_evdev_dri.h", |
(...skipping 30 matching lines...) Expand all Loading... |
48 "//ipc", | 52 "//ipc", |
49 "//ui/base", | 53 "//ui/base", |
50 "//ui/display/types", | 54 "//ui/display/types", |
51 "//ui/events", | 55 "//ui/events", |
52 "//ui/events/ozone:events_ozone_evdev", | 56 "//ui/events/ozone:events_ozone_evdev", |
53 "//ui/gfx", | 57 "//ui/gfx", |
54 "//ui/gfx/geometry", | 58 "//ui/gfx/geometry", |
55 ] | 59 ] |
56 | 60 |
57 direct_dependent_configs = [ | 61 direct_dependent_configs = [ |
58 "//build/config/linux:libdrm", | 62 ":libdrm", |
59 ] | 63 ] |
60 } | 64 } |
61 | 65 |
62 if (ozone_platform_dri) { | 66 if (ozone_platform_dri) { |
63 source_set("dri") { | 67 source_set("dri") { |
64 sources = [ | 68 sources = [ |
65 "ozone_platform_dri.cc", | 69 "ozone_platform_dri.cc", |
66 "ozone_platform_dri.h", | 70 "ozone_platform_dri.h", |
67 ] | 71 ] |
68 | 72 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 "//base", | 130 "//base", |
127 "//skia", | 131 "//skia", |
128 "//ui/events/ozone:events_ozone_evdev", | 132 "//ui/events/ozone:events_ozone_evdev", |
129 ] | 133 ] |
130 | 134 |
131 direct_dependent_configs = [ | 135 direct_dependent_configs = [ |
132 ":libgbm", | 136 ":libgbm", |
133 ] | 137 ] |
134 } | 138 } |
135 } | 139 } |
OLD | NEW |