123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815 |
- # Copyright 2015 The Chromium Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
- import("//build/config/chromeos/ui_mode.gni")
- import("//build/config/ozone.gni")
- import("//build/config/ui.gni")
- import("//components/exo/buildflags.gni")
- import("//gpu/vulkan/features.gni")
- import("//testing/test.gni")
- import("//ui/base/ui_features.gni")
- source_set("wayland") {
- sources = [
- "overlay_prioritizer.cc",
- "overlay_prioritizer.h",
- "scoped_wl.cc",
- "scoped_wl.h",
- "serial_tracker.cc",
- "serial_tracker.h",
- "server.cc",
- "server.h",
- "server_util.cc",
- "server_util.h",
- "surface_augmenter.cc",
- "surface_augmenter.h",
- "wayland_display_observer.cc",
- "wayland_display_observer.h",
- "wayland_display_output.cc",
- "wayland_display_output.h",
- "wayland_display_util.cc",
- "wayland_display_util.h",
- "wayland_input_delegate.cc",
- "wayland_input_delegate.h",
- "wayland_pointer_delegate.cc",
- "wayland_pointer_delegate.h",
- "wayland_touch_delegate.cc",
- "wayland_touch_delegate.h",
- "wayland_watcher.cc",
- "wl_compositor.cc",
- "wl_compositor.h",
- "wl_data_device_manager.cc",
- "wl_data_device_manager.h",
- "wl_output.cc",
- "wl_output.h",
- "wl_seat.cc",
- "wl_seat.h",
- "wl_shm.cc",
- "wl_shm.h",
- "wl_subcompositor.cc",
- "wl_subcompositor.h",
- "wp_presentation.cc",
- "wp_presentation.h",
- "wp_viewporter.cc",
- "wp_viewporter.h",
- "zaura_shell.cc",
- "zaura_shell.h",
- "zcr_alpha_compositing.cc",
- "zcr_alpha_compositing.h",
- "zcr_secure_output.cc",
- "zcr_secure_output.h",
- "zcr_stylus.cc",
- "zcr_stylus.h",
- "zcr_vsync_feedback.cc",
- "zcr_vsync_feedback.h",
- "zwp_linux_explicit_synchronization.cc",
- "zwp_linux_explicit_synchronization.h",
- ]
- defines = [ "EXO_IMPLEMENTATION" ]
- deps = [
- "//base",
- "//build:chromeos_buildflags",
- "//components/exo",
- "//components/exo:buildflags",
- "//components/exo/wayland/protocol:aura_shell_protocol",
- "//components/exo/wayland/protocol:chrome_color_management_protocol",
- "//components/exo/wayland/protocol:overlay_prioritizer_protocol",
- "//components/exo/wayland/protocol:surface_augmenter_protocol",
- "//device/gamepad",
- "//services/viz/privileged/mojom/compositing",
- "//services/viz/public/mojom",
- "//skia",
- "//third_party/libsync",
- "//third_party/wayland:wayland_server",
- "//third_party/wayland-protocols:alpha_compositing_protocol",
- "//third_party/wayland-protocols:cursor_shapes_protocol",
- "//third_party/wayland-protocols:extended_drag",
- "//third_party/wayland-protocols:gaming_input_protocol",
- "//third_party/wayland-protocols:input_timestamps_protocol",
- "//third_party/wayland-protocols:keyboard_configuration_protocol",
- "//third_party/wayland-protocols:keyboard_extension_protocol",
- "//third_party/wayland-protocols:keyboard_shortcuts_inhibit_protocol",
- "//third_party/wayland-protocols:linux_explicit_synchronization_protocol",
- "//third_party/wayland-protocols:notification_shell_protocol",
- "//third_party/wayland-protocols:pointer_constraints_protocol",
- "//third_party/wayland-protocols:pointer_gestures_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//third_party/wayland-protocols:relative_pointer_protocol",
- "//third_party/wayland-protocols:remote_shell_protocol",
- "//third_party/wayland-protocols:secure_output_protocol",
- "//third_party/wayland-protocols:stylus_protocol",
- "//third_party/wayland-protocols:stylus_tools_protocol",
- "//third_party/wayland-protocols:text_input_extension_protocol",
- "//third_party/wayland-protocols:text_input_protocol",
- "//third_party/wayland-protocols:touchpad_haptics_protocol",
- "//third_party/wayland-protocols:viewporter_protocol",
- "//third_party/wayland-protocols:vsync_feedback_protocol",
- "//third_party/wayland-protocols:xdg_decoration_protocol",
- "//third_party/wayland-protocols:xdg_output_protocol",
- "//third_party/wayland-protocols:xdg_shell_protocol",
- "//ui/aura",
- "//ui/base",
- "//ui/base/dragdrop/mojom:mojom_shared",
- "//ui/display/manager",
- "//ui/events:dom_keycode_converter",
- "//ui/events:events_base",
- "//ui/events/devices:devices",
- "//ui/views",
- "//ui/wm:wm",
- "//ui/wm/public",
- ]
- if (use_ozone) {
- sources += [
- "zwp_linux_dmabuf.cc",
- "zwp_linux_dmabuf.h",
- ]
- deps += [
- "//build/config/linux/libdrm",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//ui/ozone",
- ]
- if (is_chromeos_ash) {
- deps += [
- "//ash",
- "//ash/public/cpp",
- "//chromeos/ui/base",
- ]
- }
- }
- if (use_xkbcommon) {
- deps += [ "//ui/events/keycodes:xkb" ]
- }
- if (is_chromeos_ash) {
- sources += [
- "wayland_keyboard_delegate.cc",
- "wayland_keyboard_delegate.h",
- "wayland_positioner.cc",
- "wayland_positioner.h",
- "weston_test.h",
- "wl_shell.cc",
- "wl_shell.h",
- "xdg_shell.cc",
- "xdg_shell.h",
- "zcr_cursor_shapes.cc",
- "zcr_cursor_shapes.h",
- "zcr_extended_drag.cc",
- "zcr_extended_drag.h",
- "zcr_gaming_input.cc",
- "zcr_gaming_input.h",
- "zcr_keyboard_configuration.cc",
- "zcr_keyboard_configuration.h",
- "zcr_keyboard_extension.cc",
- "zcr_keyboard_extension.h",
- "zcr_notification_shell.cc",
- "zcr_notification_shell.h",
- "zcr_remote_shell.cc",
- "zcr_remote_shell.h",
- "zcr_remote_shell_event_mapping.h",
- "zcr_remote_shell_impl.cc",
- "zcr_remote_shell_impl.h",
- "zcr_remote_shell_v2.cc",
- "zcr_remote_shell_v2.h",
- "zcr_stylus_tools.cc",
- "zcr_stylus_tools.h",
- "zcr_touchpad_haptics.cc",
- "zcr_touchpad_haptics.h",
- "zwp_idle_inhibit_manager.cc",
- "zwp_idle_inhibit_manager.h",
- "zwp_input_timestamps_manager.cc",
- "zwp_input_timestamps_manager.h",
- "zwp_keyboard_shortcuts_inhibit_manager.cc",
- "zwp_keyboard_shortcuts_inhibit_manager.h",
- "zwp_pointer_constraints.cc",
- "zwp_pointer_constraints.h",
- "zwp_pointer_gestures.cc",
- "zwp_pointer_gestures.h",
- "zwp_relative_pointer_manager.cc",
- "zwp_relative_pointer_manager.h",
- "zwp_text_input_manager.cc",
- "zwp_text_input_manager.h",
- "zxdg_decoration_manager.h",
- "zxdg_output_manager.cc",
- "zxdg_output_manager.h",
- "zxdg_shell.cc",
- "zxdg_shell.h",
- ]
- if (enable_color_manager) {
- deps += [
- "//ash:ash",
- "//components/exo/wayland/protocol:chrome_color_management_protocol",
- "//ui/base/wayland:color_manager_util",
- ]
- sources += [
- "zcr_color_manager.cc",
- "zcr_color_manager.h",
- ]
- }
- deps += [
- "//services/device/public/mojom",
- "//services/device/wake_lock/power_save_blocker",
- "//third_party/wayland-protocols:idle_inhibit_protocol",
- "//ui/base/cursor/mojom:cursor_type",
- "//ui/base/wayland:wayland_server_input_types",
- "//ui/events/ozone/layout",
- ]
- }
- }
- static_library("weston_test") {
- testonly = true
- defines = [ "WESTON_TEST_IMPLEMENTATION" ]
- deps = [
- ":wayland",
- "//base",
- "//components/exo",
- "//third_party/wayland:wayland_server",
- "//third_party/wayland-protocols:weston_test",
- "//ui/base:test_support",
- "//ui/compositor",
- "//ui/wm",
- ]
- sources = [ "weston_test.cc" ]
- if (is_chromeos_ash) {
- deps += [ "//ash" ]
- }
- }
- static_library("weston_test_stub") {
- testonly = false
- defines = [ "WESTON_TEST_IMPLEMENTATION" ]
- sources = [ "weston_test_stub.cc" ]
- deps = [ ":wayland" ]
- }
- source_set("unit_tests") {
- testonly = true
- sources = [
- "server_unittest.cc",
- "test/wayland_server_test_base.cc",
- "test/wayland_server_test_base.h",
- ]
- deps = [
- ":wayland",
- "//base",
- "//base/test:test_support",
- "//build:chromeos_buildflags",
- "//components/exo",
- "//components/exo:test_support",
- "//components/exo/wayland/fuzzer:unit_tests",
- "//components/exo/wayland/protocol:aura_shell_protocol",
- "//components/exo/wayland/protocol:overlay_prioritizer_protocol",
- "//components/exo/wayland/protocol:surface_augmenter_protocol",
- "//skia",
- "//testing/gmock",
- "//testing/gtest",
- "//third_party/wayland:wayland_client",
- ]
- if (is_chromeos_ash) {
- sources += [
- "wayland_display_observer_unittest.cc",
- "wayland_display_util_unittest.cc",
- "wayland_keyboard_delegate_unittest.cc",
- "wayland_positioner_unittest.cc",
- "zaura_shell_unittest.cc",
- "zcr_remote_shell_impl_unittest.cc",
- "zcr_remote_shell_unittest.cc",
- ]
- deps += [
- "//ash",
- "//ash:test_support",
- "//ash/public/cpp",
- "//third_party/wayland-protocols:remote_shell_protocol",
- "//third_party/wayland-protocols:xdg_output_protocol",
- "//third_party/wayland-protocols:xdg_shell_protocol",
- "//ui/compositor",
- "//ui/compositor:test_support",
- "//ui/display",
- "//ui/gfx",
- "//ui/wm/public",
- ]
- }
- }
- config("client_support_config") {
- if (ozone_platform_drm) {
- defines = [ "USE_GBM" ]
- if (enable_vulkan) {
- defines += [ "USE_VULKAN" ]
- }
- }
- }
- source_set("client_support") {
- sources = [
- "clients/client_base.cc",
- "clients/client_base.h",
- "clients/client_helper.cc",
- "clients/client_helper.h",
- ]
- deps = [
- "//base",
- "//gpu/vulkan:vulkan",
- "//gpu/vulkan/init:init",
- "//ui/gl",
- "//ui/gl/init",
- ]
- public_deps = [
- "//components/exo/wayland/protocol:aura_shell_protocol",
- "//components/exo/wayland/protocol:chrome_color_management_protocol",
- "//components/exo/wayland/protocol:overlay_prioritizer_protocol",
- "//components/exo/wayland/protocol:surface_augmenter_protocol",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:alpha_compositing_protocol",
- "//third_party/wayland-protocols:cursor_shapes_protocol",
- "//third_party/wayland-protocols:extended_drag",
- "//third_party/wayland-protocols:fullscreen_shell_protocol",
- "//third_party/wayland-protocols:gaming_input_protocol",
- "//third_party/wayland-protocols:idle_inhibit_protocol",
- "//third_party/wayland-protocols:input_timestamps_protocol",
- "//third_party/wayland-protocols:keyboard_configuration_protocol",
- "//third_party/wayland-protocols:keyboard_extension_protocol",
- "//third_party/wayland-protocols:keyboard_shortcuts_inhibit_protocol",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:linux_explicit_synchronization_protocol",
- "//third_party/wayland-protocols:notification_shell_protocol",
- "//third_party/wayland-protocols:pointer_constraints_protocol",
- "//third_party/wayland-protocols:pointer_gestures_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//third_party/wayland-protocols:relative_pointer_protocol",
- "//third_party/wayland-protocols:remote_shell_protocol",
- "//third_party/wayland-protocols:secure_output_protocol",
- "//third_party/wayland-protocols:stylus_protocol",
- "//third_party/wayland-protocols:stylus_tools_protocol",
- "//third_party/wayland-protocols:text_input_extension_protocol",
- "//third_party/wayland-protocols:text_input_protocol",
- "//third_party/wayland-protocols:touchpad_haptics_protocol",
- "//third_party/wayland-protocols:viewporter_protocol",
- "//third_party/wayland-protocols:vsync_feedback_protocol",
- "//third_party/wayland-protocols:vsync_feedback_protocol",
- "//third_party/wayland-protocols:weston_test",
- "//third_party/wayland-protocols:xdg_decoration_protocol",
- "//third_party/wayland-protocols:xdg_output_protocol",
- "//third_party/wayland-protocols:xdg_shell_protocol",
- ]
- if (ozone_platform_drm) {
- configs += [ "//ui/gl:gl_config" ]
- deps += [
- "//build/config/linux/libdrm",
- "//ui/ozone",
- ]
- public_deps += [ "//third_party/minigbm" ]
- }
- public_configs = [ ":client_support_config" ]
- }
- executable("wayland_rects_client") {
- sources = [ "clients/rects.cc" ]
- deps = [
- ":client_support",
- "//base",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:input_timestamps_protocol",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
- if (ozone_platform_drm) {
- configs += [ "//ui/gl:gl_config" ]
- defines = [ "USE_GBM" ]
- deps += [
- "//build/config/linux/libdrm",
- "//third_party/minigbm",
- ]
- }
- }
- source_set("simple") {
- sources = [
- "clients/simple.cc",
- "clients/simple.h",
- ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//third_party/wayland-protocols:vsync_feedback_protocol",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
- if (ozone_platform_drm) {
- configs += [ "//ui/gl:gl_config" ]
- }
- }
- source_set("client_version_test") {
- sources = [
- "clients/test/client_version_test.cc",
- "clients/test/client_version_test.h",
- ]
- deps = [
- ":client_support",
- "//base",
- "//third_party/wayland:wayland_client",
- ]
- public_deps = []
- if (ozone_platform_drm) {
- configs += [ "//ui/gl:gl_config" ]
- }
- }
- source_set("fullscreen_shell") {
- sources = [
- "clients/fullscreen_shell.cc",
- "clients/fullscreen_shell.h",
- ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
- if (ozone_platform_drm) {
- configs += [ "//ui/gl:gl_config" ]
- }
- }
- executable("wayland_simple_client") {
- sources = [ "clients/simple_main.cc" ]
- deps = [
- ":client_support",
- ":simple",
- "//base",
- ]
- }
- executable("wayland_client_version_binding") {
- sources = [ "clients/test/client_version_binding_main.cc" ]
- deps = [
- ":client_support",
- ":client_version_test",
- "//base",
- ]
- }
- executable("wayland_fullscreen_client") {
- sources = [ "clients/fullscreen_shell_main.cc" ]
- deps = [
- ":client_support",
- ":fullscreen_shell",
- "//base",
- ]
- }
- executable("wayland_subsurface_client") {
- sources = [ "clients/subsurface.cc" ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
- if (ozone_platform_drm) {
- configs += [ "//ui/gl:gl_config" ]
- }
- }
- source_set("blur") {
- sources = [
- "clients/blur.cc",
- "clients/blur.h",
- ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
- if (ozone_platform_drm) {
- configs += [ "//ui/gl:gl_config" ]
- }
- }
- executable("wayland_blur_client") {
- sources = [ "clients/blur_main.cc" ]
- deps = [
- ":blur",
- ":client_support",
- "//base",
- ]
- }
- executable("wayland_info_client") {
- sources = [ "clients/info.cc" ]
- deps = [
- ":client_support",
- "//base",
- "//third_party/wayland:wayland_client",
- "//ui/gfx/geometry",
- ]
- }
- source_set("wayland_client_test_helper") {
- testonly = true
- sources = [
- "clients/test/wayland_client_test.cc",
- "clients/test/wayland_client_test.h",
- "clients/test/wayland_client_test_helper.cc",
- "clients/test/wayland_client_test_helper.h",
- "clients/test/wayland_client_test_server.cc",
- "clients/test/wayland_client_test_server.h",
- ]
- deps = [
- ":wayland",
- "//base",
- "//base/test:test_support",
- "//cc:test_support",
- "//components/exo",
- "//components/exo/wayland",
- "//components/viz/test:test_support",
- "//mojo/core/embedder",
- "//testing/gtest",
- "//ui/aura",
- "//ui/aura:test_support",
- "//ui/events:gesture_detection",
- "//ui/wm",
- ]
- data_deps = []
- if (is_chromeos_ash) {
- deps += [
- "//ash",
- "//ash:test_support",
- "//ash/public/cpp",
- ]
- }
- }
- test("wayland_client_tests") {
- testonly = true
- use_xvfb = use_xvfb_in_this_config
- sources = [
- "clients/interface_binding_test.cc",
- "clients/security_delegate_binding_test.cc",
- "clients/test/run_all_client_tests.cc",
- ]
- deps = [
- ":client_support",
- ":client_version_test",
- ":wayland_client_test_helper",
- "//components/exo",
- "//components/exo/wayland",
- "//ui/base",
- "//ui/color:color",
- "//ui/gl:test_support",
- ]
- data_deps = []
- if (is_chromeos_ash) {
- sources += [
- "../../../ash/test/ash_test_suite.cc",
- "../../../ash/test/ash_test_suite.h",
- ]
- data_deps += [
- "//ash/resources:ash_test_resources_100_percent",
- "//ash/resources:ash_test_resources_200_percent",
- "//ash/strings:ash_test_strings",
- ]
- deps += [
- "//ash:test_support",
- "//base/test:test_support",
- ]
- }
- }
- test("wayland_client_perftests") {
- use_xvfb = use_xvfb_in_this_config
- sources = [
- "clients/perftests.cc",
- "clients/test/run_all_client_tests.cc",
- ]
- deps = [
- ":blur",
- ":client_support",
- ":client_version_test",
- ":simple",
- ":wayland_client_test_helper",
- "//base/test:test_support",
- "//cc:test_support",
- "//components/viz/test:test_support",
- "//mojo/core/embedder",
- "//testing/gtest",
- "//testing/perf",
- "//ui/aura:test_support",
- "//ui/base",
- "//ui/color:color",
- "//ui/compositor:test_support",
- "//ui/gl:test_support",
- ]
- data_deps = []
- if (is_chromeos_ash) {
- sources += [
- "../../../ash/test/ash_test_suite.cc",
- "../../../ash/test/ash_test_suite.h",
- ]
- data_deps += [
- "//ash/resources:ash_test_resources_100_percent",
- "//ash/resources:ash_test_resources_200_percent",
- "//ash/strings:ash_test_strings",
- ]
- deps += [ "//ash:test_support" ]
- }
- }
- test("wayland_client_compatibility_tests") {
- testonly = true
- sources = [
- "compatibility_test/client_compatibility_test.cc",
- "compatibility_test/client_compatibility_test.h",
- "compatibility_test/client_compatibility_test_server.cc",
- "compatibility_test/wayland_client_event_receiver_version_fixtures.h",
- "compatibility_test/wayland_client_event_recorder.cc",
- "compatibility_test/wayland_client_event_recorder.h",
- "compatibility_test/wayland_client_registry.cc",
- "compatibility_test/wayland_client_registry.h",
- ]
- deps = [
- ":wayland",
- ":wayland_client_test_helper",
- "//base",
- "//base/test:test_support",
- "//components/exo/wayland/compatibility_test",
- "//components/exo/wayland/compatibility_test:generated_client_helper_headers",
- "//components/viz/test:test_support",
- "//mojo/core/embedder:embedder",
- "//ui/color:color",
- "//ui/gl:test_support",
- ]
- if (is_chromeos_ash) {
- deps += [ "//ash:test_support" ]
- }
- data_deps = []
- }
- if (ozone_platform_drm) {
- test("wayland_client_integration_tests") {
- sources = [
- "test/integration/buffer_checker_test.cc",
- "test/integration/wayland_client_integration_tests_main.cc",
- ]
- deps = [
- ":client_support",
- "//base",
- "//base/test:test_support",
- "//build/config/linux/libdrm",
- "//ui/gfx:gfx",
- "//ui/gfx/linux:drm",
- "//ui/gfx/linux:gbm",
- "//ui/gl",
- ]
- }
- executable("wayland_yuv_client") {
- sources = [ "clients/yuv.cc" ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//ui/gfx/geometry",
- ]
- configs += [ "//ui/gl:gl_config" ]
- deps += [ "//third_party/minigbm" ]
- }
- executable("wayland_hdr_client") {
- sources = [ "clients/hdr.cc" ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//components/exo/wayland/protocol:chrome_color_management_protocol",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//ui/gfx/geometry",
- ]
- configs += [ "//ui/gl:gl_config" ]
- deps += [ "//third_party/minigbm" ]
- }
- executable("wayland_explicit_synchronization_client") {
- sources = [ "clients/explicit_synchronization.cc" ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:linux_explicit_synchronization_protocol",
- "//ui/gl",
- ]
- configs += [ "//ui/gl:gl_config" ]
- }
- if (enable_vulkan) {
- executable("wayland_vulkan_client") {
- sources = [ "clients/vulkan.cc" ]
- deps = [
- ":client_support",
- "//base",
- "//build/config/linux/libdrm",
- "//gpu/vulkan/init",
- "//skia",
- "//third_party/wayland:wayland_client",
- "//third_party/wayland-protocols:linux_dmabuf_protocol",
- "//third_party/wayland-protocols:presentation_time_protocol",
- "//ui/gfx/geometry",
- ]
- configs += [ "//ui/gl:gl_config" ]
- deps += [ "//third_party/minigbm" ]
- }
- }
- }
|