commit | 2cf8b53576ce8bda4a9c93a87061c1c8c44068ce | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Thu Aug 29 01:14:01 2019 +0200 |
committer | Primiano Tucci <primiano@google.com> | Thu Aug 29 01:14:01 2019 +0200 |
tree | 5fea31f588b417edcc0a5c98e93ffa7762d9c0df | |
parent | 635d14bb29d09f7bea85a213c051061ce52d1a96 [diff] |
Simplify proto rules in GN Stop having duplicate rules for proto_library() vs protozero_library(). Turns out most of the codebase has both and we keep copy/pasting the same boilerplate over and over. Introduce a GN template, perfetto_proto_library(), to rule them all. It takes care of generating both targets (zero,lite) at once and avoids having to remember the usual generate_python = false and proto root paths. This is a refactoring with no intended side effects. Bug: 132678367 Test: builds Change-Id: I88163f92a1bf044c3ee1f11d71330e4ba6155c1f
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.