21 lines
662 B
Plaintext
21 lines
662 B
Plaintext
Index: build/config/ozone.gni
|
|
--- build/config/ozone.gni.orig
|
|
+++ build/config/ozone.gni
|
|
@@ -87,7 +87,15 @@ declare_args() {
|
|
} else if (is_chromeos_lacros) {
|
|
ozone_platform = "wayland"
|
|
ozone_platform_wayland = true
|
|
- } else if (is_linux) {
|
|
+ } else if (is_linux && !is_bsd) {
|
|
+ ozone_platform = "x11"
|
|
+ ozone_platform_wayland = true
|
|
+ ozone_platform_x11 = true
|
|
+ } else if (is_openbsd) {
|
|
+ ozone_platform = "x11"
|
|
+ ozone_platform_wayland = false
|
|
+ ozone_platform_x11 = true
|
|
+ } else if (is_freebsd) {
|
|
ozone_platform = "x11"
|
|
ozone_platform_wayland = true
|
|
ozone_platform_x11 = true
|