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/util/process_version.gni") | 5 import("//build/util/process_version.gni") |
6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
7 import("//remoting/build/config/remoting_build.gni") | 7 import("//remoting/build/config/remoting_build.gni") |
8 | 8 |
9 group("all_tests") { | 9 group("all_tests") { |
10 testonly = true | 10 testonly = true |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 "//testing/gtest", | 459 "//testing/gtest", |
460 ] | 460 ] |
461 public_deps = [ | 461 public_deps = [ |
462 ":host", | 462 ":host", |
463 "//remoting/base:test_support", | 463 "//remoting/base:test_support", |
464 "//third_party/protobuf:protobuf_lite", | 464 "//third_party/protobuf:protobuf_lite", |
465 ] | 465 ] |
466 | 466 |
467 if (enable_webrtc) { | 467 if (enable_webrtc) { |
468 public_deps += [ | 468 public_deps += [ |
469 "//third_party/libjingle/webrtc:libjingle_webrtc", | |
470 "//third_party/libjingle_xmpp", | 469 "//third_party/libjingle_xmpp", |
471 "//third_party/webrtc/modules/desktop_capture", | 470 "//third_party/webrtc/modules/desktop_capture", |
| 471 "//third_party/webrtc_overrides:init_webrtc", |
472 ] | 472 ] |
473 } | 473 } |
474 } | 474 } |
475 | 475 |
476 # The host portions of the remoting unit tests. | 476 # The host portions of the remoting unit tests. |
477 source_set("unit_tests") { | 477 source_set("unit_tests") { |
478 testonly = true | 478 testonly = true |
479 | 479 |
480 sources = [ | 480 sources = [ |
481 "audio_silence_detector_unittest.cc", | 481 "audio_silence_detector_unittest.cc", |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 ] | 615 ] |
616 | 616 |
617 deps += [ | 617 deps += [ |
618 "//google_apis", | 618 "//google_apis", |
619 "//remoting/host/setup", | 619 "//remoting/host/setup", |
620 ] | 620 ] |
621 } | 621 } |
622 | 622 |
623 if (enable_webrtc) { | 623 if (enable_webrtc) { |
624 deps += [ | 624 deps += [ |
625 "//third_party/libjingle/webrtc:libjingle_webrtc", | |
626 "//third_party/libjingle_xmpp", | 625 "//third_party/libjingle_xmpp", |
| 626 "//third_party/webrtc_overrides:init_webrtc", |
627 ] | 627 ] |
628 } | 628 } |
629 } | 629 } |
630 | 630 |
631 action_foreach("remoting_native_messaging_manifests") { | 631 action_foreach("remoting_native_messaging_manifests") { |
632 if (is_mac) { | 632 if (is_mac) { |
633 me2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/
Contents/MacOS/$native_messaging_host_bundle_name/Contents/MacOS/native_messagin
g_host" | 633 me2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/
Contents/MacOS/$native_messaging_host_bundle_name/Contents/MacOS/native_messagin
g_host" |
634 it2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/
Contents/MacOS/$remote_assistance_host_bundle_name/Contents/MacOS/remote_assista
nce_host" | 634 it2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/
Contents/MacOS/$remote_assistance_host_bundle_name/Contents/MacOS/remote_assista
nce_host" |
635 } else if (is_win) { | 635 } else if (is_win) { |
636 me2me_host_path = "remoting_native_messaging_host.exe" | 636 me2me_host_path = "remoting_native_messaging_host.exe" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 "//remoting/proto", | 732 "//remoting/proto", |
733 "//third_party/webrtc/modules/desktop_capture", | 733 "//third_party/webrtc/modules/desktop_capture", |
734 ] | 734 ] |
735 | 735 |
736 if (!is_ios) { | 736 if (!is_ios) { |
737 deps += [ "//components/policy:generated" ] | 737 deps += [ "//components/policy:generated" ] |
738 } | 738 } |
739 | 739 |
740 if (enable_webrtc) { | 740 if (enable_webrtc) { |
741 deps += [ | 741 deps += [ |
742 "//third_party/libjingle/webrtc:libjingle_webrtc", | |
743 "//third_party/libjingle_xmpp", | 742 "//third_party/libjingle_xmpp", |
| 743 "//third_party/webrtc_overrides:init_webrtc", |
744 ] | 744 ] |
745 } | 745 } |
746 | 746 |
747 if (is_desktop_linux) { | 747 if (is_desktop_linux) { |
748 deps += [ "//build/config/linux/gtk" ] | 748 deps += [ "//build/config/linux/gtk" ] |
749 } | 749 } |
750 if ((is_linux && !is_chromeos) || is_mac) { | 750 if ((is_linux && !is_chromeos) || is_mac) { |
751 libs = [ "pam" ] | 751 libs = [ "pam" ] |
752 } | 752 } |
753 | 753 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 group("remoting_me2me_host_archive") { | 833 group("remoting_me2me_host_archive") { |
834 deps = [ | 834 deps = [ |
835 "//remoting/host/installer/mac:remoting_me2me_host_archive", | 835 "//remoting/host/installer/mac:remoting_me2me_host_archive", |
836 ] | 836 ] |
837 } | 837 } |
838 } else { | 838 } else { |
839 group("remoting_me2me_host_archive") { | 839 group("remoting_me2me_host_archive") { |
840 } | 840 } |
841 } | 841 } |
842 } | 842 } |
OLD | NEW |