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/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 Loading... |
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 } |
OLD | NEW |