summaryrefslogtreecommitdiff
path: root/chromium/remoting/host
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/remoting/host')
-rw-r--r--chromium/remoting/host/BUILD.gn4
-rw-r--r--chromium/remoting/host/it2me/BUILD.gn2
2 files changed, 3 insertions, 3 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) {
diff --git a/chromium/remoting/host/it2me/BUILD.gn b/chromium/remoting/host/it2me/BUILD.gn
index a33ef931759..bd9e68240bf 100644
--- a/chromium/remoting/host/it2me/BUILD.gn
+++ b/chromium/remoting/host/it2me/BUILD.gn
@@ -93,7 +93,7 @@ source_set("common") {
"//services/network/public/cpp:cpp",
]
- if (is_linux) {
+ if (use_gtk) {
deps += [
"//build/config/linux/gtk",
"//ui/base:base",