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

Side by Side 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, 8 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 | « remoting/BUILD.gn ('k') | remoting/host/it2me/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("//remoting/remoting_host.gni")
7 import("//remoting/remoting_locales.gni") 8 import("//remoting/remoting_locales.gni")
8 import("//remoting/remoting_srcs.gni") 9 import("//remoting/remoting_srcs.gni")
9 import("//remoting/remoting_version.gni") 10 import("//remoting/remoting_version.gni")
10 import("//remoting/tools/build/remoting_localize.gni") 11 import("//remoting/tools/build/remoting_localize.gni")
11 12
12 if (is_mac) { # TODO(GYP) Mac build of remoting host. 13 if (is_mac) { # TODO(GYP) Mac build of remoting host.
13 group("host") { 14 group("host") {
14 } 15 }
15 group("test_support") { 16 group("test_support") {
16 } 17 }
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 # Makes the .h/.rc files from the .mc file. 333 # Makes the .h/.rc files from the .mc file.
333 message_compiler("messages") { 334 message_compiler("messages") {
334 sources = get_target_outputs(":messages_localizing") 335 sources = get_target_outputs(":messages_localizing")
335 deps = [ 336 deps = [
336 ":messages_localizing", 337 ":messages_localizing",
337 ] 338 ]
338 } 339 }
339 340
340 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi 341 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi
341 } 342 }
343
344 if (enable_remoting_host) {
345 executable("remoting_start_host") {
346 sources = [
347 "setup/host_starter.cc",
348 "setup/host_starter.h",
349 "setup/start_host.cc",
350 ]
351
352 deps = [
353 "//remoting/host/setup",
354 ]
355
356 if (enable_webrtc) {
357 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
358 }
359 }
360 }
361
362 if (enable_me2me_host) {
363 source_set("remoting_me2me_host_static") {
364 sources = [
365 "curtain_mode.h",
366 "curtain_mode_linux.cc",
367 "curtain_mode_mac.cc",
368 "curtain_mode_win.cc",
369 "pam_authorization_factory_posix.cc",
370 "pam_authorization_factory_posix.h",
371 "posix/signal_handler.cc",
372 "posix/signal_handler.h",
373 "remoting_me2me_host.cc",
374 ]
375
376 configs += [ "//remoting:version" ]
377
378 deps = [
379 "//base",
380 "//base:i18n",
381 "//components/policy",
382 "//components/policy:policy_component_common",
383 "//net",
384 "//remoting/base",
385 "//remoting/host",
386 "//remoting/proto",
387 "//third_party/webrtc/modules/desktop_capture",
388 ]
389
390 if (enable_webrtc) {
391 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
392 }
393
394 if (is_linux) {
395 deps += [ "//build/config/linux/gtk" ]
396 }
397 if (is_linux || is_mac) {
398 libs = [ "pam" ]
399 }
400 }
401
402 if (!is_win) {
403 executable("remoting_me2me_host") {
404 sources = [
405 "host_main.cc",
406 "host_main.h",
407 ]
408
409 deps = [
410 ":remoting_me2me_host_static",
411 ]
412 }
413 }
414 }
342 } 415 }
OLDNEW
« 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