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
2 files changed
tree: e274f802dbb43653a77c0c6edfb06c76d5a54dab
  1. build_overrides/
  2. buildtools/
  3. debian/
  4. docs/
  5. gn/
  6. include/
  7. infra/
  8. protos/
  9. src/
  10. test/
  11. tools/
  12. ui/
  13. .clang-format
  14. .gitignore
  15. .gn
  16. .travis.yml
  17. Android.bp
  18. Android.bp.extras
  19. BUILD
  20. BUILD.extras
  21. BUILD.gn
  22. codereview.settings
  23. heapprofd.rc
  24. MODULE_LICENSE_APACHE2
  25. NOTICE
  26. OWNERS
  27. perfetto.rc
  28. PRESUBMIT.py
  29. README.chromium
  30. README.md
  31. TEST_MAPPING
README.md

Perfetto - Performance instrumentation and tracing

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.

Bugs

  • For bugs affecting Android or the tracing internals use the internal bug tracker (go/perfetto-bugs).
  • For bugs affecting Chrome use http://crbug.com, Component:Speed>Tracing label:Perfetto.