Chromium Code Reviews| 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 if (is_linux && !is_chromeos) { | 83 if (is_linux && !is_chromeos) { |
| 84 libs += [ "pam" ] | 84 libs += [ "pam" ] |
| 85 } | 85 } |
| 86 | 86 |
| 87 if (use_x11) { | 87 if (use_x11) { |
| 88 configs += [ | 88 configs += [ |
| 89 "//build/config/linux:x11", | 89 "//build/config/linux:x11", |
| 90 "//build/config/linux:xrandr", | 90 "//build/config/linux:xrandr", |
| 91 ] | 91 ] |
| 92 if (!is_chromeos) { | 92 if (!is_chromeos) { |
| 93 deps += [ "//build/config/linux/gtk" ] | 93 deps += [ "//build/config/linux/gtk2" ] |
|
Nico
2015/08/25 00:23:52
same question
| |
| 94 } | 94 } |
| 95 } else { | 95 } else { |
| 96 sources -= [ | 96 sources -= [ |
| 97 "clipboard_x11.cc", | 97 "clipboard_x11.cc", |
| 98 "desktop_resizer_x11.cc", | 98 "desktop_resizer_x11.cc", |
| 99 "input_injector_x11.cc", | 99 "input_injector_x11.cc", |
| 100 "local_input_monitor_x11.cc", | 100 "local_input_monitor_x11.cc", |
| 101 ] | 101 ] |
| 102 if (is_linux) { | 102 if (is_linux) { |
| 103 # These will already be filtered out on non-Linux. | 103 # These will already be filtered out on non-Linux. |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 443 "//remoting/host", | 443 "//remoting/host", |
| 444 "//remoting/proto", | 444 "//remoting/proto", |
| 445 "//third_party/webrtc/modules/desktop_capture", | 445 "//third_party/webrtc/modules/desktop_capture", |
| 446 ] | 446 ] |
| 447 | 447 |
| 448 if (enable_webrtc) { | 448 if (enable_webrtc) { |
| 449 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 449 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 450 } | 450 } |
| 451 | 451 |
| 452 if (is_linux) { | 452 if (is_linux) { |
| 453 deps += [ "//build/config/linux/gtk" ] | 453 deps += [ "//build/config/linux/gtk2" ] |
| 454 } | 454 } |
| 455 if (is_linux || is_mac) { | 455 if (is_linux || is_mac) { |
| 456 libs = [ "pam" ] | 456 libs = [ "pam" ] |
| 457 } | 457 } |
| 458 } | 458 } |
| 459 | 459 |
| 460 if (!is_win) { | 460 if (!is_win) { |
| 461 executable("remoting_me2me_host") { | 461 executable("remoting_me2me_host") { |
| 462 sources = [ | 462 sources = [ |
| 463 "host_main.cc", | 463 "host_main.cc", |
| 464 "host_main.h", | 464 "host_main.h", |
| 465 ] | 465 ] |
| 466 | 466 |
| 467 deps = [ | 467 deps = [ |
| 468 ":remoting_me2me_host_static", | 468 ":remoting_me2me_host_static", |
| 469 ":credits", | 469 ":credits", |
| 470 ] | 470 ] |
| 471 } | 471 } |
| 472 } | 472 } |
| 473 } | 473 } |
| 474 } | 474 } |
| OLD | NEW |