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

Side by Side Diff: remoting/host/BUILD.gn

Issue 1293073006: Make gtk2/gtk3 compile time switchable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove deprecation warning. Created 5 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 unified diff | Download patch
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform_test.gyp ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//remoting/remoting_host.gni") 7 import("//remoting/remoting_host.gni")
8 import("//remoting/remoting_locales.gni") 8 import("//remoting/remoting_locales.gni")
9 import("//remoting/remoting_srcs.gni") 9 import("//remoting/remoting_srcs.gni")
10 import("//remoting/remoting_version.gni") 10 import("//remoting/remoting_version.gni")
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 if (is_linux && !is_chromeos) { 84 if (is_linux && !is_chromeos) {
85 libs += [ "pam" ] 85 libs += [ "pam" ]
86 } 86 }
87 87
88 if (use_x11) { 88 if (use_x11) {
89 configs += [ 89 configs += [
90 "//build/config/linux:x11", 90 "//build/config/linux:x11",
91 "//build/config/linux:xrandr", 91 "//build/config/linux:xrandr",
92 ] 92 ]
93 if (!is_chromeos) { 93 if (!is_chromeos) {
94 deps += [ "//build/config/linux/gtk" ] 94 deps += [ "//build/config/linux/gtk2" ]
95 } 95 }
96 } else { 96 } else {
97 sources -= [ 97 sources -= [
98 "clipboard_x11.cc", 98 "clipboard_x11.cc",
99 "desktop_resizer_x11.cc", 99 "desktop_resizer_x11.cc",
100 "input_injector_x11.cc", 100 "input_injector_x11.cc",
101 "local_input_monitor_x11.cc", 101 "local_input_monitor_x11.cc",
102 ] 102 ]
103 if (is_linux) { 103 if (is_linux) {
104 # These will already be filtered out on non-Linux. 104 # These will already be filtered out on non-Linux.
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 "//remoting/host", 445 "//remoting/host",
446 "//remoting/proto", 446 "//remoting/proto",
447 "//third_party/webrtc/modules/desktop_capture", 447 "//third_party/webrtc/modules/desktop_capture",
448 ] 448 ]
449 449
450 if (enable_webrtc) { 450 if (enable_webrtc) {
451 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 451 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
452 } 452 }
453 453
454 if (is_linux) { 454 if (is_linux) {
455 deps += [ "//build/config/linux/gtk" ] 455 deps += [ "//build/config/linux/gtk2" ]
456 } 456 }
457 if (is_linux || is_mac) { 457 if (is_linux || is_mac) {
458 libs = [ "pam" ] 458 libs = [ "pam" ]
459 } 459 }
460 } 460 }
461 461
462 if (!is_win) { 462 if (!is_win) {
463 executable("remoting_me2me_host") { 463 executable("remoting_me2me_host") {
464 sources = [ 464 sources = [
465 "host_main.cc", 465 "host_main.cc",
466 "host_main.h", 466 "host_main.h",
467 ] 467 ]
468 468
469 deps = [ 469 deps = [
470 ":remoting_me2me_host_static", 470 ":remoting_me2me_host_static",
471 ":credits", 471 ":credits",
472 ] 472 ]
473 } 473 }
474 } 474 }
475 } 475 }
476 } 476 }
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/gles2_conform_test.gyp ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698