OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |