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

Issue 929353002: Fix generate_policy_source.py to honour supported_on ranges. (Closed)

Created:
5 years, 10 months ago by Thiemo Nagel
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

Fix generate_policy_source.py to honour supported_on ranges. BUG=451073 Committed: https://crrev.com/87a25e53185cfbd598a888cb35cd674b7d2394de Cr-Commit-Position: refs/heads/master@{#326848}

Patch Set 1 #

Patch Set 2 : Add GN support. #

Patch Set 3 : Add some error handling for malformatted supported_on version ranges. #

Total comments: 4

Patch Set 4 : Rebase. #

Patch Set 5 : Parse chrome/VERSION in generate_policy_source.py. #

Total comments: 10

Patch Set 6 : Address Mattias' comments. #

Total comments: 6

Patch Set 7 : Address more comments by Mattias. #

Total comments: 2

Patch Set 8 : Address Mattias' final nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -9 lines) Patch
M components/policy.gypi View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M components/policy/BUILD.gn View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download
M components/policy/tools/generate_policy_source.py View 1 2 3 4 5 6 7 4 chunks +34 lines, -9 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
Thiemo Nagel
Hi Mattias, could you please take a look? Thank you! Thiemo
5 years, 10 months ago (2015-02-17 17:35:43 UTC) #4
Mattias Nissler (ping if slow)
LGTM from my side, but please also get a review from somebody who is competent ...
5 years, 10 months ago (2015-02-18 10:34:42 UTC) #5
Thiemo Nagel
Hi Brett, could you please take a look whether the GN part looks reasonable to ...
5 years, 10 months ago (2015-02-18 17:31:56 UTC) #7
Thiemo Nagel
Friendly ping: Brett, could you please take a look at the GN part or delegate ...
5 years, 10 months ago (2015-02-23 10:54:45 UTC) #8
brettw
https://codereview.chromium.org/929353002/diff/80001/components/policy/BUILD.gn File components/policy/BUILD.gn (right): https://codereview.chromium.org/929353002/diff/80001/components/policy/BUILD.gn#newcode81 components/policy/BUILD.gn:81: [ chrome_version_abspath ]) I have tried very hard not ...
5 years, 10 months ago (2015-02-23 19:19:08 UTC) #9
brettw
We should be able to do the same in GYP to keep GYP from getting ...
5 years, 10 months ago (2015-02-23 19:19:28 UTC) #10
Thiemo Nagel
Thanks a lot for your input, Brett! Could you please take another look now that ...
5 years, 8 months ago (2015-04-22 17:26:47 UTC) #12
Mattias Nissler (ping if slow)
https://codereview.chromium.org/929353002/diff/140001/components/policy/tools/generate_policy_source.py File components/policy/tools/generate_policy_source.py (right): https://codereview.chromium.org/929353002/diff/140001/components/policy/tools/generate_policy_source.py#newcode170 components/policy/tools/generate_policy_source.py:170: print('Exactly VERSION path, platform, chromium_os flag and ' what ...
5 years, 8 months ago (2015-04-23 09:01:30 UTC) #13
Thiemo Nagel
Thank you for the review! Could you please take another look? https://codereview.chromium.org/929353002/diff/140001/components/policy/tools/generate_policy_source.py File components/policy/tools/generate_policy_source.py (right): ...
5 years, 8 months ago (2015-04-23 09:58:00 UTC) #14
Mattias Nissler (ping if slow)
https://codereview.chromium.org/929353002/diff/140001/components/policy/tools/generate_policy_source.py File components/policy/tools/generate_policy_source.py (right): https://codereview.chromium.org/929353002/diff/140001/components/policy/tools/generate_policy_source.py#newcode170 components/policy/tools/generate_policy_source.py:170: print('Exactly VERSION path, platform, chromium_os flag and ' On ...
5 years, 8 months ago (2015-04-23 10:14:53 UTC) #15
Thiemo Nagel
Thank you! Could you please take another look? https://codereview.chromium.org/929353002/diff/140001/components/policy/tools/generate_policy_source.py File components/policy/tools/generate_policy_source.py (right): https://codereview.chromium.org/929353002/diff/140001/components/policy/tools/generate_policy_source.py#newcode170 components/policy/tools/generate_policy_source.py:170: print('Exactly ...
5 years, 8 months ago (2015-04-23 10:56:26 UTC) #16
Mattias Nissler (ping if slow)
LGTM https://codereview.chromium.org/929353002/diff/180001/components/policy/tools/generate_policy_source.py File components/policy/tools/generate_policy_source.py (right): https://codereview.chromium.org/929353002/diff/180001/components/policy/tools/generate_policy_source.py#newcode181 components/policy/tools/generate_policy_source.py:181: print('Exactly path to src/chrome/VERSION, platform, chromium_os flag and ...
5 years, 8 months ago (2015-04-23 11:39:19 UTC) #17
Thiemo Nagel
Thank you! https://codereview.chromium.org/929353002/diff/180001/components/policy/tools/generate_policy_source.py File components/policy/tools/generate_policy_source.py (right): https://codereview.chromium.org/929353002/diff/180001/components/policy/tools/generate_policy_source.py#newcode181 components/policy/tools/generate_policy_source.py:181: print('Exactly path to src/chrome/VERSION, platform, chromium_os flag ...
5 years, 8 months ago (2015-04-23 12:55:33 UTC) #18
Thiemo Nagel
On 2015/04/23 11:39:19, Mattias Nissler wrote: > LGTM Does your l-g-t-m cover the now-simplified BUILD.gn ...
5 years, 8 months ago (2015-04-24 07:13:45 UTC) #19
Mattias Nissler (ping if slow)
Please ask Brett, I'm not very familiar with GN.
5 years, 8 months ago (2015-04-24 08:05:55 UTC) #20
brettw
GN stuff LGTM
5 years, 8 months ago (2015-04-24 17:22:48 UTC) #21
Thiemo Nagel
On 2015/04/24 17:22:48, brettw wrote: > GN stuff LGTM Thanks a lot!
5 years, 8 months ago (2015-04-24 17:38:36 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/929353002/200001
5 years, 8 months ago (2015-04-24 17:39:39 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:200001)
5 years, 8 months ago (2015-04-24 18:44:54 UTC) #26
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 18:46:39 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/87a25e53185cfbd598a888cb35cd674b7d2394de
Cr-Commit-Position: refs/heads/master@{#326848}

Powered by Google App Engine
This is Rietveld 408576698