[cm] Fix validation for numbered handle

We currently gate checks for numbered_handles in CML on API level HEAD,
which is in-tree only. This introduces strange compatibility issues in
CTF tests that are built at stable API levels, causing those tests to
fail because validation is looking for a field (target_path) that is
omitted when numbered_handles are set.

This change ensures that all locations validating UseProtocol use the
appropriate API level.

Change-Id: Ia9a656e624e74e5efc4052f57d01b83646725ab8
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1612008
Reviewed-by: Gary Bressler <geb@google.com>
Fuchsia-Auto-Submit: Christopher Johnson <crjohns@google.com>
Commit-Queue: Christopher Johnson <crjohns@google.com>
(cherry picked from commit b22a6a7994b3e8b73e06f579a5fc6167eb71fc59)
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1617548
Reviewed-by: Sean Lin <shengchanglin@google.com>
1 file changed
tree: ab7478891df2f1a7bdc4642f9d6086868075763c
  1. .agents/
  2. .gemini/
  3. .helix/
  4. .mise/
  5. boards/
  6. build/
  7. bundles/
  8. docs/
  9. examples/
  10. manifests/
  11. products/
  12. scripts/
  13. sdk/
  14. src/
  15. third_party/
  16. tools/
  17. zircon/
  18. .clang-format
  19. .clang-tidy
  20. .cursorignore
  21. .editorconfig
  22. .fx-root
  23. .geminiignore
  24. .git-blame-ignore-revs
  25. .gitattributes
  26. .gitignore
  27. .gitmodules
  28. .gn
  29. .ignore
  30. analysis_options.yaml
  31. AUTHORS
  32. BUILD.gn
  33. CIDER_AGENT.md
  34. CODE_OF_CONDUCT.md
  35. CONTRIBUTING.md
  36. fuchsia.code-workspace
  37. GEMINI.md
  38. LICENSE
  39. OWNERS
  40. PATENTS
  41. pyproject.toml
  42. pyrightconfig.json
  43. README.md
  44. rustfmt.toml
  45. shac.star
  46. shac.textproto
  47. TESTING.json5
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.