commit | b8698fa0892bf0d8bc7316ff3c795e145cea6dbf | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Mon May 11 19:25:36 2020 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Mon May 11 19:25:36 2020 +0100 |
tree | 08337983054624bbbfca59d9e71593496db0525f | |
parent | 6c5248d193ef0ca91f45ed129a1a75a9eb086922 [diff] |
bazel: fix compile when precompiled headers are used This CL fixes building the cpp proto targets when precompiled headers are being used. The build was failing because the generated headers are not standalone when having a repeated field defined in another file. Use textual_hdrs option to indicate to Bazel it should not try and precompile these headers. Also fix a small bug in the protogen rule where we returned all files (including headers) as the default sourceset of the protogen rule. Change-Id: I385b4bb8cb21565ef9ebd171aa0021d08821591a
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
See /docs/contributing.md for instructions.
The source-of-truth repo is Android's Gerrit. The GitHub repo is a read-only mirror.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.