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

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

Issue 409163004: ozone: Fix GN build for ozone_egl_demo, ozone_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove media/BUILD.gn diffs Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/ozone/platform/caca/BUILD.gn ('k') | ui/ozone/platform/egltest/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/linux/pkg_config.gni")
6 import("//ui/ozone/ozone.gni")
7
8 source_set("dri_common") {
9 sources = [
10 "chromeos/display_mode_dri.cc",
11 "chromeos/display_mode_dri.h",
12 "chromeos/display_snapshot_dri.cc",
13 "chromeos/display_snapshot_dri.h",
14 "chromeos/native_display_delegate_dri.cc",
15 "chromeos/native_display_delegate_dri.h",
16 "cursor_factory_evdev_dri.cc",
17 "cursor_factory_evdev_dri.h",
18 "dri_console_buffer.cc",
19 "dri_console_buffer.h",
20 "dri_buffer.cc",
21 "dri_buffer.h",
22 "dri_surface.cc",
23 "dri_surface.h",
24 "dri_surface_factory.cc",
25 "dri_surface_factory.h",
26 "dri_util.cc",
27 "dri_util.h",
28 "dri_vsync_provider.cc",
29 "dri_vsync_provider.h",
30 "dri_window.cc",
31 "dri_window.h",
32 "dri_wrapper.cc",
33 "dri_wrapper.h",
34 "hardware_display_controller.cc",
35 "hardware_display_controller.h",
36 "scoped_drm_types.cc",
37 "scoped_drm_types.h",
38 "screen_manager.cc",
39 "screen_manager.h",
40 "scanout_buffer.h",
41 "virtual_terminal_manager.cc",
42 "virtual_terminal_manager.h",
43 ]
44
45 deps = [
46 "//base",
47 "//skia",
48 "//ipc",
49 "//ui/base",
50 "//ui/display/types",
51 "//ui/events",
52 "//ui/events/ozone:events_ozone_evdev",
53 "//ui/gfx",
54 "//ui/gfx/geometry",
55 ]
56
57 direct_dependent_configs = [
58 "//build/config/linux:libdrm",
59 ]
60 }
61
62 if (ozone_platform_dri) {
63 source_set("dri") {
64 sources = [
65 "ozone_platform_dri.cc",
66 "ozone_platform_dri.h",
67 ]
68
69 deps = [
70 ":dri_common",
71 "//base",
72 "//skia",
73 "//ui/events/ozone:events_ozone_evdev",
74 ]
75 }
76
77 source_set("dri_unittests") {
78 sources = [
79 "dri_surface_factory_unittest.cc",
80 "dri_surface_unittest.cc",
81 "hardware_display_controller_unittest.cc",
82 "screen_manager_unittest.cc",
83 "test/mock_dri_wrapper.cc",
84 "test/mock_dri_wrapper.h",
85 ]
86
87 deps = [
88 ":dri_common",
89 "//skia",
90 "//testing/gtest",
91 ]
92 }
93 }
94
95 if (ozone_platform_gbm) {
96 pkg_config("libgbm") {
97 packages = [ "gbm" ]
98 }
99
100 source_set("gbm") {
101 sources = [
102 "chromeos/display_message_handler.cc",
103 "chromeos/display_message_handler.h",
104 "chromeos/native_display_delegate_proxy.cc",
105 "chromeos/native_display_delegate_proxy.h",
106 "gbm_buffer.cc",
107 "gbm_buffer.h",
108 "gbm_buffer_base.cc",
109 "gbm_buffer_base.h",
110 "gbm_surface.cc",
111 "gbm_surface.h",
112 "gbm_surfaceless.cc",
113 "gbm_surfaceless.h",
114 "gbm_surface_factory.cc",
115 "gbm_surface_factory.h",
116 "gpu_platform_support_gbm.cc",
117 "gpu_platform_support_gbm.h",
118 "gpu_platform_support_host_gbm.cc",
119 "gpu_platform_support_host_gbm.h",
120 "ozone_platform_gbm.cc",
121 "ozone_platform_gbm.h",
122 ]
123
124 deps = [
125 ":dri_common",
126 "//base",
127 "//skia",
128 "//ui/events/ozone:events_ozone_evdev",
129 ]
130
131 direct_dependent_configs = [
132 ":libgbm",
133 ]
134 }
135 }
OLDNEW
« no previous file with comments | « ui/ozone/platform/caca/BUILD.gn ('k') | ui/ozone/platform/egltest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698