app: fix build constraints for nowayland,nox11 on OpenBSD, FreeBSD

While here, add new-style //go:build constraints to generated wayland
glue files.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-08-30 15:28:44 +02:00
parent 9823e040de
commit 12aa9defe7
11 changed files with 312 additions and 109 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: Unlicense OR MIT
//go:build (linux && !android && !nowayland) || freebsd
// +build linux,!android,!nowayland freebsd
//go:build ((linux && !android) || freebsd) && !nowayland
// +build linux,!android freebsd
// +build !nowayland
package app