[roll] Roll third_party/pigweed pw_unit_test: Allow `enable_if` for tests with generated sources

A handful of tests depend on `pw_python_action`s to generate source
files used as part of the test. Currently, adding an `enable_if`
statement that evaluates to false to such a target will cause `gn gen`
to fail, as `pw_internal_disableable_target` will check its `sources`
but drop its `deps`.

This CL introduces a new parameter to `pw_test`: `source_gen_deps`. The
results of `get_target_outputs` on these deps are added to the test's
`sources`, and the the deps themselves are always added as `deps`, even
when the test is disabled.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/140115
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: c52f0615b817f2074e3a20845e9e6ef72f4afcf0
GitOrigin-RevId: c8738437a382322fc3c060652d545a99b11a9db0
Change-Id: I0e95773a276c51987f023fd2426ac8face271494
1 file changed
tree: 1d5896bd9a2cb30ae55d8baacdf7379c3a63062f
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. 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 via the IRC channel #fuchsia on Freenode.

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.