Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1196)

Unified Diff: remoting/host/it2me/BUILD.gn

Issue 2111213002: Adding localization files to the mac bundles for CRD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving all changes behind is_mac checks. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
« no previous file with comments | « remoting/host/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698