commit | 5df9bb232d9d71c8ac1d49e94d1de4880ed63cd9 | [log] [tgz] |
---|---|---|
author | Daniel Bratell <bratell@opera.com> | Fri Apr 05 15:52:02 2019 +0200 |
committer | Daniel Bratell <bratell@opera.com> | Fri Apr 05 15:52:02 2019 +0200 |
tree | e274f802dbb43653a77c0c6edfb06c76d5a54dab | |
parent | 3c836b671503ce665ee4a9e4fe79e8758866acfc [diff] |
Adding some missing dependencies in the build system gn check --check-generated reported two errors that this fixes: ERROR at //out/Default/gen/third_party/perfetto/protos/perfetto/trace/chrome/chrome_trace_packet.pb.h:32:11: Can't include this header from here. ^------------------------------- The target: //third_party/perfetto/protos/perfetto/trace/chrome:minimal_complete_lite is including a file from the target: //third_party/perfetto/protos/perfetto/common:lite_gen It's usually best to depend directly on the destination target. In some cases, the destination target is considered a subcomponent of an intermediate target. In this case, the intermediate target should depend publicly on the destination to forward the ability to include headers. Dependency chain (there may also be others): //third_party/perfetto/protos/perfetto/trace/chrome:minimal_complete_lite --> //third_party/perfetto/protos/perfetto/config:lite --[private]--> //third_party/perfetto/protos/perfetto/common:lite --> //third_party/perfetto/protos/perfetto/common:lite_gen ___________________ ERROR at //out/Default/gen/third_party/perfetto/protos/perfetto/trace/trusted_packet.pb.h:32:11: Can't include this header from here. ^------------------------------- The target: //third_party/perfetto/protos/perfetto/trace:trusted_lite is including a file from the target: //third_party/perfetto/protos/perfetto/common:lite_gen It's usually best to depend directly on the destination target. In some cases, the destination target is considered a subcomponent of an intermediate target. In this case, the intermediate target should depend publicly on the destination to forward the ability to include headers. Dependency chain (there may also be others): //third_party/perfetto/protos/perfetto/trace:trusted_lite --> //third_party/perfetto/protos/perfetto/config:lite --[private]--> //third_party/perfetto/protos/perfetto/common:lite --> //third_party/perfetto/protos/perfetto/common:lite_gen Bug: chromium:939782 Change-Id: Idd75198400570018ead07ca8adbad5121bcc1ba4
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.