• Home
Name Date Size #Lines LOC

..--

README.mdD03-May-2024516 2619

perfetto_cfg.bzlD03-May-20244.4 KiB10289

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