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

Issue 1062213002: Remove localized App Restrictions resources. (Closed)

Created:
5 years, 8 months ago by knn
Modified:
5 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove localized App Restrictions resources. This is causing a ~1.46 mb increase in the binary size of chrome on android. Preemptively reverting this to facilitate further discussion. This change introduces a dummy target in gyp that deletes existing localized resources. The target as well as the python script can be removed once all buildbots have run this once (~ a day). Thankfully this is is not required in gn. BUG=450548 Committed: https://crrev.com/287196bac815e47ec142a77644a0b3848bb2b33f Cr-Commit-Position: refs/heads/master@{#324432}

Patch Set 1 #

Total comments: 7

Patch Set 2 : nit #

Total comments: 4

Patch Set 3 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -108 lines) Patch
M components/policy.gypi View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.gni View 1 chunk +2 lines, -55 lines 0 comments Download
M components/policy/resources/policy_templates.grd View 1 chunk +0 lines, -53 lines 0 comments Download
A components/policy/tools/remove_localized_app_restrictions.py View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
knn
Oops, forgot to send this. PTAL.
5 years, 8 months ago (2015-04-08 10:16:06 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py File components/policy/tools/remove_localized_app_restrictions.py (right): https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py#newcode8 components/policy/tools/remove_localized_app_restrictions.py:8: resources_dir specifies the root directory of the localized app ...
5 years, 8 months ago (2015-04-08 10:24:19 UTC) #4
knn
PTAL. https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py File components/policy/tools/remove_localized_app_restrictions.py (right): https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py#newcode8 components/policy/tools/remove_localized_app_restrictions.py:8: resources_dir specifies the root directory of the localized ...
5 years, 8 months ago (2015-04-08 10:40:50 UTC) #5
Bernhard Bauer
https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py File components/policy/tools/remove_localized_app_restrictions.py (right): https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py#newcode21 components/policy/tools/remove_localized_app_restrictions.py:21: os.rmdir(path) On 2015/04/08 10:40:50, knn wrote: > On 2015/04/08 ...
5 years, 8 months ago (2015-04-08 12:36:17 UTC) #6
knn
https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py File components/policy/tools/remove_localized_app_restrictions.py (right): https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py#newcode21 components/policy/tools/remove_localized_app_restrictions.py:21: os.rmdir(path) On 2015/04/08 12:36:17, Bernhard Bauer wrote: > On ...
5 years, 8 months ago (2015-04-08 12:52:54 UTC) #7
Bernhard Bauer
lgtm https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py File components/policy/tools/remove_localized_app_restrictions.py (right): https://codereview.chromium.org/1062213002/diff/1/components/policy/tools/remove_localized_app_restrictions.py#newcode21 components/policy/tools/remove_localized_app_restrictions.py:21: os.rmdir(path) On 2015/04/08 12:52:54, knn wrote: > On ...
5 years, 8 months ago (2015-04-08 12:58:54 UTC) #8
bartfab (slow)
LGTM with a question: Why is it necessary to remove these generated files on build ...
5 years, 8 months ago (2015-04-09 12:04:14 UTC) #9
knn
We cannot leave the stale resource files as Gyp only knows about the folder where ...
5 years, 8 months ago (2015-04-09 13:07:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1062213002/40001
5 years, 8 months ago (2015-04-09 14:09:54 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-09 14:14:23 UTC) #14
commit-bot: I haz the power
5 years, 8 months ago (2015-04-09 14:15:15 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/287196bac815e47ec142a77644a0b3848bb2b33f
Cr-Commit-Position: refs/heads/master@{#324432}

Powered by Google App Engine
This is Rietveld 408576698