Index: remoting/host/it2me/BUILD.gn |
diff --git a/remoting/host/it2me/BUILD.gn b/remoting/host/it2me/BUILD.gn |
index 0c70d245a1a899b988151379af01ddff4fa0f5c5..04c84884a4bb5fc81187cdec18ba015ec692fea2 100644 |
--- a/remoting/host/it2me/BUILD.gn |
+++ b/remoting/host/it2me/BUILD.gn |
@@ -5,6 +5,7 @@ |
import("//build/config/features.gni") |
import("//remoting/remoting_enable.gni") |
import("//remoting/remoting_srcs.gni") |
+import("//remoting/remoting_locales.gni") |
if (is_win) { |
import("//remoting/host/predefines_win.gni") |
@@ -76,6 +77,21 @@ if (!is_chromeos && !is_android && enable_remoting_host) { |
} else { |
if (is_mac) { |
app_target_type = "mac_app_bundle" |
+ |
+ # remote_assistance_host-InfoPlist.strings |
+ foreach(locale, remoting_locales_with_underscores) { |
+ bundle_data("remote_assistance_host_strings_${locale}_bundle_data") { |
+ sources = [ |
+ "$root_gen_dir/remoting/host/remote_assistance_host-InfoPlist.strings/$locale.lproj/InfoPlist.strings", |
+ ] |
+ outputs = [ |
+ "{{bundle_resources_dir}}/$locale.lproj/{{source_file_part}}", |
+ ] |
+ deps = [ |
+ "//remoting/host:remoting_infoplist_strings", |
+ ] |
+ } |
+ } |
} else { |
app_target_type = "executable" |
} |
@@ -108,6 +124,18 @@ if (!is_chromeos && !is_android && enable_remoting_host) { |
"//remoting/proto", |
"//ui/gfx", |
] |
+ if (is_mac) { |
+ foreach(locale, remoting_locales_with_underscores) { |
+ deps += [ |
+ ":remote_assistance_host_strings_${locale}_bundle_data", |
+ "//remoting/host:remoting_host_locale_${locale}_bundle_data", |
+ ] |
+ } |
+ deps += [ |
+ "//remoting/host:remoting_infoplist_strings", |
+ "//remoting/resources:copy_locales", |
+ ] |
+ } |
if (enable_webrtc) { |
deps += [ "//third_party/libjingle:libjingle_webrtc" ] |