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

Unified Diff: remoting/host/BUILD.gn

Issue 1039083004: Add remaining remoting targets for the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content_browsertests
Patch Set: disable remoting_host on mac, win Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/BUILD.gn ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/BUILD.gn
diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn
index 58ff887a6bb63713e3f83d33c5889a8b79263f2c..5bbd40bdbe4ced1507f2c50e514f2935cd429bed 100644
--- a/remoting/host/BUILD.gn
+++ b/remoting/host/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//remoting/remoting_host.gni")
import("//remoting/remoting_locales.gni")
import("//remoting/remoting_srcs.gni")
import("//remoting/remoting_version.gni")
@@ -339,4 +340,76 @@ if (is_mac) { # TODO(GYP) Mac build of remoting host.
# TODO(GYP) More Windows remoting targets from remoting_host_win.gypi
}
+
+ if (enable_remoting_host) {
+ executable("remoting_start_host") {
+ sources = [
+ "setup/host_starter.cc",
+ "setup/host_starter.h",
+ "setup/start_host.cc",
+ ]
+
+ deps = [
+ "//remoting/host/setup",
+ ]
+
+ if (enable_webrtc) {
+ deps += [ "//third_party/libjingle:libjingle_webrtc" ]
+ }
+ }
+ }
+
+ if (enable_me2me_host) {
+ source_set("remoting_me2me_host_static") {
+ sources = [
+ "curtain_mode.h",
+ "curtain_mode_linux.cc",
+ "curtain_mode_mac.cc",
+ "curtain_mode_win.cc",
+ "pam_authorization_factory_posix.cc",
+ "pam_authorization_factory_posix.h",
+ "posix/signal_handler.cc",
+ "posix/signal_handler.h",
+ "remoting_me2me_host.cc",
+ ]
+
+ configs += [ "//remoting:version" ]
+
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//components/policy",
+ "//components/policy:policy_component_common",
+ "//net",
+ "//remoting/base",
+ "//remoting/host",
+ "//remoting/proto",
+ "//third_party/webrtc/modules/desktop_capture",
+ ]
+
+ if (enable_webrtc) {
+ deps += [ "//third_party/libjingle:libjingle_webrtc" ]
+ }
+
+ if (is_linux) {
+ deps += [ "//build/config/linux/gtk" ]
+ }
+ if (is_linux || is_mac) {
+ libs = [ "pam" ]
+ }
+ }
+
+ if (!is_win) {
+ executable("remoting_me2me_host") {
+ sources = [
+ "host_main.cc",
+ "host_main.h",
+ ]
+
+ deps = [
+ ":remoting_me2me_host_static",
+ ]
+ }
+ }
+ }
}
« no previous file with comments | « remoting/BUILD.gn ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698