Primiano Tucci | b808373 | 2018-04-09 15:38:37 +0100 | [diff] [blame] | 1 | # Contributing to Pefetto |
| 2 | This project uses [Android AOSP Gerrit][perfetto-gerrit] for code reviews and |
| 3 | uses the [Google C++ style][google-cpp-style] and targets `-std=c++11`. |
| 4 | |
| 5 | `git cl upload` from [Chromium depot tools][depot-tools] is the preferred |
| 6 | workflow to upload patches, as it supports presubmits and code formatting via |
| 7 | `git cl format`. |
| 8 | |
| 9 | See https://source.android.com/source/contributing for more details about |
| 10 | external contributions and CLA signing. |
| 11 | |
| 12 | |
| 13 | ### Continuous integration |
| 14 | |
| 15 | Continuous build and test coverage is available at |
Primiano Tucci | 48fb503 | 2019-08-29 09:24:21 +0200 | [diff] [blame] | 16 | [ci.perfetto.dev](https://ci.perfetto.dev). |
Primiano Tucci | b808373 | 2018-04-09 15:38:37 +0100 | [diff] [blame] | 17 | |
Primiano Tucci | 48fb503 | 2019-08-29 09:24:21 +0200 | [diff] [blame] | 18 | **Trybots**: |
| 19 | CLs uploaded to gerrit are automatically submitted to the CI and |
| 20 | and available on the CI page. |
| 21 | If the label `Presubmit-Ready: +1` is set, the CI will also publish a comment |
| 22 | like [this][ci-example] on the CL. |
Primiano Tucci | b808373 | 2018-04-09 15:38:37 +0100 | [diff] [blame] | 23 | |
| 24 | [perfetto-gerrit]: https://android-review.googlesource.com/q/project:platform%252Fexternal%252Fperfetto+status:open |
| 25 | [google-cpp-style]: https://google.github.io/styleguide/cppguide.html |
| 26 | [depot-tools]: https://dev.chromium.org/developers/how-tos/depottools |
Primiano Tucci | 48fb503 | 2019-08-29 09:24:21 +0200 | [diff] [blame] | 27 | [ci-example]: https://android-review.googlesource.com/c/platform/external/perfetto/+/1108253/3#message-09fd27fb92ca8357abade3ec725919ac3445f3af |