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

Issue 2509243003: Split off 'Google' category into separate ADMX/ADML files (Closed)

Created:
4 years, 1 month ago by ljusten (tachyonic)
Modified:
4 years, 1 month ago
Reviewers:
Nico, pastarmovj
CC:
chromium-reviews, Lei Zhang, flackr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split off 'Google' category into separate ADMX/ADML files Allows sharing of the category. The category shows up as tree item in the GPO editor. If multiple ADMX files use a 'Google' category, there is one 'Google' tree item for each ADMX file. This CL allows the category to be shared. ADMX files can reference the 'Google' category by pointing into the google.admx file. BUG=chromium:665400 TEST=Tested policy_templates and pack_policy_templates, both branded and unbranded, made sure ADMX loads in editor. Committed: https://crrev.com/76942473295e92c2f34a6ed40a47a806dec38072 Cr-Commit-Position: refs/heads/master@{#433597}

Patch Set 1 #

Patch Set 2 : Fixed packing unbranded policy, renamed namespace/cat #

Total comments: 2

Patch Set 3 : rebase #

Total comments: 9

Patch Set 4 : Fix for missing inputs #

Patch Set 5 : Cleanup gn deps; move cat adm* strings to config #

Patch Set 6 : Android build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -82 lines) Patch
M components/policy/BUILD.gn View 1 2 3 4 5 4 chunks +46 lines, -2 lines 0 comments Download
M components/policy/resources/policy_templates.gni View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A components/policy/tools/create_google_admx.py View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A components/policy/tools/grd_helper.py View 1 chunk +62 lines, -0 lines 0 comments Download
M components/policy/tools/make_policy_zip.py View 1 3 chunks +17 lines, -23 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writer_configuration.py View 1 2 3 4 3 chunks +22 lines, -2 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writers/adm_writer.py View 1 2 3 4 2 chunks +13 lines, -12 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writers/adm_writer_unittest.py View 1 17 chunks +18 lines, -18 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writers/adml_writer.py View 1 2 3 4 3 chunks +13 lines, -16 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writers/adml_writer_unittest.py View 1 2 3 4 4 chunks +15 lines, -2 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writers/admx_writer.py View 1 2 3 4 2 chunks +17 lines, -7 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writers/admx_writer_unittest.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
ljusten (tachyonic)
flackr@chromium.org: Please review changes in components. thakis@chromium.org: Please review changes in tools.
4 years, 1 month ago (2016-11-17 11:23:22 UTC) #2
ljusten (tachyonic)
Oops, wrong reviewer. thakis@: Please review changes in tools. pastarmovj: Please review changes in components.
4 years, 1 month ago (2016-11-17 11:24:50 UTC) #4
pastarmovj
lgtm
4 years, 1 month ago (2016-11-17 13:30:20 UTC) #9
Nico
We don't really have anyone left who really groks grit, as far as I know. ...
4 years, 1 month ago (2016-11-18 17:27:17 UTC) #10
ljusten (tachyonic)
Nico, PTAL. You were right about the missing inputs. There's precedence for accessing the build ...
4 years, 1 month ago (2016-11-19 17:12:35 UTC) #11
Nico
Thanks, good replies. One more question: https://codereview.chromium.org/2509243003/diff/40001/components/policy/tools/create_google_admx.py File components/policy/tools/create_google_admx.py (right): https://codereview.chromium.org/2509243003/diff/40001/components/policy/tools/create_google_admx.py#newcode68 components/policy/tools/create_google_admx.py:68: file_list = grd_helper.get_grd_outputs(options) ...
4 years, 1 month ago (2016-11-19 17:50:57 UTC) #12
ljusten (tachyonic)
https://codereview.chromium.org/2509243003/diff/40001/components/policy/tools/create_google_admx.py File components/policy/tools/create_google_admx.py (right): https://codereview.chromium.org/2509243003/diff/40001/components/policy/tools/create_google_admx.py#newcode68 components/policy/tools/create_google_admx.py:68: file_list = grd_helper.get_grd_outputs(options) On 2016/11/19 17:50:57, Nico wrote: > ...
4 years, 1 month ago (2016-11-19 23:41:23 UTC) #13
ljusten (tachyonic)
Cleaned up the build dependencies. Turned out policy_templates_windows_outputs couldn't be an input of create_google_admx since ...
4 years, 1 month ago (2016-11-21 13:58:16 UTC) #14
Nico
lgtm as far as I understand :-) Thanks for explaining! https://codereview.chromium.org/2509243003/diff/40001/components/policy/tools/create_google_admx.py File components/policy/tools/create_google_admx.py (right): https://codereview.chromium.org/2509243003/diff/40001/components/policy/tools/create_google_admx.py#newcode68 ...
4 years, 1 month ago (2016-11-21 16:00:39 UTC) #15
ljusten (tachyonic)
On 2016/11/21 16:00:39, Nico wrote: > lgtm as far as I understand :-) Thanks for ...
4 years, 1 month ago (2016-11-21 17:24:38 UTC) #16
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/2509243003/80001
4 years, 1 month ago (2016-11-21 17:25:34 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/167803) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-11-21 17:30:25 UTC) #21
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/2509243003/100001
4 years, 1 month ago (2016-11-21 17:40:52 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-21 19:05:58 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 19:09:34 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/76942473295e92c2f34a6ed40a47a806dec38072
Cr-Commit-Position: refs/heads/master@{#433597}

Powered by Google App Engine
This is Rietveld 408576698