| Index: build/config/ui.gni
|
| diff --git a/build/config/ui.gni b/build/config/ui.gni
|
| index 3acf6556603f299694aa10d7796cf240b0cfb9cc..fa4f142ea9f19a00e6597caaf51300a03dc42505 100644
|
| --- a/build/config/ui.gni
|
| +++ b/build/config/ui.gni
|
| @@ -46,6 +46,9 @@ declare_args() {
|
|
|
| # Whether we should use glib, a low level C utility library.
|
| use_glib = is_linux
|
| +
|
| + # Indicates if Wayland display server support is enabled.
|
| + enable_wayland_server = is_chromeos
|
| }
|
|
|
| # Additional dependent variables -----------------------------------------------
|
| @@ -66,6 +69,11 @@ if (use_ozone) {
|
| use_glib = false
|
| }
|
|
|
| +# Turn off Wayland if glib is enabled.
|
| +if (use_glib) {
|
| + enable_wayland_server = false
|
| +}
|
| +
|
| if (is_linux && !use_ozone) {
|
| use_cairo = true
|
| use_pango = true
|
|
|