[roll] Roll fuchsia [netstack3] Validate netstack_thread_count usage

The netstack_thread_count setting is only meaningful for Netstack3, but
it's currently possible to specify it for Netstack2. Since that doesn't
have any effect, it's almost certainly unintentional and we want to
prevent it from happening.

This CL just returns an error in this case (or, more specifically, when
Netstack2 is selected and not overridden by a Netstack3-only board). I
tried an alternative approach where the netstack_thread_count option was
placed under NetstackVersion, but this led to two primary issues:

1. It made it unintuitive to change the netstack version. In GN,
   Netstack2 could be specified with:

       netstack_version = "netstack2"

   but Netstack3 would require:

       netstack_version = netstack3 = {}

   or the equivalent JSON.

2. Because the above is a breaking change, it would require updating
   every place that netstack3 is currently specified (many of which are
   out-of-tree).

Given that the number of times netstack_thread_count is specified should
be approximately 0 (though currently 2), and Netstack2 will be going
away, it seemed like the pain of the more structured solution wasn't
worth it.

Original-Fixed: 360393264
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1128753
Original-Revision: c7f216f551a9af3eeeb949ad6f4c095fb01c5138
GitOrigin-RevId: 8e297ca7203c765d8d328361ab1fd64716e53e71
Change-Id: I29cdc102f5102b6477564d257657429b82993695
1 file changed
tree: ff075a806595f56001644b3d050a8f50927d6593
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.