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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 "posix/signal_handler.cc", | 432 "posix/signal_handler.cc", |
433 "posix/signal_handler.h", | 433 "posix/signal_handler.h", |
434 "remoting_me2me_host.cc", | 434 "remoting_me2me_host.cc", |
435 ] | 435 ] |
436 | 436 |
437 configs += [ "//remoting:version" ] | 437 configs += [ "//remoting:version" ] |
438 | 438 |
439 deps = [ | 439 deps = [ |
440 "//base", | 440 "//base", |
441 "//base:i18n", | 441 "//base:i18n", |
442 "//components/policy", | |
443 "//components/policy:policy_component_common", | 442 "//components/policy:policy_component_common", |
444 "//net", | 443 "//net", |
445 "//remoting/base", | 444 "//remoting/base", |
446 "//remoting/host", | 445 "//remoting/host", |
447 "//remoting/proto", | 446 "//remoting/proto", |
448 "//third_party/webrtc/modules/desktop_capture", | 447 "//third_party/webrtc/modules/desktop_capture", |
449 ] | 448 ] |
450 | 449 |
| 450 if (enable_configuration_policy) { |
| 451 deps += [ "//components/policy" ] |
| 452 } |
| 453 |
451 if (enable_webrtc) { | 454 if (enable_webrtc) { |
452 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 455 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
453 } | 456 } |
454 | 457 |
455 if (is_desktop_linux) { | 458 if (is_desktop_linux) { |
456 deps += [ "//build/config/linux/gtk2" ] | 459 deps += [ "//build/config/linux/gtk2" ] |
457 } | 460 } |
458 if ((is_linux && !is_chromeos) || is_mac) { | 461 if ((is_linux && !is_chromeos) || is_mac) { |
459 libs = [ "pam" ] | 462 libs = [ "pam" ] |
460 } | 463 } |
461 } | 464 } |
462 | 465 |
463 if (!is_win) { | 466 if (!is_win) { |
464 executable("remoting_me2me_host") { | 467 executable("remoting_me2me_host") { |
465 sources = [ | 468 sources = [ |
466 "host_main.cc", | 469 "host_main.cc", |
467 "host_main.h", | 470 "host_main.h", |
468 ] | 471 ] |
469 | 472 |
470 deps = [ | 473 deps = [ |
471 ":remoting_me2me_host_static", | 474 ":remoting_me2me_host_static", |
472 ":credits", | 475 ":credits", |
473 "//build/config/sanitizers:deps", | 476 "//build/config/sanitizers:deps", |
474 ] | 477 ] |
475 } | 478 } |
476 } | 479 } |
477 } | 480 } |
478 } | 481 } |
OLD | NEW |