Add remaining remoting targets for the GN build.

[email protected], [email protected]
BUG=461019
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

Review URL: https://codereview.chromium.org/1039083004

Cr-Commit-Position: refs/heads/master@{#323314}
diff --git a/BUILD.gn b/BUILD.gn
index 8229104..b2601e3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -10,6 +10,7 @@
 
 import("//build/config/features.gni")
 import("//build/config/ui.gni")
+import("//remoting/remoting_host.gni")
 
 if (is_android) {
   import("//build/config/android/config.gni")
@@ -108,8 +109,18 @@
     deps += [ "//extensions/shell:app_shell_unittests" ]
   }
 
-  if (!is_android) {
-    deps += [ "//remoting:remoting_unittests" ]
+  if (enable_remoting_host) {
+    deps += [
+      "//remoting:remoting_unittests",
+      "//remoting:remoting_perftests",
+      "//remoting/host",
+      "//remoting/host:remoting_start_host",
+      "//remoting/host/it2me:remote_assistance_host",
+    ]
+  }
+
+  if (enable_me2me_host) {
+    deps += [ "//remoting/host:remoting_me2me_host" ]
   }
 
   if (!is_win) {
@@ -346,7 +357,10 @@
     }
 
     if (enable_nacl) {
-      deps += [ "//components/nacl:nacl_loader_unittests" ]
+      deps += [
+        "//components/nacl:nacl_loader_unittests",
+        "//remoting:remoting_key_tester",
+      ]
     }
 
     if (!is_debug && !is_component_build) {