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

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

Issue 886323004: ozone: dri: Fix undefined references in DRI platform GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also fix gyp build Created 5 years, 10 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
« no previous file with comments | « no previous file | ui/ozone/platform/dri/crtc_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 } 10 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "native_display_delegate_proxy.h", 68 "native_display_delegate_proxy.h",
69 "overlay_plane.cc", 69 "overlay_plane.cc",
70 "overlay_plane.h", 70 "overlay_plane.h",
71 "scoped_drm_types.cc", 71 "scoped_drm_types.cc",
72 "scoped_drm_types.h", 72 "scoped_drm_types.h",
73 "screen_manager.cc", 73 "screen_manager.cc",
74 "screen_manager.h", 74 "screen_manager.h",
75 "scanout_buffer.h", 75 "scanout_buffer.h",
76 ] 76 ]
77 77
78 defines = [ "OZONE_IMPLEMENTATION" ]
79
78 deps = [ 80 deps = [
79 "//base", 81 "//base",
80 "//skia", 82 "//skia",
81 "//ipc", 83 "//ipc",
82 "//ui/base", 84 "//ui/base",
83 "//ui/display/types", 85 "//ui/display/types",
84 "//ui/display/util", 86 "//ui/display/util",
85 "//ui/events", 87 "//ui/events",
86 "//ui/events/devices", 88 "//ui/events/devices",
87 "//ui/events/ozone:events_ozone_evdev", 89 "//ui/events/ozone:events_ozone_evdev",
(...skipping 21 matching lines...) Expand all
109 "//ui/events/ozone:events_ozone_layout", 111 "//ui/events/ozone:events_ozone_layout",
110 ] 112 ]
111 } 113 }
112 114
113 source_set("dri_unittests") { 115 source_set("dri_unittests") {
114 testonly = true 116 testonly = true
115 sources = [ 117 sources = [
116 "dri_surface_unittest.cc", 118 "dri_surface_unittest.cc",
117 "dri_window_delegate_impl_unittest.cc", 119 "dri_window_delegate_impl_unittest.cc",
118 "hardware_display_controller_unittest.cc", 120 "hardware_display_controller_unittest.cc",
119 "hardware_display_manager_unittest.cc", 121 "hardware_display_plane_manager_unittest.cc",
120 "screen_manager_unittest.cc", 122 "screen_manager_unittest.cc",
121 "test/mock_dri_wrapper.cc", 123 "test/mock_dri_wrapper.cc",
122 "test/mock_dri_wrapper.h", 124 "test/mock_dri_wrapper.h",
123 ] 125 ]
124 126
125 deps = [ 127 deps = [
126 ":dri_common",
127 "//skia", 128 "//skia",
128 "//testing/gtest", 129 "//testing/gtest",
130 "//ui/ozone",
129 ] 131 ]
132
133 public_configs = [ ":libdrm" ]
130 } 134 }
131 } 135 }
132 136
133 if (ozone_platform_gbm) { 137 if (ozone_platform_gbm) {
134 pkg_config("libgbm") { 138 pkg_config("libgbm") {
135 packages = [ "gbm" ] 139 packages = [ "gbm" ]
136 } 140 }
137 141
138 source_set("gbm") { 142 source_set("gbm") {
139 sources = [ 143 sources = [
(...skipping 21 matching lines...) Expand all
161 "//ui/events/ozone:events_ozone_layout", 165 "//ui/events/ozone:events_ozone_layout",
162 ] 166 ]
163 167
164 public_configs = [ ":libgbm" ] 168 public_configs = [ ":libgbm" ]
165 169
166 if (use_mesa_platform_null) { 170 if (use_mesa_platform_null) {
167 defines += [ "USE_MESA_PLATFORM_NULL" ] 171 defines += [ "USE_MESA_PLATFORM_NULL" ]
168 } 172 }
169 } 173 }
170 } 174 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/dri/crtc_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698