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

Issue 868673003: [WebView] Repack the .pak files for all the locales. (Closed)

Created:
5 years, 11 months ago by Ignacio Solla
Modified:
5 years, 10 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WebView] Pack the .pak files for all the locales. This changes includes all the locale .pak files into the WebView apk when building it from the chromium tree, similarly to what we're doing when building it from the Android tree, see android_webview/Android.mk. BUG=405035 TESTED=Manual. Verified that the set of locales in the downstream and upstream SystemWebViewGoogle.apk is the same. Committed: https://crrev.com/0826b636a11190f231e2ca167f7ec1304234be6a Cr-Commit-Position: refs/heads/master@{#315001}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Set PYTHONPATH and copy instead of moving when renaming. #

Patch Set 4 : Rebase #

Patch Set 5 : Do not share locales list. #

Patch Set 6 : Fix AOSP bot #

Total comments: 2

Patch Set 7 : Inline android_webview_locales_rename_paks.gypi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -9 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 5 6 3 chunks +21 lines, -5 lines 0 comments Download
M android_webview/android_webview_tests.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M android_webview/apk/system_webview_apk_common.gypi View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
A android_webview/apk/system_webview_locales_paks.gypi View 1 2 3 4 1 chunk +125 lines, -0 lines 0 comments Download
A android_webview/tools/webview_locales_rename_paks.py View 1 2 1 chunk +98 lines, -0 lines 0 comments Download
M build/gyp_chromium View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Ignacio Solla
torne@chromium.org: Please review all changes mkosiba@chromium.org: Please review all changes
5 years, 11 months ago (2015-01-22 16:44:24 UTC) #2
Ignacio Solla
On 2015/01/22 16:44:24, Ignacio Solla wrote: > mailto:torne@chromium.org: Please review all changes > > mailto:mkosiba@chromium.org: ...
5 years, 11 months ago (2015-01-22 16:46:31 UTC) #3
Ignacio Solla
On 2015/01/22 16:46:31, Ignacio Solla wrote: > On 2015/01/22 16:44:24, Ignacio Solla wrote: > > ...
5 years, 11 months ago (2015-01-26 19:55:17 UTC) #5
mkosiba (inactive)
lgtm https://codereview.chromium.org/868673003/diff/20001/android_webview/tools/webview_locales_rename_paks.py File android_webview/tools/webview_locales_rename_paks.py (right): https://codereview.chromium.org/868673003/diff/20001/android_webview/tools/webview_locales_rename_paks.py#newcode19 android_webview/tools/webview_locales_rename_paks.py:19: return os.path.join(PRODUCT_DIR, 'android_webview_assets', locale + '.pak') maybe let's ...
5 years, 11 months ago (2015-01-27 10:26:15 UTC) #6
cjhopman
https://codereview.chromium.org/868673003/diff/20001/android_webview/android_webview_locales_rename_paks.gypi File android_webview/android_webview_locales_rename_paks.gypi (right): https://codereview.chromium.org/868673003/diff/20001/android_webview/android_webview_locales_rename_paks.gypi#newcode13 android_webview/android_webview_locales_rename_paks.gypi:13: '<!@pymod_do_main(webview_locales_rename_paks -i -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(pak_locales))' Calling out ...
5 years, 11 months ago (2015-01-28 00:37:44 UTC) #7
Ignacio Solla
https://codereview.chromium.org/868673003/diff/20001/android_webview/android_webview_locales_rename_paks.gypi File android_webview/android_webview_locales_rename_paks.gypi (right): https://codereview.chromium.org/868673003/diff/20001/android_webview/android_webview_locales_rename_paks.gypi#newcode13 android_webview/android_webview_locales_rename_paks.gypi:13: '<!@pymod_do_main(webview_locales_rename_paks -i -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(pak_locales))' On 2015/01/28 ...
5 years, 10 months ago (2015-02-02 17:11:32 UTC) #8
Ignacio Solla
https://codereview.chromium.org/868673003/diff/20001/android_webview/tools/webview_locales_rename_paks.py File android_webview/tools/webview_locales_rename_paks.py (right): https://codereview.chromium.org/868673003/diff/20001/android_webview/tools/webview_locales_rename_paks.py#newcode19 android_webview/tools/webview_locales_rename_paks.py:19: return os.path.join(PRODUCT_DIR, 'android_webview_assets', locale + '.pak') On 2015/01/27 10:26:15, ...
5 years, 10 months ago (2015-02-02 17:53:58 UTC) #9
cjhopman
On 2015/02/02 17:11:32, Ignacio Solla wrote: > https://codereview.chromium.org/868673003/diff/20001/android_webview/android_webview_locales_rename_paks.gypi > File android_webview/android_webview_locales_rename_paks.gypi (right): > > https://codereview.chromium.org/868673003/diff/20001/android_webview/android_webview_locales_rename_paks.gypi#newcode13 ...
5 years, 10 months ago (2015-02-02 18:42:41 UTC) #10
Torne
LGTM with one suggestion: https://codereview.chromium.org/868673003/diff/100001/android_webview/android_webview_locales_rename_paks.gypi File android_webview/android_webview_locales_rename_paks.gypi (right): https://codereview.chromium.org/868673003/diff/100001/android_webview/android_webview_locales_rename_paks.gypi#newcode1 android_webview/android_webview_locales_rename_paks.gypi:1: # Copyright (c) 2015 The ...
5 years, 10 months ago (2015-02-05 17:16:24 UTC) #11
Ignacio Solla
https://codereview.chromium.org/868673003/diff/100001/android_webview/android_webview_locales_rename_paks.gypi File android_webview/android_webview_locales_rename_paks.gypi (right): https://codereview.chromium.org/868673003/diff/100001/android_webview/android_webview_locales_rename_paks.gypi#newcode1 android_webview/android_webview_locales_rename_paks.gypi:1: # Copyright (c) 2015 The Chromium Authors. All rights ...
5 years, 10 months ago (2015-02-05 18:58:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868673003/120001
5 years, 10 months ago (2015-02-05 19:00:05 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/31137)
5 years, 10 months ago (2015-02-05 21:06:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868673003/120001
5 years, 10 months ago (2015-02-06 09:47:41 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-06 12:10:39 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 12:12:07 UTC) #21
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0826b636a11190f231e2ca167f7ec1304234be6a
Cr-Commit-Position: refs/heads/master@{#315001}

Powered by Google App Engine
This is Rietveld 408576698