Add feature policy parser helper functions
This CL is part of the changes needed for this design doc: https://docs.google.com/document/d/1Qog5qwZ-6Rfx10AKkJxN-LrwhCw_GJ1xdLoQSnpsT1Q This CL provides a way to define feature policy features in a declarative way inside "feature_policy_features.json5" which generates the required code needed by the parser. The parser does not use the generated functions yet (it will be done in an upcoming CL). A few features are added to "feature_policy_features.json5" to manually test the generated code. Once all features are defined in the .json5 file and the parser uses the helper functions, the code will be tested against all existing tests for feature policy features. Bug: 934491 Change-Id: I44e5a919f1dbc0d6a5abae327f68ba3c90abb5d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534290 Commit-Queue: Yashar Dabiran <yashard@google.com> Reviewed-by:David Bokan <bokan@chromium.org> Reviewed-by:
Luna Lu <loonybear@chromium.org> Cr-Commit-Position: refs/heads/master@{#644818}
Showing
Please register or sign in to comment