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("//remoting/build/config/remoting_build.gni") | 5 import("//remoting/build/config/remoting_build.gni") |
6 | 6 |
| 7 group("all_tests") { |
| 8 testonly = true |
| 9 |
| 10 deps = [ |
| 11 ":unit_tests", |
| 12 ] |
| 13 } |
| 14 |
| 15 group("all") { |
| 16 testonly = true |
| 17 |
| 18 deps = [ |
| 19 ":host", |
| 20 ] |
| 21 if (enable_me2me_host) { |
| 22 deps += [ "//remoting/host:remoting_me2me_host" ] |
| 23 } |
| 24 |
| 25 if (is_chrome_branded) { |
| 26 deps += [ ":remoting_host_branded" ] |
| 27 } |
| 28 |
| 29 if (!is_chromeos && !is_android && !is_ios) { |
| 30 deps += [ |
| 31 "//remoting/host:remoting_native_messaging_host", |
| 32 "//remoting/host:remoting_native_messaging_manifests", |
| 33 "//remoting/host:remoting_start_host", |
| 34 "//remoting/host/it2me:remote_assistance_host", |
| 35 ] |
| 36 } |
| 37 } |
| 38 |
7 process_version("remoting_version") { | 39 process_version("remoting_version") { |
8 template_file = "//remoting/host/version.h.in" | 40 template_file = "//remoting/host/version.h.in" |
9 sources = [ | 41 sources = [ |
10 branding_path, | 42 branding_path, |
11 ] | 43 ] |
12 output = "$target_gen_dir/version.h" | 44 output = "$target_gen_dir/version.h" |
13 } | 45 } |
14 | 46 |
15 if (is_win) { | |
16 import("//remoting/host/predefines_win.gni") | |
17 } else if (is_mac) { | |
18 import("//build/config/mac/rules.gni") | |
19 import("//third_party/icu/config.gni") | |
20 } | |
21 | |
22 if (is_win) { | |
23 # Reference this manifest to indicate that a process is per-monitor DPI aware. | |
24 dpi_aware_manifest = "//remoting/host/win/dpi_aware.manifest" | |
25 | |
26 # Reference this manifest to give the binary the uiAccess privilege. | |
27 enable_uiaccess_manifest = "//remoting/host/win/enable_uiaccess.manifest" | |
28 | |
29 # Depending on this target gives the executable a default manifest with the | |
30 # addition of the DPI aware tag. | |
31 windows_manifest("dpi_aware_exe_manifest") { | |
32 sources = [ | |
33 as_invoker_manifest, | |
34 common_controls_manifest, | |
35 default_compatibility_manifest, | |
36 dpi_aware_manifest, | |
37 ] | |
38 type = "exe" | |
39 } | |
40 | |
41 # Depending on this target gives the executable a default manifest with the | |
42 # addition of the DPI aware tag and requestedExecutionLevel of | |
43 # requireAdministrator. | |
44 windows_manifest("dpi_aware_elevated_exe_manifest") { | |
45 sources = [ | |
46 common_controls_manifest, | |
47 default_compatibility_manifest, | |
48 dpi_aware_manifest, | |
49 require_administrator_manifest, | |
50 ] | |
51 type = "exe" | |
52 } | |
53 | |
54 # Depending on this target gives the executable a default manifest with the | |
55 # addition of the DPI aware tag and enables uiAccess. | |
56 windows_manifest("dpi_aware_uiaccess_exe_manifest") { | |
57 sources = [ | |
58 common_controls_manifest, | |
59 default_compatibility_manifest, | |
60 dpi_aware_manifest, | |
61 enable_uiaccess_manifest, | |
62 ] | |
63 type = "exe" | |
64 } | |
65 } | |
66 | |
67 action("credits") { | |
68 # We put this in $root_build_dir/gen/remoting instead of | |
69 # $root_build_dir/gen/remoting/host (target_gen_dir) for | |
70 # compatibility w/ GYP, since the installer needs the file to | |
71 # be at the same location. | |
72 about_credits_file = "$root_build_dir/gen/remoting/CREDITS.txt" | |
73 script = "//tools/licenses.py" | |
74 | |
75 inputs = [ | |
76 "installer/credits.tmpl", | |
77 "installer/credits_entry.tmpl", | |
78 ] | |
79 | |
80 outputs = [ | |
81 about_credits_file, | |
82 ] | |
83 | |
84 args = [ | |
85 "credits", | |
86 rebase_path(about_credits_file, root_build_dir), | |
87 "--file-template", | |
88 rebase_path("installer/credits.tmpl", root_build_dir), | |
89 "--entry-template", | |
90 rebase_path("installer/credits_entry.tmpl", root_build_dir), | |
91 ] | |
92 } | |
93 | |
94 # This must be a static library instead of a source set because | 47 # This must be a static library instead of a source set because |
95 # remoting_unittests requires that remoting_me2me_host.cc not be pulled in, | 48 # remoting_unittests requires that remoting_me2me_host.cc not be pulled in, |
96 # which in turn depends on remoting_me2me_host_static which isn't part of that | 49 # which in turn depends on remoting_me2me_host_static which isn't part of that |
97 # build. | 50 # build. |
98 # | 51 # |
99 # TODO fix this, successful builds should not depend on static libraries | 52 # TODO fix this, successful builds should not depend on static libraries |
100 # stripping code. | 53 # stripping code. |
101 static_library("host") { | 54 static_library("host") { |
102 sources = [ | 55 sources = [ |
103 "audio_capturer.cc", | 56 "audio_capturer.cc", |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 "token_validator_base.h", | 289 "token_validator_base.h", |
337 "token_validator_factory_impl.cc", | 290 "token_validator_factory_impl.cc", |
338 "token_validator_factory_impl.h", | 291 "token_validator_factory_impl.h", |
339 "touch_injector_win.cc", | 292 "touch_injector_win.cc", |
340 "touch_injector_win.h", | 293 "touch_injector_win.h", |
341 "usage_stats_consent.h", | 294 "usage_stats_consent.h", |
342 "usage_stats_consent_mac.cc", | 295 "usage_stats_consent_mac.cc", |
343 "usage_stats_consent_win.cc", | 296 "usage_stats_consent_win.cc", |
344 "username.cc", | 297 "username.cc", |
345 "username.h", | 298 "username.h", |
346 "win/com_imported_mstscax.tlh", | |
347 "win/com_security.cc", | |
348 "win/com_security.h", | |
349 "win/elevation_helpers.cc", | |
350 "win/elevation_helpers.h", | |
351 "win/launch_process_with_token.cc", | |
352 "win/launch_process_with_token.h", | |
353 "win/omaha.cc", | |
354 "win/omaha.h", | |
355 "win/rdp_client.cc", | |
356 "win/rdp_client.h", | |
357 "win/rdp_client_window.cc", | |
358 "win/rdp_client_window.h", | |
359 "win/security_descriptor.cc", | |
360 "win/security_descriptor.h", | |
361 "win/session_desktop_environment.cc", | |
362 "win/session_desktop_environment.h", | |
363 "win/session_input_injector.cc", | |
364 "win/session_input_injector.h", | |
365 "win/window_station_and_desktop.cc", | |
366 "win/window_station_and_desktop.h", | |
367 "win/worker_process_launcher.cc", | |
368 "win/worker_process_launcher.h", | |
369 "win/wts_terminal_monitor.cc", | |
370 "win/wts_terminal_monitor.h", | |
371 "win/wts_terminal_observer.h", | |
372 ] | 299 ] |
373 | 300 |
374 libs = [] | 301 libs = [] |
375 | 302 |
376 configs += [ | 303 configs += [ |
377 "//build/config/compiler:wexit_time_destructors", | 304 "//build/config/compiler:wexit_time_destructors", |
378 "//remoting/build/config:version", | 305 "//remoting/build/config:version", |
379 ] | 306 ] |
380 | 307 |
381 defines = [ "WEBRTC_CHROMIUM_BUILD" ] | 308 defines = [ "WEBRTC_CHROMIUM_BUILD" ] |
382 | 309 |
383 deps = [ | 310 deps = [ |
384 "//base:i18n", | 311 "//base:i18n", |
385 "//components/policy/core/common", | 312 "//components/policy/core/common", |
386 "//content/public/common", | 313 "//content/public/common", |
387 "//crypto", | 314 "//crypto", |
388 "//device/power_save_blocker", | 315 "//device/power_save_blocker", |
389 "//google_apis", | 316 "//google_apis", |
390 "//ipc", | 317 "//ipc", |
391 "//remoting/base", | 318 "//remoting/base", |
392 "//remoting/host/security_key", | 319 "//remoting/host/security_key", |
393 "//remoting/protocol", | 320 "//remoting/protocol", |
394 "//remoting/resources", | 321 "//remoting/resources", |
395 "//ui/base", | 322 "//ui/base", |
396 "//ui/events:dom_keycode_converter", | 323 "//ui/events:dom_keycode_converter", |
397 "//ui/events/platform", | 324 "//ui/events/platform", |
398 ] | 325 ] |
399 | 326 |
| 327 public_deps = [] |
| 328 |
400 if (enable_configuration_policy) { | 329 if (enable_configuration_policy) { |
401 deps += [ "//components/policy:generated" ] | 330 deps += [ "//components/policy:generated" ] |
402 } | 331 } |
403 | 332 |
404 if (is_linux && !is_chromeos) { | 333 if (is_linux && !is_chromeos) { |
405 libs += [ "pam" ] | 334 libs += [ "pam" ] |
406 } | 335 } |
407 | 336 |
408 if (use_x11) { | 337 if (use_x11) { |
409 configs += [ | 338 configs += [ |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 # this flag and usage can be removed. | 418 # this flag and usage can be removed. |
490 defines += [ "GN_BUILD=1" ] | 419 defines += [ "GN_BUILD=1" ] |
491 deps += [ | 420 deps += [ |
492 ":remoting_version", | 421 ":remoting_version", |
493 "//third_party/google_toolbox_for_mac", | 422 "//third_party/google_toolbox_for_mac", |
494 ] | 423 ] |
495 } | 424 } |
496 | 425 |
497 if (is_win) { | 426 if (is_win) { |
498 deps += [ | 427 deps += [ |
499 ":messages", | 428 "//remoting/host/win", |
500 ":remoting_lib_idl", | 429 "//remoting/host/win:messages", |
| 430 "//remoting/host/win:remoting_lib_idl", |
501 ] | 431 ] |
| 432 |
| 433 public_deps += [ "//remoting/host/win" ] |
502 } | 434 } |
503 | 435 |
504 if (enable_webrtc) { | 436 if (enable_webrtc) { |
505 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 437 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
506 } | 438 } |
507 | 439 |
508 if (is_android) { | 440 if (is_android) { |
509 sources -= [ | 441 sources -= [ |
510 "single_window_desktop_environment.cc", | 442 "single_window_desktop_environment.cc", |
511 "single_window_desktop_environment.h", | 443 "single_window_desktop_environment.h", |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 "resizing_host_observer_unittest.cc", | 532 "resizing_host_observer_unittest.cc", |
601 "resources_unittest.cc", | 533 "resources_unittest.cc", |
602 "screen_resolution_unittest.cc", | 534 "screen_resolution_unittest.cc", |
603 "server_log_entry_host_unittest.cc", | 535 "server_log_entry_host_unittest.cc", |
604 "setup/me2me_native_messaging_host_unittest.cc", | 536 "setup/me2me_native_messaging_host_unittest.cc", |
605 "setup/oauth_helper_unittest.cc", | 537 "setup/oauth_helper_unittest.cc", |
606 "setup/pin_validator_unittest.cc", | 538 "setup/pin_validator_unittest.cc", |
607 "third_party_auth_config_unittest.cc", | 539 "third_party_auth_config_unittest.cc", |
608 "token_validator_factory_impl_unittest.cc", | 540 "token_validator_factory_impl_unittest.cc", |
609 "touch_injector_win_unittest.cc", | 541 "touch_injector_win_unittest.cc", |
610 "win/rdp_client_unittest.cc", | |
611 "win/worker_process_launcher_unittest.cc", | |
612 ] | 542 ] |
613 | 543 |
614 if (!use_x11 && is_linux) { | 544 if (!use_x11 && is_linux) { |
615 sources -= [ "linux/unicode_to_keysym_unittest.cc" ] | 545 sources -= [ "linux/unicode_to_keysym_unittest.cc" ] |
616 } | 546 } |
617 if (use_ozone || is_chromeos) { | 547 if (use_ozone || is_chromeos) { |
618 sources -= [ "local_input_monitor_unittest.cc" ] | 548 sources -= [ "local_input_monitor_unittest.cc" ] |
619 } | 549 } |
620 if (is_chromeos) { | 550 if (is_chromeos) { |
621 sources -= [ "linux/x_server_clipboard_unittest.cc" ] | 551 sources -= [ "linux/x_server_clipboard_unittest.cc" ] |
622 } | 552 } |
623 if (is_android) { | 553 if (is_android) { |
624 sources -= [ "it2me/it2me_native_messaging_host_unittest.cc" ] | 554 sources -= [ "it2me/it2me_native_messaging_host_unittest.cc" ] |
625 } | 555 } |
626 if (is_win) { | |
627 sources += [ | |
628 "win/elevated_native_messaging_host.cc", | |
629 "win/elevated_native_messaging_host.h", | |
630 "win/launch_native_messaging_host_process.cc", | |
631 "win/launch_native_messaging_host_process.h", | |
632 ] | |
633 } | |
634 | 556 |
635 configs += [ "//remoting/build/config:version" ] | 557 configs += [ "//remoting/build/config:version" ] |
636 | 558 |
637 deps = [ | 559 deps = [ |
638 ":host", | 560 ":host", |
639 ":test_support", | 561 ":test_support", |
640 "//remoting/host/it2me:common", | 562 "//remoting/host/it2me:common", |
641 "//remoting/host/native_messaging", | 563 "//remoting/host/native_messaging", |
642 "//remoting/host/security_key:unit_tests", | 564 "//remoting/host/security_key:unit_tests", |
643 "//remoting/host/setup", | 565 "//remoting/host/setup", |
644 "//remoting/proto", | 566 "//remoting/proto", |
645 "//remoting/resources", | 567 "//remoting/resources", |
646 "//skia", | 568 "//skia", |
647 "//testing/gmock", | 569 "//testing/gmock", |
648 "//testing/gtest", | 570 "//testing/gtest", |
649 ] | 571 ] |
| 572 if (is_win) { |
| 573 deps += [ "//remoting/host/win:unit_tests" ] |
| 574 } |
650 | 575 |
651 if (enable_configuration_policy) { | 576 if (enable_configuration_policy) { |
652 deps += [ "//components/policy/core/browser:test_support" ] | 577 deps += [ "//components/policy/core/browser:test_support" ] |
653 } | 578 } |
654 } | 579 } |
655 | 580 |
656 if (is_win) { | 581 group("remoting_host_branded") { |
657 import("//build/toolchain/win/midl.gni") | 582 testonly = true |
658 import("//build/win/message_compiler.gni") | 583 deps = [] |
| 584 if (enable_remoting_host) { |
| 585 deps += [ ":remoting_host_installation" ] |
| 586 } |
| 587 if (enable_me2me_host) { |
| 588 deps += [ "//remoting/host:remoting_me2me_host_archive" ] |
| 589 } |
| 590 } |
659 | 591 |
660 # TODO(brettw) these should not be generated via exec_script. This should be | 592 if (enable_remoting_host) { |
661 # part of the build process rather than the metabuild. Instead, a script | 593 group("remoting_host_installation") { |
662 # should generate a header containing the #defines for this as well as the | 594 deps = [] |
663 # IDL file with the values. | 595 if (is_win) { |
664 clsids = exec_script("win/get_clsids.py", | 596 deps += [ "//remoting/host/installer/win:remoting_host_installation" ] |
665 [ | |
666 daemon_controller_guid, | |
667 rdp_desktop_session_guid, | |
668 chrome_version_full, | |
669 ], | |
670 "value") | |
671 daemon_controller_clsid = clsids[0] | |
672 rdp_desktop_session_clsid = clsids[1] | |
673 | |
674 action("generate_idl") { | |
675 script = "//build/util/version.py" | |
676 | |
677 inputs = [ | |
678 "win/chromoting_lib_idl.templ", | |
679 ] | |
680 outputs = [ | |
681 "$target_gen_dir/chromoting_lib.idl", | |
682 ] | |
683 | |
684 args = [ | |
685 "-e", | |
686 "DAEMON_CONTROLLER_CLSID='$daemon_controller_clsid'", | |
687 "-e", | |
688 "RDP_DESKTOP_SESSION_CLSID='$rdp_desktop_session_clsid'", | |
689 rebase_path(inputs[0], root_build_dir), | |
690 rebase_path(outputs[0], root_build_dir), | |
691 ] | |
692 } | |
693 | |
694 midl("remoting_lib_idl") { | |
695 sources = get_target_outputs(":generate_idl") | |
696 deps = [ | |
697 ":generate_idl", | |
698 ] | |
699 } | |
700 | |
701 config("MIDL_config") { | |
702 if (is_clang) { | |
703 cflags = [ | |
704 # MIDL generated code has a habit of omitting optional braces. | |
705 "-Wno-missing-braces", | |
706 | |
707 # Source files generated by the MIDL compiler trigger warnings with | |
708 # -Wincompatible-pointer-types enabled. | |
709 "-Wno-incompatible-pointer-types", | |
710 | |
711 # Generated code contains unused variables. | |
712 "-Wno-unused-variable", | |
713 | |
714 # PROXYFILE_LIST_START is an extern with initializer. | |
715 "-Wno-extern-initializer", | |
716 ] | |
717 } | 597 } |
718 } | 598 } |
719 | |
720 static_library("remoting_lib_ps") { | |
721 configs += [ ":MIDL_config" ] | |
722 | |
723 defines = [ | |
724 "ENTRY_PREFIX=Ps", | |
725 "REGISTER_PROXY_DLL", | |
726 ] | |
727 | |
728 deps = [ | |
729 ":remoting_lib_idl", | |
730 ] | |
731 | |
732 sources = [ | |
733 "$root_gen_dir/remoting/host/chromoting_lib.dlldata.c", | |
734 "$root_gen_dir/remoting/host/chromoting_lib_p.c", | |
735 ] | |
736 } | |
737 | |
738 # Makes the .mc file from the .mc.jinja file. | |
739 remoting_localize("messages_localizing") { | |
740 sources = [ | |
741 "win/host_messages.mc.jinja2", | |
742 ] | |
743 locales = remoting_locales | |
744 locale_dir = webapp_locale_dir | |
745 encoding = "utf-16" | |
746 | |
747 # This target is funny. It only produces one file and the output doesn't | |
748 # match the input. We want to generate remoting_host_messages.mc from | |
749 # host_messages.mg.jinja2. GN complains if it doesn't see a pattern in the | |
750 # output, so the following pattern produces the name we want with a template | |
751 # based on the input. | |
752 # | |
753 # TODO: This is for GYP compat. We should just make the names match instead. | |
754 output = "$target_gen_dir/remoting_{{source_name_part}}" | |
755 } | |
756 | |
757 # Makes the .h/.rc files from the .mc file. | |
758 message_compiler("messages") { | |
759 compile_generated_code = false | |
760 sources = get_target_outputs(":messages_localizing") | |
761 deps = [ | |
762 ":messages_localizing", | |
763 ] | |
764 } | |
765 | |
766 executable("remoting_console") { | |
767 configs += [ "//build/config/compiler:wexit_time_destructors" ] | |
768 | |
769 defines = host_predefines + [ "BINARY=BINARY_HOST_ME2ME" ] | |
770 | |
771 deps = [ | |
772 ":dpi_aware_exe_manifest", | |
773 ":remoting_core", | |
774 ":remoting_windows_resources", | |
775 ] | |
776 | |
777 sources = [ | |
778 "$root_gen_dir/remoting/version.rc", | |
779 "win/entry_point.cc", | |
780 ] | |
781 | |
782 ldflags = [ | |
783 "/ENTRY:HostEntryPoint", | |
784 # "/NODEFAULTLIB", | |
785 ] | |
786 } | |
787 | |
788 shared_library("remoting_core") { | |
789 configs += [ "//build/config/compiler:wexit_time_destructors" ] | |
790 | |
791 defines = host_predefines + [ | |
792 "_ATL_APARTMENT_THREADED", | |
793 "_ATL_CSTRING_EXPLICIT_CONSTRUCTORS", | |
794 "_ATL_NO_AUTOMATIC_NAMESPACE", | |
795 "_ATL_NO_EXCEPTIONS", | |
796 "BINARY=BINARY_CORE", | |
797 "DAEMON_CONTROLLER_CLSID=\"$daemon_controller_clsid\"", | |
798 "RDP_DESKTOP_SESSION_CLSID=\"$rdp_desktop_session_clsid\"", | |
799 "HOST_IMPLEMENTATION", | |
800 "ISOLATION_AWARE_ENABLED=1", | |
801 "STRICT", | |
802 "VERSION=$chrome_version_full", | |
803 ] | |
804 | |
805 if (remoting_multi_process != 0 && remoting_rdp_session != 0) { | |
806 defines += [ "REMOTING_RDP_SESSION" ] | |
807 } | |
808 | |
809 if (remoting_multi_process != 0) { | |
810 defines += [ "REMOTING_MULTI_PROCESS" ] | |
811 } | |
812 | |
813 deps = [ | |
814 ":host", | |
815 ":messages", | |
816 ":remoting_lib_idl", | |
817 ":remoting_lib_ps", | |
818 ":remoting_me2me_host_static", | |
819 ":remoting_windows_resources", | |
820 "//base", | |
821 "//base:base_static", | |
822 "//base/allocator", | |
823 "//base/third_party/dynamic_annotations", | |
824 "//build/win:default_exe_manifest", | |
825 "//ipc", | |
826 "//net", | |
827 "//remoting/base", | |
828 "//remoting/base:breakpad", | |
829 "//remoting/codec", | |
830 "//remoting/host/it2me:common", | |
831 "//remoting/host/native_messaging", | |
832 "//remoting/host/security_key:main", | |
833 "//remoting/host/setup", | |
834 "//remoting/protocol", | |
835 "//sandbox/win:sandbox", # Should always use Windows version | |
836 "//third_party/webrtc/modules/desktop_capture", | |
837 ] | |
838 | |
839 sources = [ | |
840 "$root_gen_dir/remoting/core.rc", | |
841 "$root_gen_dir/remoting/host/remoting_host_messages.rc", | |
842 "$root_gen_dir/remoting/version.rc", | |
843 "desktop_process_main.cc", | |
844 "host_main.cc", | |
845 "host_main.h", | |
846 "it2me/it2me_native_messaging_host_main.cc", | |
847 "it2me/it2me_native_messaging_host_main.h", | |
848 "setup/host_starter.cc", | |
849 "setup/host_starter.h", | |
850 "setup/me2me_native_messaging_host_main.cc", | |
851 "setup/me2me_native_messaging_host_main.h", | |
852 "setup/start_host_main.cc", | |
853 "setup/start_host_main.h", | |
854 "win/chromoting_lib.rc", | |
855 "win/chromoting_module.cc", | |
856 "win/chromoting_module.h", | |
857 "win/core.cc", | |
858 "win/core_resource.h", | |
859 "win/elevated_native_messaging_host.cc", | |
860 "win/elevated_native_messaging_host.h", | |
861 "win/host_service.cc", | |
862 "win/host_service.h", | |
863 "win/launch_native_messaging_host_process.cc", | |
864 "win/launch_native_messaging_host_process.h", | |
865 "win/omaha.cc", | |
866 "win/omaha.h", | |
867 "win/rdp_desktop_session.cc", | |
868 "win/rdp_desktop_session.h", | |
869 "win/unprivileged_process_delegate.cc", | |
870 "win/unprivileged_process_delegate.h", | |
871 "win/wts_session_process_delegate.cc", | |
872 "win/wts_session_process_delegate.h", | |
873 "worker_process_ipc_delegate.h", | |
874 ] | |
875 | |
876 ldflags = [ | |
877 "/EXPORT:DllGetClassObject=PsDllGetClassObject,PRIVATE", | |
878 "/EXPORT:DllCanUnloadNow=PsDllCanUnloadNow,PRIVATE", | |
879 "/EXPORT:DllRegisterServer=PsDllRegisterServer,PRIVATE", | |
880 "/EXPORT:DllUnregisterServer=PsDllUnregisterServer,PRIVATE", | |
881 ] | |
882 | |
883 libs = [ | |
884 "comctl32.lib", | |
885 "rpcns4.lib", | |
886 "rpcrt4.lib", | |
887 "sas.lib", | |
888 "uuid.lib", | |
889 "wtsapi32.lib", | |
890 ] | |
891 | |
892 if (is_clang) { | |
893 cflags = [ "-Wno-header-hygiene" ] | |
894 } | |
895 } | |
896 | |
897 executable("remoting_desktop") { | |
898 configs += [ | |
899 "//build/config/compiler:wexit_time_destructors", | |
900 "//build/config/win:windowed", | |
901 ] | |
902 | |
903 defines = host_predefines + [ "BINARY=BINARY_DESKTOP" ] | |
904 | |
905 deps = [ | |
906 ":remoting_core", | |
907 ":remoting_windows_resources", | |
908 ] | |
909 | |
910 if (is_official_build) { | |
911 deps += [ ":dpi_aware_elevated_exe_manifest" ] | |
912 } else { | |
913 deps += [ ":dpi_aware_exe_manifest" ] | |
914 } | |
915 | |
916 sources = [ | |
917 "$root_gen_dir/remoting/version.rc", | |
918 "win/entry_point.cc", | |
919 ] | |
920 | |
921 ldflags = [ | |
922 "/ENTRY:HostEntryPoint", | |
923 # "/NODEFAULTLIB", | |
924 ] | |
925 } | |
926 | |
927 executable("remoting_native_messaging_host") { | |
928 configs += [ "//build/config/compiler:wexit_time_destructors" ] | |
929 | |
930 defines = host_predefines + [ "BINARY=BINARY_NATIVE_MESSAGING_HOST" ] | |
931 | |
932 deps = [ | |
933 ":remoting_core", | |
934 ":remoting_windows_resources", | |
935 "//build/win:default_exe_manifest", | |
936 ] | |
937 | |
938 if (is_mac) { | |
939 foreach(locale, remoting_locales_with_underscores) { | |
940 deps += [ | |
941 ":native_messaging_host_strings_${locale}_bundle_data", | |
942 ":remoting_host_locale_${locale}_bundle_data", | |
943 ] | |
944 } | |
945 deps += [ | |
946 ":remoting_infoplist_strings", | |
947 "//remoting/resources:copy_locales", | |
948 ] | |
949 } | |
950 | |
951 sources = [ | |
952 "$root_gen_dir/remoting/version.rc", | |
953 "setup/me2me_native_messaging_host_entry_point.cc", | |
954 ] | |
955 } | |
956 | |
957 remoting_localize("remoting_windows_resources") { | |
958 deps = [ | |
959 "//remoting/resources", | |
960 ] | |
961 | |
962 sources = [ | |
963 "win/core.rc.jinja2", | |
964 "win/version.rc.jinja2", | |
965 ] | |
966 | |
967 # TODO(zijiehe): Export lastchange_path from | |
968 # //chrome/version.gni:process_version | |
969 variables = [ | |
970 rebase_path(chrome_version_file), | |
971 rebase_path(remoting_version_file), | |
972 rebase_path("//build/util/LASTCHANGE"), | |
973 ] | |
974 | |
975 output = "$root_gen_dir/remoting/{{source_name_part}}" | |
976 | |
977 locale_dir = webapp_locale_dir | |
978 | |
979 encoding = "utf-16" | |
980 | |
981 locales = remoting_locales | |
982 } | |
983 | |
984 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi | |
985 } | 599 } |
986 | 600 |
987 if (enable_remoting_host && !is_android) { | 601 if (enable_remoting_host && !is_android) { |
988 executable("remoting_start_host") { | 602 executable("remoting_start_host") { |
989 sources = [ | 603 sources = [ |
990 "setup/start_host_entry_point.cc", | 604 "setup/start_host_entry_point.cc", |
991 ] | 605 ] |
992 | 606 |
993 deps = [ | 607 deps = [ |
994 "//build/config/sanitizers:deps", | 608 "//build/config/sanitizers:deps", |
995 ] | 609 ] |
996 | 610 |
997 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 611 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
998 | 612 |
999 if (is_win) { | 613 if (is_win) { |
1000 defines = host_predefines + [ "BINARY=BINARY_REMOTING_START_HOST" ] | 614 defines = host_predefines + [ "BINARY=BINARY_REMOTING_START_HOST" ] |
1001 | 615 |
1002 deps += [ | 616 deps += [ |
1003 ":remoting_core", | |
1004 ":remoting_windows_resources", | |
1005 "//build/win:default_exe_manifest", | 617 "//build/win:default_exe_manifest", |
| 618 "//remoting/host/win:remoting_core", |
| 619 "//remoting/host/win:remoting_windows_resources", |
1006 ] | 620 ] |
1007 } else { | 621 } else { |
1008 sources += [ | 622 sources += [ |
1009 "setup/host_starter.cc", | 623 "setup/host_starter.cc", |
1010 "setup/host_starter.h", | 624 "setup/host_starter.h", |
1011 "setup/start_host_main.cc", | 625 "setup/start_host_main.cc", |
1012 "setup/start_host_main.h", | 626 "setup/start_host_main.h", |
1013 ] | 627 ] |
1014 | 628 |
1015 deps += [ "//remoting/host/setup" ] | 629 deps += [ "//remoting/host/setup" ] |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 | 735 |
1122 if (enable_me2me_host) { | 736 if (enable_me2me_host) { |
1123 static_library("remoting_me2me_host_static") { | 737 static_library("remoting_me2me_host_static") { |
1124 sources = [ | 738 sources = [ |
1125 "pam_authorization_factory_posix.cc", | 739 "pam_authorization_factory_posix.cc", |
1126 "pam_authorization_factory_posix.h", | 740 "pam_authorization_factory_posix.h", |
1127 "remoting_me2me_host.cc", | 741 "remoting_me2me_host.cc", |
1128 ] | 742 ] |
1129 defines = [] | 743 defines = [] |
1130 | 744 |
1131 configs += [ "//remoting/build/config:version" ] | 745 configs += [ |
| 746 "//remoting/build/config:version", |
| 747 "//remoting/build/config:remoting_me2me_host", |
| 748 ] |
1132 | 749 |
1133 deps = [ | 750 deps = [ |
1134 "//base", | 751 "//base", |
1135 "//base:i18n", | 752 "//base:i18n", |
1136 "//components/policy/core/common", | 753 "//components/policy/core/common", |
1137 "//net", | 754 "//net", |
1138 "//remoting/base", | 755 "//remoting/base", |
1139 "//remoting/host", | 756 "//remoting/host", |
1140 "//remoting/proto", | 757 "//remoting/proto", |
1141 "//third_party/webrtc/modules/desktop_capture", | 758 "//third_party/webrtc/modules/desktop_capture", |
(...skipping 13 matching lines...) Expand all Loading... |
1155 | 772 |
1156 if (is_desktop_linux) { | 773 if (is_desktop_linux) { |
1157 deps += [ "//build/config/linux/gtk2" ] | 774 deps += [ "//build/config/linux/gtk2" ] |
1158 } | 775 } |
1159 if ((is_linux && !is_chromeos) || is_mac) { | 776 if ((is_linux && !is_chromeos) || is_mac) { |
1160 libs = [ "pam" ] | 777 libs = [ "pam" ] |
1161 } | 778 } |
1162 | 779 |
1163 if (is_mac && is_official_build) { | 780 if (is_mac && is_official_build) { |
1164 sources += [ "internal/internal_mac-inl.h" ] | 781 sources += [ "internal/internal_mac-inl.h" ] |
1165 defines += [ "USE_REMOTING_MACOSX_INTERNAL" ] | |
1166 } | |
1167 | |
1168 if (is_win && remoting_multi_process != 0 && remoting_rdp_session != 0) { | |
1169 defines += [ "REMOTING_RDP_SESSION" ] | |
1170 } | |
1171 | |
1172 if (remoting_multi_process != 0) { | |
1173 defines += [ "REMOTING_MULTI_PROCESS" ] | |
1174 } | 782 } |
1175 } | 783 } |
1176 | 784 |
1177 if (is_win) { | 785 if (is_win) { |
1178 executable("remoting_me2me_host") { | 786 group("remoting_me2me_host") { |
1179 configs += [ | 787 deps = [ |
1180 "//build/config/compiler:wexit_time_destructors", | 788 "//remoting/host/win:remoting_me2me_host", |
1181 "//build/config/win:windowed", | |
1182 ] | 789 ] |
1183 | 790 } |
1184 defines = host_predefines + [ "BINARY=BINARY_HOST_ME2ME" ] | 791 group("remoting_native_messaging_host") { |
1185 | |
1186 deps = [ | 792 deps = [ |
1187 ":dpi_aware_exe_manifest", | 793 "//remoting/host/win:remoting_native_messaging_host", |
1188 ":remoting_core", | |
1189 ":remoting_windows_resources", | |
1190 ] | |
1191 | |
1192 sources = [ | |
1193 "$root_gen_dir/remoting/version.rc", | |
1194 "win/entry_point.cc", | |
1195 ] | |
1196 | |
1197 output_name = "remoting_host" | |
1198 | |
1199 ldflags = [ | |
1200 "/ENTRY:HostEntryPoint", | |
1201 # "/NODEFAULTLIB", | |
1202 ] | 794 ] |
1203 } | 795 } |
1204 } else { | 796 } else { |
1205 if (is_mac) { | 797 if (is_mac) { |
1206 app_target_type = "mac_app_bundle" | 798 app_target_type = "mac_app_bundle" |
1207 } else { | 799 } else { |
1208 app_target_type = "executable" | 800 app_target_type = "executable" |
1209 } | 801 } |
1210 | 802 |
1211 if (is_mac) { | 803 if (is_mac) { |
(...skipping 22 matching lines...) Expand all Loading... |
1234 sources = [ | 826 sources = [ |
1235 "$root_gen_dir/remoting/CREDITS.txt", | 827 "$root_gen_dir/remoting/CREDITS.txt", |
1236 "remoting_me2me_host.icns", | 828 "remoting_me2me_host.icns", |
1237 ] | 829 ] |
1238 | 830 |
1239 outputs = [ | 831 outputs = [ |
1240 "{{bundle_resources_dir}}/{{source_file_part}}", | 832 "{{bundle_resources_dir}}/{{source_file_part}}", |
1241 ] | 833 ] |
1242 | 834 |
1243 public_deps = [ | 835 public_deps = [ |
1244 ":credits", | 836 "//remoting/host/installer:credits", |
1245 ] | 837 ] |
1246 | 838 |
1247 if (icu_use_data_file) { | 839 if (icu_use_data_file) { |
1248 sources += [ "$root_out_dir/icudtl.dat" ] | 840 sources += [ "$root_out_dir/icudtl.dat" ] |
1249 public_deps += [ "//third_party/icu:icudata" ] | 841 public_deps += [ "//third_party/icu:icudata" ] |
1250 } | 842 } |
1251 } | 843 } |
1252 } | 844 } |
1253 | 845 |
1254 target(app_target_type, "remoting_me2me_host") { | 846 target(app_target_type, "remoting_me2me_host") { |
(...skipping 13 matching lines...) Expand all Loading... |
1268 sources = [ | 860 sources = [ |
1269 "host_main.cc", | 861 "host_main.cc", |
1270 "host_main.h", | 862 "host_main.h", |
1271 ] | 863 ] |
1272 | 864 |
1273 if (is_mac && is_chrome_branded && is_official_build) { | 865 if (is_mac && is_chrome_branded && is_official_build) { |
1274 defines = [ "REMOTING_ENABLE_BREAKPAD" ] | 866 defines = [ "REMOTING_ENABLE_BREAKPAD" ] |
1275 } | 867 } |
1276 | 868 |
1277 deps = [ | 869 deps = [ |
1278 ":credits", | |
1279 ":remoting_me2me_host_static", | 870 ":remoting_me2me_host_static", |
1280 "//build/config/sanitizers:deps", | 871 "//build/config/sanitizers:deps", |
1281 "//remoting/base:breakpad", | 872 "//remoting/base:breakpad", |
| 873 "//remoting/host/installer:credits", |
1282 "//remoting/resources", | 874 "//remoting/resources", |
1283 ] | 875 ] |
1284 if (is_mac) { | 876 if (is_mac) { |
1285 foreach(locale, remoting_locales_with_underscores) { | 877 foreach(locale, remoting_locales_with_underscores) { |
1286 deps += [ | 878 deps += [ |
1287 ":remoting_host_locale_${locale}_bundle_data", | 879 ":remoting_host_locale_${locale}_bundle_data", |
1288 ":remoting_me2me_host_strings_${locale}_bundle_data", | 880 ":remoting_me2me_host_strings_${locale}_bundle_data", |
1289 ] | 881 ] |
1290 } | 882 } |
1291 deps += [ | 883 deps += [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 outputs = [ | 928 outputs = [ |
1337 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", | 929 "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", |
1338 ] | 930 ] |
1339 deps = [ | 931 deps = [ |
1340 ":remoting_infoplist_strings", | 932 ":remoting_infoplist_strings", |
1341 ] | 933 ] |
1342 } | 934 } |
1343 } | 935 } |
1344 } | 936 } |
1345 | 937 |
| 938 # The [remoting_]native_messaging_host target is called differently on |
| 939 # Linux and Mac vs Windows. |
| 940 # TODO(sergeyu): Rename it to remoting_native_messaging_host on all |
| 941 # platforms. |
| 942 # TODO(nicholss): To aid in the rename effort, I am adding a link to |
| 943 # native_messaging_host from remoting_native_messaging_host so up stream |
| 944 # build targets need to only know about remoting_native_messaging_host. |
| 945 # The issue is changing the target changes the executable, we could force |
| 946 # a name in the build target or we could update the install packages to use |
| 947 # the new name. Holding off making that choice for now. |
| 948 group("remoting_native_messaging_host") { |
| 949 deps = [ |
| 950 ":native_messaging_host", |
| 951 ] |
| 952 } |
| 953 |
1346 target(app_target_type, "native_messaging_host") { | 954 target(app_target_type, "native_messaging_host") { |
1347 if (is_mac) { | 955 if (is_mac) { |
1348 info_plist = "setup/native_messaging_host-Info.plist" | 956 info_plist = "setup/native_messaging_host-Info.plist" |
1349 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 957 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
1350 extra_substitutions = [ | 958 extra_substitutions = [ |
1351 "BUNDLE_ID=$native_messaging_host_bundle_id", | 959 "BUNDLE_ID=$native_messaging_host_bundle_id", |
1352 "VERSION_FULL=$remoting_version_full", | 960 "VERSION_FULL=$remoting_version_full", |
1353 "VERSION_SHORT=$remoting_version_short", | 961 "VERSION_SHORT=$remoting_version_short", |
1354 "MACOSX_DEPLOYMENT_TARGET=10.7", | 962 "MACOSX_DEPLOYMENT_TARGET=10.7", |
1355 ] | 963 ] |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1465 "installer/linux/build-deb.sh", | 1073 "installer/linux/build-deb.sh", |
1466 ] | 1074 ] |
1467 args = [ | 1075 args = [ |
1468 "-s", | 1076 "-s", |
1469 rebase_path("//"), | 1077 rebase_path("//"), |
1470 "-o", | 1078 "-o", |
1471 rebase_path("$root_build_dir"), | 1079 rebase_path("$root_build_dir"), |
1472 ] | 1080 ] |
1473 | 1081 |
1474 deps = [ | 1082 deps = [ |
1475 ":native_messaging_host", | |
1476 ":remoting_me2me_host", | 1083 ":remoting_me2me_host", |
| 1084 ":remoting_native_messaging_host", |
1477 ":remoting_native_messaging_manifests", | 1085 ":remoting_native_messaging_manifests", |
1478 ":remoting_start_host", | 1086 ":remoting_start_host", |
1479 "//remoting/host/it2me:remote_assistance_host", | 1087 "//remoting/host/it2me:remote_assistance_host", |
1480 "//remoting/resources", | 1088 "//remoting/resources", |
1481 "//third_party/icu:icudata", | 1089 "//third_party/icu:icudata", |
1482 ] | 1090 ] |
1483 } | 1091 } |
1484 } else if (is_win) { | 1092 } else if (is_win) { |
1485 action("remoting_me2me_host_archive") { | 1093 group("remoting_me2me_host_archive") { |
1486 script = "//remoting/host/installer/build-installer-archive.py" | |
1487 | |
1488 deps = [ | 1094 deps = [ |
1489 ":credits", | 1095 "//remoting/host/installer/win:remoting_me2me_host_archive", |
1490 ":remoting_core", | |
1491 ":remoting_desktop", | |
1492 ":remoting_me2me_host", | |
1493 ":remoting_native_messaging_host", | |
1494 ":remoting_native_messaging_manifests", | |
1495 ":remoting_start_host", | |
1496 "it2me:remote_assistance_host", | |
1497 "it2me:remote_assistance_host_uiaccess", | |
1498 "//remoting/host/security_key:remote_security_key", | |
1499 "//third_party/icu:icudata", | |
1500 ] | 1096 ] |
1501 | |
1502 _output = "$root_out_dir/remoting-me2me-host-$target_os.zip" | |
1503 | |
1504 outputs = [ | |
1505 _output, | |
1506 ] | |
1507 if (is_chrome_branded) { | |
1508 _branding = "Chrome" | |
1509 } else { | |
1510 _branding = "Chromium" | |
1511 } | |
1512 | |
1513 if (is_official_build) { | |
1514 _official_build = "1" | |
1515 } else { | |
1516 _official_build = "0" | |
1517 } | |
1518 | |
1519 # Due to GN build issue http://crbug.com/633650, we need to actively set | |
1520 # inputs parameter to tell GN to depend on these files. So change to each | |
1521 # following files will trigger this target to be rebuilt. | |
1522 # TODO(zijiehe): Remove inputs parameter once bug 633650 has been | |
1523 # addressed. | |
1524 inputs = [ | |
1525 "$root_out_dir/remote_assistance_host.exe", | |
1526 "$root_out_dir/remote_assistance_host_uiaccess.exe", | |
1527 "$root_out_dir/remote_security_key.exe", | |
1528 "$root_out_dir/remoting_core.dll", | |
1529 "$root_out_dir/remoting_desktop.exe", | |
1530 "$root_out_dir/remoting_host.exe", | |
1531 "$root_out_dir/remoting_native_messaging_host.exe", | |
1532 "$root_out_dir/remoting_start_host.exe", | |
1533 "$root_gen_dir/remoting/CREDITS.txt", | |
1534 "$root_out_dir/remoting/com.google.chrome.remote_assistance.json", | |
1535 "$root_out_dir/remoting/com.google.chrome.remote_desktop.json", | |
1536 "$root_out_dir/icudtl.dat", | |
1537 ] | |
1538 | |
1539 _generated_files = rebase_path(inputs, root_build_dir) | |
1540 _generated_files += [ rebase_path("//remoting/resources/chromoting.ico") ] | |
1541 | |
1542 # _generated_dst_files must contain the same files in the same order as | |
1543 # _generated_files, otherwise the Windows MSI will not be built correctly. | |
1544 _generated_dst_files = [ | |
1545 "files/remote_assistance_host.exe", | |
1546 "files/remote_assistance_host_uiaccess.exe", | |
1547 "files/remote_security_key.exe", | |
1548 "files/remoting_core.dll", | |
1549 "files/remoting_desktop.exe", | |
1550 "files/remoting_host.exe", | |
1551 "files/remoting_native_messaging_host.exe", | |
1552 "files/remoting_start_host.exe", | |
1553 "files/CREDITS.txt", | |
1554 "files/com.google.chrome.remote_assistance.json", | |
1555 "files/com.google.chrome.remote_desktop.json", | |
1556 "files/icudtl.dat", | |
1557 "files/chromoting.ico", | |
1558 ] | |
1559 | |
1560 args = | |
1561 [ | |
1562 rebase_path("$root_gen_dir/remoting_installation", root_build_dir), | |
1563 rebase_path(_output, root_build_dir), | |
1564 "--source-file-roots", | |
1565 rebase_path("//remoting/host/installer/win"), | |
1566 "--source-files", | |
1567 rebase_path("//remoting/host/installer/win/chromoting.wxs"), | |
1568 rebase_path("//remoting/host/installer/win/parameters.json"), | |
1569 | |
1570 # Input files | |
1571 "--generated-files", | |
1572 ] + _generated_files + | |
1573 [ | |
1574 # Position of files in zip file | |
1575 "--generated-files-dst", | |
1576 ] + _generated_dst_files + | |
1577 [ | |
1578 # Defs | |
1579 "--defs", | |
1580 "BRANDING=$_branding", | |
1581 "DAEMON_CONTROLLER_CLSID={$daemon_controller_clsid}", | |
1582 "RDP_DESKTOP_SESSION_CLSID={$rdp_desktop_session_clsid}", | |
1583 "VERSION=$chrome_version_full", | |
1584 "OFFICIAL_BUILD=$_official_build", | |
1585 ] | |
1586 } | 1097 } |
1587 } else if (is_mac) { | 1098 } else if (is_mac) { |
1588 import("//build/config/zip.gni") | 1099 import("//build/config/zip.gni") |
1589 | 1100 |
1590 action("remoting_me2me_host_archive") { | 1101 action("remoting_me2me_host_archive") { |
1591 # TODO(GYP) TODO(crbug.com/622415) This needs work and testing. | 1102 # TODO(GYP) TODO(crbug.com/622415) This needs work and testing. |
1592 | 1103 |
1593 # TODO(GYP) At the very least, we need to add in the localized strings. | 1104 # TODO(GYP) At the very least, we need to add in the localized strings. |
1594 | 1105 |
1595 _installer_mac_files = [ | 1106 _installer_mac_files = [ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 "BUNDLE_ID_HOST_SERVICE=$bundle_prefix.$host_service_name_nospace
", | 1174 "BUNDLE_ID_HOST_SERVICE=$bundle_prefix.$host_service_name_nospace
", |
1664 "BUNDLE_ID_HOST_UNINSTALLER=$bundle_prefix.$host_uninstaller_name
_nospace", | 1175 "BUNDLE_ID_HOST_UNINSTALLER=$bundle_prefix.$host_uninstaller_name
_nospace", |
1665 "DMG_VOLUME_NAME=$host_name $chrome_version_full", | 1176 "DMG_VOLUME_NAME=$host_name $chrome_version_full", |
1666 "DMG_FILE_NAME=$host_name_nospace-$chrome_version_full", | 1177 "DMG_FILE_NAME=$host_name_nospace-$chrome_version_full", |
1667 "NATIVE_MESSAGING_HOST_BUNDLE_NAME=$native_messaging_host_bundle_
name", | 1178 "NATIVE_MESSAGING_HOST_BUNDLE_NAME=$native_messaging_host_bundle_
name", |
1668 "REMOTE_ASSISTANCE_HOST_BUNDLE_NAME=$remote_assistance_host_bundl
e_name", | 1179 "REMOTE_ASSISTANCE_HOST_BUNDLE_NAME=$remote_assistance_host_bundl
e_name", |
1669 "PREFPANE_BUNDLE_NAME=$prefpane_bundle_name", | 1180 "PREFPANE_BUNDLE_NAME=$prefpane_bundle_name", |
1670 ] | 1181 ] |
1671 | 1182 |
1672 deps = [ | 1183 deps = [ |
1673 ":native_messaging_host", | |
1674 ":remoting_host_prefpane.prefPane", | 1184 ":remoting_host_prefpane.prefPane", |
1675 ":remoting_host_uninstaller", | 1185 ":remoting_host_uninstaller", |
1676 ":remoting_me2me_host", | 1186 ":remoting_me2me_host", |
| 1187 ":remoting_native_messaging_host", |
1677 ":remoting_native_messaging_manifests", | 1188 ":remoting_native_messaging_manifests", |
1678 "//remoting/host/it2me:remote_assistance_host", | 1189 "//remoting/host/it2me:remote_assistance_host", |
1679 ] | 1190 ] |
1680 } | 1191 } |
1681 | 1192 |
1682 _uninstaller_plist = | 1193 _uninstaller_plist = |
1683 "installer/mac/uninstaller/remoting_uninstaller-Info.plist" | 1194 "installer/mac/uninstaller/remoting_uninstaller-Info.plist" |
1684 | 1195 |
1685 # remoting_uninstaller-InfoPlist.strings | 1196 # remoting_uninstaller-InfoPlist.strings |
1686 foreach(locale, remoting_locales_with_underscores) { | 1197 foreach(locale, remoting_locales_with_underscores) { |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1867 "mac/me2me_preference_pane_confirm_pin.xib", | 1378 "mac/me2me_preference_pane_confirm_pin.xib", |
1868 "mac/me2me_preference_pane_disable.xib", | 1379 "mac/me2me_preference_pane_disable.xib", |
1869 | 1380 |
1870 #"mac/me2me_preference_pane-Info.plist", | 1381 #"mac/me2me_preference_pane-Info.plist", |
1871 ] | 1382 ] |
1872 } | 1383 } |
1873 } else { | 1384 } else { |
1874 group("remoting_me2me_host_archive") { | 1385 group("remoting_me2me_host_archive") { |
1875 } | 1386 } |
1876 } | 1387 } |
1877 | |
1878 if (is_win && is_chrome_branded) { | |
1879 # We do not release a 64 bits binary. So to avoid any potential | |
1880 # misunderstanding, we only build 32 bits MSI file. | |
1881 if (!is_component_build && target_cpu == "x86") { | |
1882 # The script uses "ia32" instead of "x86". | |
1883 msi_script_arch = "ia32" | |
1884 | |
1885 action("remoting_host_installation") { | |
1886 deps = [ | |
1887 "//remoting/host:remoting_me2me_host_archive", | |
1888 ] | |
1889 script = "../tools/zip2msi.py" | |
1890 outputs = [ | |
1891 "$root_out_dir/chromoting.msi", | |
1892 ] | |
1893 args = [ | |
1894 "--wix_path", | |
1895 rebase_path("//third_party/wix"), | |
1896 "--intermediate_dir", | |
1897 rebase_path("$root_gen_dir/remoting_installation", root_build_dir), | |
1898 "--target_arch", | |
1899 msi_script_arch, | |
1900 rebase_path("$root_out_dir/remoting-me2me-host-$current_os.zip", | |
1901 root_build_dir), | |
1902 rebase_path(outputs[0], root_build_dir), | |
1903 ] | |
1904 } | |
1905 } else { | |
1906 group("remoting_host_installation") { | |
1907 } | |
1908 } | |
1909 } | |
1910 } | 1388 } |
OLD | NEW |