Chromium Code Reviews

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

Issue 1331913004: Add ozone_unittests to the build. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | no next file » | 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 use_drm_atomic = false 10 use_drm_atomic = false
(...skipping 138 matching lines...)
149 ":drm_common", 149 ":drm_common",
150 "//base", 150 "//base",
151 "//skia", 151 "//skia",
152 "//ui/base", 152 "//ui/base",
153 "//ui/ozone:ozone_base", 153 "//ui/ozone:ozone_base",
154 "//ui/events/ozone:events_ozone", 154 "//ui/events/ozone:events_ozone",
155 "//ui/events/ozone:events_ozone_evdev", 155 "//ui/events/ozone:events_ozone_evdev",
156 "//ui/events/ozone:events_ozone_layout", 156 "//ui/events/ozone:events_ozone_layout",
157 ] 157 ]
158 } 158 }
159 }
159 160
161 if (ozone_platform_dri || ozone_platform_drm || ozone_platform_gbm) {
160 source_set("drm_unittests") { 162 source_set("drm_unittests") {
161 testonly = true 163 testonly = true
162 sources = [ 164 sources = [
163 "gpu/drm_surface_unittest.cc", 165 "gpu/drm_surface_unittest.cc",
164 "gpu/drm_window_unittest.cc", 166 "gpu/drm_window_unittest.cc",
165 "gpu/hardware_display_controller_unittest.cc", 167 "gpu/hardware_display_controller_unittest.cc",
166 "gpu/hardware_display_plane_manager_unittest.cc", 168 "gpu/hardware_display_plane_manager_unittest.cc",
167 "gpu/screen_manager_unittest.cc", 169 "gpu/screen_manager_unittest.cc",
168 "test/mock_drm_device.cc", 170 "test/mock_drm_device.cc",
169 "test/mock_drm_device.h", 171 "test/mock_drm_device.h",
170 ] 172 ]
171 173
172 deps = [ 174 deps = [
173 "//base", 175 "//base",
176 "//mojo/public/c/system:for_shared_library",
174 "//skia", 177 "//skia",
175 "//testing/gtest", 178 "//testing/gtest",
179 "//ui/ozone:ozone",
jamesr 2015/09/10 22:58:44 just "//ui/ozone"
cdotstout 2015/09/11 00:57:41 Done.
176 "//ui/ozone:ozone_base", 180 "//ui/ozone:ozone_base",
177 "//ui/ozone/platform/drm:drm_common", 181 "//ui/ozone/platform/drm:drm_common",
178 ] 182 ]
179 183
180 public_configs = [ ":libdrm" ] 184 public_configs = [ ":libdrm" ]
181 } 185 }
182 } 186 }
183 187
184 if (ozone_platform_gbm) { 188 if (ozone_platform_gbm) {
185 pkg_config("libgbm") { 189 pkg_config("libgbm") {
(...skipping 33 matching lines...)
219 public_configs = [ 223 public_configs = [
220 ":libgbm", 224 ":libgbm",
221 "//third_party/khronos:khronos_headers", 225 "//third_party/khronos:khronos_headers",
222 ] 226 ]
223 227
224 if (use_mesa_platform_null) { 228 if (use_mesa_platform_null) {
225 defines += [ "USE_MESA_PLATFORM_NULL" ] 229 defines += [ "USE_MESA_PLATFORM_NULL" ]
226 } 230 }
227 } 231 }
228 } 232 }
OLDNEW
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine