xref: /aosp_15_r20/external/libwebm/CONTRIBUTING.md (revision 103e46e4cd4b6efcf6001f23fa8665fb110abf8d)
1# How to Contribute
2
3We'd love to accept your patches and contributions to this project. There are
4just a few small guidelines you need to follow.
5
6## Contributor License Agreement
7
8Contributions to this project must be accompanied by a Contributor License
9Agreement. You (or your employer) retain the copyright to your contribution;
10this simply gives us permission to use and redistribute your contributions as
11part of the project. Head over to <https://cla.developers.google.com/> to see
12your current agreements on file or to sign a new one.
13
14You generally only need to submit a CLA once, so if you've already submitted one
15(even if it was for a different project), you probably don't need to do it
16again.
17
18## Code reviews
19
20All submissions, including submissions by project members, require review. We
21use a [Gerrit](https://www.gerritcodereview.com) instance hosted at
22https://chromium-review.googlesource.com for this purpose. See the
23[WebM Project page](https://www.webmproject.org/code/contribute/submitting-patches/)
24for additional details.
25
26## Code Style
27
28The C++ code style is based on the
29[Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) and
30`clang-format --style=Google`. `clang-format -i --style=file` can be used to
31format individual files, it will use the settings from `.clang-format`.
32
33CMake files are formatted with
34[cmake-format](https://cmake-format.readthedocs.io/en/latest/). `cmake-format
35-i` can be used to format individual files, it will use the settings from
36`.cmake-format.py`.
37
38## Community Guidelines
39
40This project follows
41[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/).
42