generate_policy_source.py: Support --all-chrome-versions
Support generating policy sources from policy_templates.json without version restrictions. This is useful for testing where we may want to set policies that are not yet supported or are not supported anymore. python components/policy/tools/generate_policy_source.py \ --policy-templates-file=components/policy/resources/policy_templates.json \ --target-platform=chromeos --chrome-version-file=chrome/VERSION \ --policy-constants-source=test.cc and python components/policy/tools/generate_policy_source.py \ --policy-templates-file=components/policy/resources/policy_templates.json \ --target-platform=chromeos --all-chrome-versions \ --policy-constants-source=test2.cc then diff test.cc test2.cc Bug: 976424 Test: Run Change-Id: I3d0b7a0676ba771aec06ff7df0465e3b9539fd62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1686668 Commit-Queue: Pavol Marko <pmarko@chromium.org> Reviewed-by:Lutz Justen <ljusten@chromium.org> Cr-Commit-Position: refs/heads/master@{#686588}
Showing
Please register or sign in to comment