| 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 |
| 11 } | 11 } |
| 12 | 12 |
| 13 if (use_wayland_egl) { | 13 if (use_wayland_egl) { |
| 14 pkg_config("wayland-egl") { | 14 pkg_config("wayland-egl") { |
| 15 packages = [ "wayland-egl" ] | 15 packages = [ "wayland-egl" ] |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 | 18 |
| 19 source_set("wayland") { | 19 source_set("wayland") { |
| 20 sources = [ | 20 sources = [ |
| 21 "client_native_pixmap_factory_wayland.cc", | 21 "client_native_pixmap_factory_wayland.cc", |
| 22 "client_native_pixmap_factory_wayland.h", | 22 "client_native_pixmap_factory_wayland.h", |
| 23 "ozone_platform_wayland.cc", | 23 "ozone_platform_wayland.cc", |
| 24 "ozone_platform_wayland.h", | 24 "ozone_platform_wayland.h", |
| 25 "wayland_connection.cc", | 25 "wayland_connection.cc", |
| 26 "wayland_connection.h", | 26 "wayland_connection.h", |
| 27 "wayland_object.cc", | 27 "wayland_object.cc", |
| 28 "wayland_object.h", | 28 "wayland_object.h", |
| 29 "wayland_output.cc", |
| 30 "wayland_output.h", |
| 29 "wayland_pointer.cc", | 31 "wayland_pointer.cc", |
| 30 "wayland_pointer.h", | 32 "wayland_pointer.h", |
| 31 "wayland_surface_factory.cc", | 33 "wayland_surface_factory.cc", |
| 32 "wayland_surface_factory.h", | 34 "wayland_surface_factory.h", |
| 33 "wayland_window.cc", | 35 "wayland_window.cc", |
| 34 "wayland_window.h", | 36 "wayland_window.h", |
| 35 ] | 37 ] |
| 36 | 38 |
| 37 deps = [ | 39 deps = [ |
| 38 "//base", | 40 "//base", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 "//testing/gmock", | 85 "//testing/gmock", |
| 84 "//testing/gtest", | 86 "//testing/gtest", |
| 85 "//third_party/wayland:wayland_server", | 87 "//third_party/wayland:wayland_server", |
| 86 "//third_party/wayland-protocols:xdg_shell_protocol", | 88 "//third_party/wayland-protocols:xdg_shell_protocol", |
| 87 "//ui/gfx:test_support", | 89 "//ui/gfx:test_support", |
| 88 "//ui/ozone:platform", | 90 "//ui/ozone:platform", |
| 89 ] | 91 ] |
| 90 | 92 |
| 91 defines = [ "WL_HIDE_DEPRECATED" ] | 93 defines = [ "WL_HIDE_DEPRECATED" ] |
| 92 } | 94 } |
| OLD | NEW |