Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | D | 03-May-2024 | 516 | 26 | 19 | |
perfetto_cfg.bzl | D | 03-May-2024 | 4.4 KiB | 102 | 89 |
README.md
1# Perfetto standalone Bazel config 2 3This directory is only used in standalone builds. 4The WORKSPACE aliases this directory to @perfetto_cfg. 5 6Bazel-based embedders are supposed to: 7 8### 1. Have a (modified) copy of perfetto_cfg.bzl in their repo 9 10``` 11myproject/ 12 build/ 13 perfetto_overrides/ 14 perfetto_cfg.bzl 15``` 16 17### 2. Have a repository rule that maps the directory to @perfetto_cfg 18 19E.g in myproject/WORKSPACE 20``` 21local_repository( 22 name = "perfetto_cfg", 23 path = "build/perfetto_overrides", 24) 25``` 26