Fix host_executable_plugin rule, speculative windows fix

The previous rule wasn't working well with the proto_library template.
This is because proto_library.gni does:
plugin_host_label = invoker.generator_plugin_label + "($host_toolchain)"
plugin_path =
    get_label_info(plugin_host_label, "root_out_dir") + "/" +
    get_label_info(plugin_host_label, "name") + host_executable_suffix

So it assumes that the plugin lives in root_out_dir.

Note: we cannot easily change the template, because the same .gni file
has 3 copies (chromium, v8, perfetto)
Change-Id: Ib7c4d8457c577c95a83ef701a178cc2b352f2161
1 file changed
tree: c8989eec430e8f5f58dffc55b4e7e3b33caf0124
  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.