summaryrefslogtreecommitdiff
path: root/chromium/remoting/host/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/remoting/host/BUILD.gn')
-rw-r--r--chromium/remoting/host/BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/remoting/host/BUILD.gn b/chromium/remoting/host/BUILD.gn
index 852c12a5c15..b5b58ef355f 100644
--- a/chromium/remoting/host/BUILD.gn
+++ b/chromium/remoting/host/BUILD.gn
@@ -508,7 +508,7 @@ static_library("common") {
"//ui/events/platform/x11",
"//ui/gfx/x",
]
- if (is_linux) {
+ if (use_gtk) {
deps += [ "//build/config/linux/gtk" ]
}
} else if (remoting_use_wayland && is_linux) {
@@ -1055,7 +1055,7 @@ if (enable_me2me_host) {
deps += [ "//components/policy:generated" ]
}
- if (is_linux || is_chromeos_lacros) {
+ if (use_gtk) {
deps += [ "//build/config/linux/gtk" ]
}
if (is_linux || is_chromeos_lacros || is_mac) {