Commit Graph

4 Commits

Author SHA1 Message Date
Wyatt Hepler
8f425499e1 pw_build: Require "tests" and "docs" targets in all modules
- Allow empty pw_test_group targets.
- Create empty pw_test_group targets for modules that need them.
- Create stub docs pages for modules that are missing them.
- Require odules to provide "tests" and "docs" targets by assuming
  they're present in the module list generation code.
- Update the generated modules list.

Change-Id: I5a67741afa0a8a5d2e2ba508435027f750a471c4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/103487
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
2022-07-26 22:43:15 +00:00
Wyatt Hepler
70a6210934 Generate the dir_* build args and lists of modules
- Generate dir_* module variables in modules.gni using the modules.py
  script. This consolidates the various lists of modules into a single
  PIGWEED_MODULES list. It also gives projects a way to include all
  Pigweed code without relying on its top-level BUILD.gn file.
- Generate pw_modules, pw_module_tests, and pw_module_docs lists that
  provide the targets for the top-level pw_modules and pw_modules_tests
  groups and for the docs:module_docs target.
- Display a warning in Pigweed's gn gen if any pw_* directories are
  missing from PIGWEED_MODULES.
- Move the logic for excluding tests under certain conditions into the
  modules.

Change-Id: Ied6f72315159af0d0da04505f8a91438e8b959e4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/77940
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2022-02-16 04:29:51 +00:00
Armando Montanez
a398cd1084 pw_sys_io_stm32cube: Cleanup
Cleans up pw_sys_io_stm32cube to provide docs, use Pigweed's established
config pattern, and use PW_CONCAT() rather than the one-off concat macro
helper.

Change-Id: Ie822f3b1efa164e4bb1f4310ea8f8d6ed7658da0
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/73962
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Armando Montanez <amontanez@google.com>
2021-12-14 01:39:17 +00:00
Armando Montanez
70045e231c pw_sys_io_stm32cube: Add module
Moves pw_sys_io_stm32cube from experimental to Pigweed core.

Requires: 73181
Change-Id: I36170562671153488f2b54f954aa0970aac09063
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/72961
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2021-12-09 21:31:31 +00:00