Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: remoting/host/BUILD.gn

Issue 2342163002: Fix gtk3 build (Closed)
Patch Set: wip Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/BUILD.gn
diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn
index fd1745dc51e5f3963f5c483aa2f10deb425215e6..6b3f87c52f5eb1e52d02f144b92111fb804c0698 100644
--- a/remoting/host/BUILD.gn
+++ b/remoting/host/BUILD.gn
@@ -411,7 +411,11 @@ static_library("host") {
"//build/config/linux:xrandr",
]
if (is_desktop_linux) {
- deps += [ "//build/config/linux/gtk2" ]
+ if (use_gtk3) {
+ deps += [ "//build/config/linux/gtk3" ]
+ } else {
+ deps += [ "//build/config/linux/gtk2" ]
+ }
}
} else {
sources -= [
@@ -1154,7 +1158,11 @@ if (enable_me2me_host) {
}
if (is_desktop_linux) {
- deps += [ "//build/config/linux/gtk2" ]
+ if (use_gtk3) {
+ deps += [ "//build/config/linux/gtk3" ]
+ } else {
+ deps += [ "//build/config/linux/gtk2" ]
+ }
}
if ((is_linux && !is_chromeos) || is_mac) {
libs = [ "pam" ]
« no previous file with comments | « chrome/test/BUILD.gn ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698