commit | cb0506581c59deffe5cf06ad299f86f51ee628c9 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Thu Aug 29 01:10:34 2019 +0200 |
committer | Primiano Tucci <primiano@google.com> | Thu Aug 29 01:10:34 2019 +0200 |
tree | a21d8396115d6be1ca17dc210fe86cd288373303 | |
parent | 635d14bb29d09f7bea85a213c051061ce52d1a96 [diff] |
Amalgamator: recurse into header deps for protos This is only about generating .h in the amalgamator, not .cc. By default, the amalgamated .h only recurses in #includes but not in the target deps. In the case of protos we want to follow deps even in lieu of direct #includes. This is because, by design, protozero headers don't inlcude each other but rely on forward declarations. The alternative would be adding each proto sub-target individually (e.g. //proto/trace/gpu:zero), but doing that is unmaintainable. Test: manual (rebuilt amalgamated SDK) Bug: 132678367 Change-Id: I1c98ee5ebbb251dfb5cb0bd7dd5af228b985714d
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.