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

Side by Side Diff: ui/ozone/gl/BUILD.gn

Issue 2375013003: ozone: Remove GLImageOzoneNativePixmapDrm unittest. (Closed)
Patch Set: Created 4 years, 2 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/gl/gl_image_ozone_native_pixmap_drm_unittest.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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")
6 import("//testing/test.gni") 5 import("//testing/test.gni")
7 6
8 if (target_os == "chromeos") {
9 pkg_config("libdrm") {
10 packages = [ "libdrm" ]
11 }
12 }
13
14 component("gl") { 7 component("gl") {
15 sources = [ 8 sources = [
16 "gl_image_ozone_native_pixmap.cc", 9 "gl_image_ozone_native_pixmap.cc",
17 "gl_image_ozone_native_pixmap.h", 10 "gl_image_ozone_native_pixmap.h",
18 "ozone_gl_export.h", 11 "ozone_gl_export.h",
19 ] 12 ]
20 13
21 defines = [ "OZONE_GL_IMPLEMENTATION" ] 14 defines = [ "OZONE_GL_IMPLEMENTATION" ]
22 15
23 deps = [ 16 deps = [
24 "//ui/gfx", 17 "//ui/gfx",
25 "//ui/gl", 18 "//ui/gl",
26 "//ui/ozone:ozone_base", 19 "//ui/ozone:ozone_base",
27 ] 20 ]
28 } 21 }
29 22
30 test("ozone_gl_unittests") { 23 test("ozone_gl_unittests") {
31 sources = [ 24 sources = [
32 "gl_image_ozone_native_pixmap_unittest.cc", 25 "gl_image_ozone_native_pixmap_unittest.cc",
33 ] 26 ]
34 27
35 if (target_os == "chromeos" && target_cpu != "arm") {
36 sources += [ "gl_image_ozone_native_pixmap_drm_unittest.cc" ]
37 }
38
39 deps = [ 28 deps = [
40 "//base/test:test_support", 29 "//base/test:test_support",
41 "//testing/gtest", 30 "//testing/gtest",
42 "//ui/gfx", 31 "//ui/gfx",
43 "//ui/gl:run_all_unittests", 32 "//ui/gl:run_all_unittests",
44 "//ui/gl:test_support", 33 "//ui/gl:test_support",
45 "//ui/ozone", 34 "//ui/ozone",
46 ] 35 ]
47 36
48 if (target_os == "chromeos") {
49 configs += [ ":libdrm" ]
50 }
51
52 data_deps = [ 37 data_deps = [
53 "//third_party/mesa:osmesa", 38 "//third_party/mesa:osmesa",
54 ] 39 ]
55 } 40 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/gl/gl_image_ozone_native_pixmap_drm_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698