| 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/util/process_version.gni") | 5 import("//build/util/process_version.gni") |
| 6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
| 7 import("//remoting/build/config/remoting_build.gni") | 7 import("//remoting/build/config/remoting_build.gni") |
| 8 | 8 |
| 9 group("all_tests") { | 9 group("all_tests") { |
| 10 testonly = true | 10 testonly = true |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 outputs = [ | 619 outputs = [ |
| 620 "$root_build_dir/remoting/{{source_name_part}}", | 620 "$root_build_dir/remoting/{{source_name_part}}", |
| 621 ] | 621 ] |
| 622 | 622 |
| 623 args = [ | 623 args = [ |
| 624 "--define", | 624 "--define", |
| 625 "ME2ME_HOST_PATH=$me2me_host_path", | 625 "ME2ME_HOST_PATH=$me2me_host_path", |
| 626 "--define", | 626 "--define", |
| 627 "IT2ME_HOST_PATH=$it2me_host_path", | 627 "IT2ME_HOST_PATH=$it2me_host_path", |
| 628 "--variables", | 628 "--variables", |
| 629 rebase_path(branding_path), | 629 rebase_path(branding_path, root_build_dir), |
| 630 "--template", | 630 "--template", |
| 631 "{{source}}", | 631 "{{source}}", |
| 632 "--output", | 632 "--output", |
| 633 "remoting/{{source_name_part}}", | 633 "remoting/{{source_name_part}}", |
| 634 "en", | 634 "en", |
| 635 ] | 635 ] |
| 636 } | 636 } |
| 637 | 637 |
| 638 action_foreach("remoting_infoplist_strings") { | 638 action_foreach("remoting_infoplist_strings") { |
| 639 sources = [ | 639 sources = [ |
| 640 "installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings.jinja2", | 640 "installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings.jinja2", |
| 641 "it2me/remote_assistance_host-InfoPlist.strings.jinja2", | 641 "it2me/remote_assistance_host-InfoPlist.strings.jinja2", |
| 642 "mac/me2me_preference_pane-InfoPlist.strings.jinja2", | 642 "mac/me2me_preference_pane-InfoPlist.strings.jinja2", |
| 643 "remoting_me2me_host-InfoPlist.strings.jinja2", | 643 "remoting_me2me_host-InfoPlist.strings.jinja2", |
| 644 "setup/native_messaging_host-InfoPlist.strings.jinja2", | 644 "setup/native_messaging_host-InfoPlist.strings.jinja2", |
| 645 ] | 645 ] |
| 646 | 646 |
| 647 script = "//remoting/tools/build/remoting_localize.py" | 647 script = "//remoting/tools/build/remoting_localize.py" |
| 648 args = [ | 648 args = [ |
| 649 "--locale_dir", | 649 "--locale_dir", |
| 650 rebase_path(webapp_locale_dir, root_build_dir), | 650 rebase_path(webapp_locale_dir, root_build_dir), |
| 651 "--variables", | 651 "--variables", |
| 652 rebase_path(branding_path), | 652 rebase_path(branding_path, root_build_dir), |
| 653 "--template", | 653 "--template", |
| 654 "{{source}}", | 654 "{{source}}", |
| 655 "--locale_output", | 655 "--locale_output", |
| 656 rebase_path( | 656 rebase_path( |
| 657 "$root_gen_dir/remoting/host/{{source_name_part}}/@{json_suffix
}.lproj/InfoPlist.strings", | 657 "$root_gen_dir/remoting/host/{{source_name_part}}/@{json_suffix
}.lproj/InfoPlist.strings", |
| 658 root_build_dir), | 658 root_build_dir), |
| 659 ] + remoting_locales_with_underscores | 659 ] + remoting_locales_with_underscores |
| 660 | 660 |
| 661 outputs = [] | 661 outputs = [] |
| 662 foreach(locale, remoting_locales_with_underscores) { | 662 foreach(locale, remoting_locales_with_underscores) { |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 group("remoting_me2me_host_archive") { | 796 group("remoting_me2me_host_archive") { |
| 797 deps = [ | 797 deps = [ |
| 798 "//remoting/host/installer/mac:remoting_me2me_host_archive", | 798 "//remoting/host/installer/mac:remoting_me2me_host_archive", |
| 799 ] | 799 ] |
| 800 } | 800 } |
| 801 } else { | 801 } else { |
| 802 group("remoting_me2me_host_archive") { | 802 group("remoting_me2me_host_archive") { |
| 803 } | 803 } |
| 804 } | 804 } |
| 805 } | 805 } |
| OLD | NEW |