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

Issue 2824173004: Fix packing localized strings for //remoting. (Closed)

Created:
3 years, 8 months ago by sdefresne
Modified:
3 years, 8 months ago
Reviewers:
nicholss, Wez
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix packing localized strings for //remoting. On iOS, the locales "pt-BR" and "es-419" are called respectively "pt" and "es-MX" (with on-disk files named "pt" and "es_MX"). Fix remoting_strings.grd to use the correct rules when listing the output files (i.e. add conditionals around "pt" and "es-MX" when generating both message.json and $locale.pak files). Add the corresponding fixes to the declaration of the remoting_locales and remoting_locales_with_underscores variables. Fix warning about multiple target generating the same files when doing a fat build on iOS by using root_out_dir (that depends on the toolchain) instead of root_build_dir (independent of the toolchain) for the output paths. BUG=711551 Review-Url: https://codereview.chromium.org/2824173004 Cr-Commit-Position: refs/heads/master@{#465934} Committed: https://chromium.googlesource.com/chromium/src/+/e79e858ded5b3c99d94fa74ffabeec16ef2b2a78

Patch Set 1 #

Patch Set 2 : Fix fat builds. #

Total comments: 11

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -23 lines) Patch
M remoting/remoting_locales.gni View 1 2 3 chunks +23 lines, -13 lines 0 comments Download
M remoting/resources/BUILD.gn View 1 3 chunks +6 lines, -5 lines 0 comments Download
M remoting/resources/remoting_strings.grd View 4 chunks +23 lines, -5 lines 0 comments Download

Messages

Total messages: 36 (26 generated)
sdefresne
nicholss: please take a look. wez: for OWNERS stamp.
3 years, 8 months ago (2017-04-18 13:58:42 UTC) #4
Wez
https://codereview.chromium.org/2824173004/diff/40001/remoting/remoting_locales.gni File remoting/remoting_locales.gni (right): https://codereview.chromium.org/2824173004/diff/40001/remoting/remoting_locales.gni#newcode95 remoting/remoting_locales.gni:95: if (is_chromeos || is_ios) { nit: Let's make sure ...
3 years, 8 months ago (2017-04-18 18:05:26 UTC) #16
sdefresne
PTAL https://codereview.chromium.org/2824173004/diff/40001/remoting/remoting_locales.gni File remoting/remoting_locales.gni (right): https://codereview.chromium.org/2824173004/diff/40001/remoting/remoting_locales.gni#newcode95 remoting/remoting_locales.gni:95: if (is_chromeos || is_ios) { On 2017/04/18 18:05:26, ...
3 years, 8 months ago (2017-04-19 08:59:03 UTC) #20
nicholss
lgtm LGTM, Thanks a bunch for helping with that!
3 years, 8 months ago (2017-04-19 21:37:20 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2824173004/60001
3 years, 8 months ago (2017-04-19 21:37:53 UTC) #26
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-19 21:37:55 UTC) #28
Wez
LGTM w/ nit. I would suggest landing this, ideally with the CL description issue addressed, ...
3 years, 8 months ago (2017-04-20 03:41:22 UTC) #29
sdefresne
Thank you for the review. On 2017/04/20 03:41:22, Wez wrote: > LGTM w/ nit. > ...
3 years, 8 months ago (2017-04-20 07:24:17 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2824173004/60001
3 years, 8 months ago (2017-04-20 07:24:40 UTC) #33
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 07:29:39 UTC) #36
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e79e858ded5b3c99d94fa74ffabe...

Powered by Google App Engine
This is Rietveld 408576698