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

Issue 2320883006: 🍵 Refactor the various locale_paks() templates to be more shared (Closed)

Created:
4 years, 3 months ago by agrieve
Modified:
4 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, sdefresne+watch_chromium.org, brettw
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the various locale_paks() templates to be more shared Main motivation for this is to more easily add per-target repack_whitelist. BUG=645716 Committed: https://crrev.com/61973f5b2e2d7cf070c89043768b4a3e0025b19a Cr-Commit-Position: refs/heads/master@{#418327}

Patch Set 1 #

Patch Set 2 : fix chromeos and ios hopefully #

Patch Set 3 : fix chromeos gen error attempt #2 #

Patch Set 4 : ... and ios #

Patch Set 5 : another attempt #

Patch Set 6 : another search&replace bug #

Total comments: 6

Patch Set 7 : sdefresne comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -530 lines) Patch
M android_webview/webview_repack_locales.gni View 1 1 chunk +11 lines, -89 lines 0 comments Download
M android_webview/webview_repack_locales_list.gni View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/BUILD.gn View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/android/monochrome_repack_locales.gni View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_repack_locales.gni View 1 2 3 4 5 5 chunks +44 lines, -143 lines 3 comments Download
M ios/chrome/app/resources/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/app/resources/ios_chrome_repack.gni View 1 2 3 4 5 6 4 chunks +17 lines, -143 lines 0 comments Download
M ios/chrome/extension_repack.gni View 1 2 3 4 5 6 1 chunk +9 lines, -107 lines 0 comments Download
M ios/chrome/share_extension/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/today_extension/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/test/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M tools/grit/repack.gni View 1 2 3 4 5 6 3 chunks +114 lines, -41 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 47 (33 generated)
agrieve
michaelbai@chromium.org: Please review changes in android_webview thakis@chromium.org: Please review changes in tools/grit, chrome/ sdefresne@chromium.org: Please ...
4 years, 3 months ago (2016-09-12 19:07:49 UTC) #16
agrieve
On 2016/09/12 19:07:49, agrieve wrote: > mailto:michaelbai@chromium.org: Please review changes in android_webview > > mailto:thakis@chromium.org: ...
4 years, 3 months ago (2016-09-12 19:35:33 UTC) #19
michaelbai
LGTM android_webview, thanks for refactoring this.
4 years, 3 months ago (2016-09-12 21:10:54 UTC) #22
sdefresne
https://codereview.chromium.org/2320883006/diff/100001/ios/chrome/extension_repack.gni File ios/chrome/extension_repack.gni (right): https://codereview.chromium.org/2320883006/diff/100001/ios/chrome/extension_repack.gni#newcode48 ios/chrome/extension_repack.gni:48: define_bundle_data = true Should be: define_bundle_data = invoker.copy_data_to_bundle https://codereview.chromium.org/2320883006/diff/100001/tools/grit/repack.gni ...
4 years, 3 months ago (2016-09-13 07:59:19 UTC) #23
agrieve
Also changed define_bundle_data -> copy_data_to_bundle to match existing term. https://codereview.chromium.org/2320883006/diff/100001/ios/chrome/extension_repack.gni File ios/chrome/extension_repack.gni (right): https://codereview.chromium.org/2320883006/diff/100001/ios/chrome/extension_repack.gni#newcode48 ios/chrome/extension_repack.gni:48: ...
4 years, 3 months ago (2016-09-13 14:06:58 UTC) #24
sdefresne
lgtm
4 years, 3 months ago (2016-09-13 14:25:26 UTC) #25
Nico
Looks fine as I can tell, but I don't know this code super well. Looks ...
4 years, 3 months ago (2016-09-13 14:33:12 UTC) #26
sdefresne
https://codereview.chromium.org/2320883006/diff/120001/chrome/chrome_repack_locales.gni File chrome/chrome_repack_locales.gni (right): https://codereview.chromium.org/2320883006/diff/120001/chrome/chrome_repack_locales.gni#newcode104 chrome/chrome_repack_locales.gni:104: if (is_mac || is_ios) { On 2016/09/13 14:33:10, Nico ...
4 years, 3 months ago (2016-09-13 14:38:45 UTC) #27
Robert Sesek
LGTM. But please run a clobber tryjob on Mac to make sure this is OK. ...
4 years, 3 months ago (2016-09-13 17:16:35 UTC) #33
brettw
rs lgtm
4 years, 3 months ago (2016-09-13 17:53:09 UTC) #39
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/2320883006/120001
4 years, 3 months ago (2016-09-13 19:13:38 UTC) #42
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-13 19:19:23 UTC) #44
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/61973f5b2e2d7cf070c89043768b4a3e0025b19a Cr-Commit-Position: refs/heads/master@{#418327}
4 years, 3 months ago (2016-09-13 19:21:20 UTC) #46
agrieve
4 years, 3 months ago (2016-09-13 23:45:49 UTC) #47
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/2340673002/ by agrieve@chromium.org.

The reason for reverting is: gn gen fails when
enable_resource_whitelist_generation=true.

Powered by Google App Engine
This is Rietveld 408576698