Avi Drissman | 73a09d1 | 2022-09-08 20:33:38 | [diff] [blame] | 1 | # Copyright 2022 The Chromium Authors |
Antonio Caggiano | 3d415c7 | 2022-06-13 21:19:42 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("//build/config/ozone.gni") |
| 6 | |
| 7 | wayland_gn_dir = "//third_party/wayland" |
| 8 | |
Wanchang Ryu | ccd442f9 | 2024-07-11 08:59:44 | [diff] [blame] | 9 | if (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 Caggiano | 3d415c7 | 2022-06-13 21:19:42 | [diff] [blame] | 16 | # Path to Wayland sources |
| 17 | wayland_dir = "$wayland_gn_dir/src" |