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

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

Issue 2022833002: Migrate libjingle to WebRTC build targets. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 | « jingle/jingle.gyp ('k') | remoting/protocol/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("//build/config/win/manifest.gni") 7 import("//build/config/win/manifest.gni")
8 import("//build/util/version.gni") 8 import("//build/util/version.gni")
9 import("//chrome/version.gni") 9 import("//chrome/version.gni")
10 import("//remoting/remoting_enable.gni") 10 import("//remoting/remoting_enable.gni")
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 "//testing/gtest", 274 "//testing/gtest",
275 ] 275 ]
276 public_deps = [ 276 public_deps = [
277 ":host", 277 ":host",
278 "//third_party/protobuf:protobuf_lite", 278 "//third_party/protobuf:protobuf_lite",
279 ] 279 ]
280 280
281 if (enable_webrtc) { 281 if (enable_webrtc) {
282 public_deps += [ 282 public_deps += [
283 "//third_party/libjingle:libjingle_webrtc", 283 "//third_party/libjingle:libjingle_webrtc",
284 "//third_party/webrtc/libjingle/xmllite",
285 "//third_party/webrtc/libjingle/xmpp",
284 "//third_party/webrtc/modules/desktop_capture", 286 "//third_party/webrtc/modules/desktop_capture",
285 ] 287 ]
286 } 288 }
287 } 289 }
288 290
289 # The host portions of the remoting unit tests. 291 # The host portions of the remoting unit tests.
290 source_set("unit_tests") { 292 source_set("unit_tests") {
291 testonly = true 293 testonly = true
292 294
293 sources = [ 295 sources = [
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 "setup/host_starter.cc", 762 "setup/host_starter.cc",
761 "setup/host_starter.h", 763 "setup/host_starter.h",
762 "setup/start_host_main.cc", 764 "setup/start_host_main.cc",
763 "setup/start_host_main.h", 765 "setup/start_host_main.h",
764 ] 766 ]
765 767
766 deps += [ "//remoting/host/setup" ] 768 deps += [ "//remoting/host/setup" ]
767 } 769 }
768 770
769 if (enable_webrtc) { 771 if (enable_webrtc) {
770 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 772 deps += [
773 "//third_party/libjingle:libjingle_webrtc",
774 "//third_party/webrtc/libjingle/xmllite",
775 "//third_party/webrtc/libjingle/xmpp",
776 ]
771 } 777 }
772 } 778 }
773 779
774 action_foreach("remoting_native_messaging_manifests") { 780 action_foreach("remoting_native_messaging_manifests") {
775 if (is_mac) { 781 if (is_mac) {
776 me2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/ Contents/MacOS/$native_messaging_host_bundle_name/Contents/MacOS/native_messagin g_host" 782 me2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/ Contents/MacOS/$native_messaging_host_bundle_name/Contents/MacOS/native_messagin g_host"
777 it2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/ Contents/MacOS/$remote_assistance_host_bundle_name/Contents/MacOS/remote_assista nce_host" 783 it2me_host_path = "/Library/PrivilegedHelperTools/$me2me_host_bundle_name/ Contents/MacOS/$remote_assistance_host_bundle_name/Contents/MacOS/remote_assista nce_host"
778 } else if (is_win) { 784 } else if (is_win) {
779 me2me_host_path = "remoting_native_messaging_host.exe" 785 me2me_host_path = "remoting_native_messaging_host.exe"
780 it2me_host_path = "remote_assistance_host.exe" 786 it2me_host_path = "remote_assistance_host.exe"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 "//remoting/host", 892 "//remoting/host",
887 "//remoting/proto", 893 "//remoting/proto",
888 "//third_party/webrtc/modules/desktop_capture", 894 "//third_party/webrtc/modules/desktop_capture",
889 ] 895 ]
890 896
891 if (enable_configuration_policy) { 897 if (enable_configuration_policy) {
892 deps += [ "//components/policy" ] 898 deps += [ "//components/policy" ]
893 } 899 }
894 900
895 if (enable_webrtc) { 901 if (enable_webrtc) {
896 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 902 deps += [
903 "//third_party/libjingle:libjingle_webrtc",
904 "//third_party/webrtc/libjingle/xmllite",
905 "//third_party/webrtc/libjingle/xmpp",
906 ]
897 } 907 }
898 908
899 if (is_desktop_linux) { 909 if (is_desktop_linux) {
900 deps += [ "//build/config/linux/gtk2" ] 910 deps += [ "//build/config/linux/gtk2" ]
901 } 911 }
902 if ((is_linux && !is_chromeos) || is_mac) { 912 if ((is_linux && !is_chromeos) || is_mac) {
903 libs = [ "pam" ] 913 libs = [ "pam" ]
904 } 914 }
905 915
906 if (is_mac && is_official_build) { 916 if (is_mac && is_official_build) {
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
1635 root_build_dir), 1645 root_build_dir),
1636 rebase_path(outputs[0], root_build_dir), 1646 rebase_path(outputs[0], root_build_dir),
1637 ] 1647 ]
1638 } 1648 }
1639 } else { 1649 } else {
1640 group("remoting_host_installation") { 1650 group("remoting_host_installation") {
1641 } 1651 }
1642 } 1652 }
1643 } 1653 }
1644 } 1654 }
OLDNEW
« no previous file with comments | « jingle/jingle.gyp ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698