[netstack3] Swap NS2/NS3 in images via GN flag

Add a flag to control which of two Fuchsia packages is used as the
system's network component. `fx set --args=use_netstack3=true ...`
builds with Netstack3 in place of Netstack2 as the system netstack. The
default behavior is to use Netstack2.

In addition, add missing services that the system netstack is required
to implement to Netstack3's manifest (even though Netstack3 does not
serve these yet) and a new Netstack3 component with the same name and
manifest URL as the Netstack2 component

Bug: 100736
Change-Id: Ibc8cf0c539865db7f2e35ec852c7eb8345abb51d
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/686314
Reviewed-by: Aaron Wood <aaronwood@google.com>
Fuchsia-Auto-Submit: Alex Konradi <akonradi@google.com>
Reviewed-by: Bruno Dal Bo <brunodalbo@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
3 files changed
tree: 077aa12ca5cf0aa3c694b221ef09ea06ca9972d7
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. analysis_options.yaml
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. pyrightconfig.json
  30. README.md
  31. rustfmt.toml
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.