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

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

Issue 2187443003: Convert Ozone wayland to directly create GLSurfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/wayland/gl_surface_wayland.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 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 visibility = [ "//ui/ozone/*" ] 5 visibility = [ "//ui/ozone/*" ]
6 6
7 import("//build/config/linux/pkg_config.gni") 7 import("//build/config/linux/pkg_config.gni")
8 8
9 declare_args() { 9 declare_args() {
10 use_wayland_egl = true 10 use_wayland_egl = true
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 "//ui/gfx/geometry", 45 "//ui/gfx/geometry",
46 "//ui/ozone:ozone_base", 46 "//ui/ozone:ozone_base",
47 "//ui/ozone/common", 47 "//ui/ozone/common",
48 "//ui/platform_window", 48 "//ui/platform_window",
49 ] 49 ]
50 50
51 defines = [ "OZONE_IMPLEMENTATION" ] 51 defines = [ "OZONE_IMPLEMENTATION" ]
52 52
53 if (use_wayland_egl) { 53 if (use_wayland_egl) {
54 sources += [ 54 sources += [
55 "wayland_egl_surface.cc", 55 "gl_surface_wayland.cc",
56 "wayland_egl_surface.h", 56 "gl_surface_wayland.h",
57 ] 57 ]
58 configs += [ 58 configs += [
59 ":wayland-egl", 59 ":wayland-egl",
60 "//third_party/khronos:khronos_headers", 60 "//third_party/khronos:khronos_headers",
61 ] 61 ]
62 defines += [ "USE_WAYLAND_EGL" ] 62 defines += [ "USE_WAYLAND_EGL" ]
63 } 63 }
64 } 64 }
65 65
66 source_set("wayland_unittests") { 66 source_set("wayland_unittests") {
(...skipping 16 matching lines...) Expand all
83 "//testing/gmock", 83 "//testing/gmock",
84 "//testing/gtest", 84 "//testing/gtest",
85 "//third_party/wayland:wayland_server", 85 "//third_party/wayland:wayland_server",
86 "//third_party/wayland-protocols:xdg_shell_protocol", 86 "//third_party/wayland-protocols:xdg_shell_protocol",
87 "//ui/gfx:test_support", 87 "//ui/gfx:test_support",
88 "//ui/ozone:platform", 88 "//ui/ozone:platform",
89 ] 89 ]
90 90
91 defines = [ "WL_HIDE_DEPRECATED" ] 91 defines = [ "WL_HIDE_DEPRECATED" ]
92 } 92 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/wayland/gl_surface_wayland.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698