OLD | NEW |
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
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_desktop_linux) { |
94 deps += [ "//build/config/linux/gtk2" ] | 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) { |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 "//remoting/base", | 445 "//remoting/base", |
446 "//remoting/host", | 446 "//remoting/host", |
447 "//remoting/proto", | 447 "//remoting/proto", |
448 "//third_party/webrtc/modules/desktop_capture", | 448 "//third_party/webrtc/modules/desktop_capture", |
449 ] | 449 ] |
450 | 450 |
451 if (enable_webrtc) { | 451 if (enable_webrtc) { |
452 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 452 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
453 } | 453 } |
454 | 454 |
455 if (is_linux) { | 455 if (is_desktop_linux) { |
456 deps += [ "//build/config/linux/gtk2" ] | 456 deps += [ "//build/config/linux/gtk2" ] |
457 } | 457 } |
458 if (is_linux || is_mac) { | 458 if ((is_linux && !is_chromeos) || is_mac) { |
459 libs = [ "pam" ] | 459 libs = [ "pam" ] |
460 } | 460 } |
461 } | 461 } |
462 | 462 |
463 if (!is_win) { | 463 if (!is_win) { |
464 executable("remoting_me2me_host") { | 464 executable("remoting_me2me_host") { |
465 sources = [ | 465 sources = [ |
466 "host_main.cc", | 466 "host_main.cc", |
467 "host_main.h", | 467 "host_main.h", |
468 ] | 468 ] |
469 | 469 |
470 deps = [ | 470 deps = [ |
471 ":remoting_me2me_host_static", | 471 ":remoting_me2me_host_static", |
472 ":credits", | 472 ":credits", |
473 "//build/config/sanitizers:deps", | 473 "//build/config/sanitizers:deps", |
474 ] | 474 ] |
475 } | 475 } |
476 } | 476 } |
477 } | 477 } |
478 } | 478 } |
OLD | NEW |