commit | 355b8c8389a61f7946bbf58554fe197e063f4bc5 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Thu Aug 29 08:37:51 2019 +0200 |
committer | Primiano Tucci <primiano@google.com> | Thu Aug 29 08:37:51 2019 +0200 |
tree | ae7712f08fe68c32eda3d213b8f12dbaa8a9a900 | |
parent | 03e4f459a98e88354e85a47425d66b74c747de83 [diff] |
Use '/protos/' as import prefix of perfetto protos Historically we referred to our protos assuming ./protos as the source path. So all protos did import "perfetto/trace/xxx.proto" and C++ code did #include "perfetto/trace/xxx.pb(zero).h". This CL makes everything relative to the repo root, so now things look like import "protos/perfetto/trace/xxx.proto", likewise for #includes. A lot of tooling out there (mainly bazel) seems to assume that protos are referred to relatively from the project root. Dealing with the current situation seems prohibitively complex. Bug: 140126865 Change-Id: I391aafaf276b68d3576ee16157dba0155dcb0879
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.