Make trace_processor a host-only target

The trace_processor_shell target is currently very confusing:
it pretends to be a host + device target, but in reality it uses
libprotobuf-full and libprotoc (for dynamic metrics .proto loading)
which is forbidden on-device.
This CL clearly makes trace_processor a host-only target. It also
cleans up some GN files, removing the testonly attribute (and
related hacks in gen_android_bp) and restricting protobuf-full to
host tools only via visibility rules.
It also makes the dependency on libprotoc explicit. It will be
needed by Bazel builds.

Bug: 140126865
Change-Id: Ic8a7827ae83d0ef6c4a607566c732a8798379762
5 files changed
tree: 634758dbe2b1082c959cd05f103c7cbfd3cf02fd
  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. Android.bp
  17. Android.bp.extras
  18. BUILD
  19. BUILD.extras
  20. BUILD.gn
  21. codereview.settings
  22. heapprofd.rc
  23. MODULE_LICENSE_APACHE2
  24. NOTICE
  25. OWNERS
  26. perfetto.rc
  27. PRESUBMIT.py
  28. README.chromium
  29. README.md
  30. 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.