blob: 52f4041d6eeedd79780c8b2569ca5e488c9d9bef [file] [log] [blame]
Avi Drissman73a09d12022-09-08 20:33:381# Copyright 2022 The Chromium Authors
Antonio Caggiano3d415c72022-06-13 21:19:422# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/ozone.gni")
6
7wayland_gn_dir = "//third_party/wayland"
8
Wanchang Ryuccd442f92024-07-11 08:59:449if (ozone_platform_wayland) {
10 # This defines use_system_libwayland
11 import("$wayland_gn_dir/features.gni")
12} else {
13 use_system_libwayland = false
14}
15
Antonio Caggiano3d415c72022-06-13 21:19:4216# Path to Wayland sources
17wayland_dir = "$wayland_gn_dir/src"