mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
de6330a49b
This commit introduces StaticPrefList.yaml, which encodes the same information as StaticPrefList.h. The .yaml file was generated with a script, which is not part of this commit because it only needs to be used once. (I will attach it to the bug, however.) The commit doesn't remove StaticPrefList.h, I will do that in the next commit. (This makes things it easier to rerun the header-to-YAML script if/when necessary.) The commit does modify the comment at the top of StaticPrefList.h; that modified comment can also be seen at the top of StaticPrefList.yaml. This commit also adds a script that converts the YAML to a header file. This script becomes part of the build. I have done my best to verify that the conversion is correct by comparing the original .h file with the one generated from the YAML file. They are identical, modulo removed comments and the processing of preprocessor directives. Differential Revision: https://phabricator.services.mozilla.com/D37526 --HG-- extra : moz-landing-system : lando
0 lines
Python
0 lines
Python