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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 # Makes the .h/.rc files from the .mc file. | 327 # Makes the .h/.rc files from the .mc file. |
327 message_compiler("messages") { | 328 message_compiler("messages") { |
328 sources = get_target_outputs(":messages_localizing") | 329 sources = get_target_outputs(":messages_localizing") |
329 deps = [ | 330 deps = [ |
330 ":messages_localizing", | 331 ":messages_localizing", |
331 ] | 332 ] |
332 } | 333 } |
333 | 334 |
334 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi | 335 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi |
335 } | 336 } |
| 337 |
| 338 if (enable_remoting_host) { |
| 339 executable("remoting_start_host") { |
| 340 sources = [ |
| 341 "setup/host_starter.cc", |
| 342 "setup/host_starter.h", |
| 343 "setup/start_host.cc", |
| 344 ] |
| 345 |
| 346 deps = [ |
| 347 "//remoting/host/setup", |
| 348 ] |
| 349 } |
| 350 } |
| 351 |
| 352 if (enable_me2me_host) { |
| 353 source_set("remoting_me2me_host_static") { |
| 354 sources = [ |
| 355 "curtain_mode.h", |
| 356 "curtain_mode_linux.cc", |
| 357 "curtain_mode_mac.cc", |
| 358 "curtain_mode_win.cc", |
| 359 "pam_authorization_factory_posix.cc", |
| 360 "pam_authorization_factory_posix.h", |
| 361 "posix/signal_handler.cc", |
| 362 "posix/signal_handler.h", |
| 363 "remoting_me2me_host.cc", |
| 364 ] |
| 365 |
| 366 configs += [ "//remoting:version" ] |
| 367 |
| 368 deps = [ |
| 369 "//base", |
| 370 "//base:i18n", |
| 371 "//components/policy", |
| 372 "//components/policy:policy_component_common", |
| 373 "//net", |
| 374 "//remoting/base", |
| 375 "//remoting/host", |
| 376 "//remoting/proto", |
| 377 "//third_party/webrtc/modules/desktop_capture", |
| 378 ] |
| 379 |
| 380 if (is_linux) { |
| 381 deps += [ "//build/config/linux/gtk" ] |
| 382 } |
| 383 if (is_linux || is_mac) { |
| 384 libs = [ "pam" ] |
| 385 } |
| 386 } |
| 387 |
| 388 if (!is_win) { |
| 389 executable("remoting_me2me_host") { |
| 390 sources = [ |
| 391 "host_main.cc", |
| 392 "host_main.h", |
| 393 ] |
| 394 |
| 395 deps = [ |
| 396 ":remoting_me2me_host_static", |
| 397 ] |
| 398 } |
| 399 } |
| 400 } |
336 } | 401 } |
OLD | NEW |