pw_presubmit: Add "crypto" program
With pwrev/105663 these steps are significantly faster and it makes
sense to combine them into a single builder.
Bug: 241390466
Change-Id: I6524545b5acf119b5c4514360758c96832238019
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/105780
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Ali Zhang <alizhang@google.com>
diff --git a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
index c38e05d..fc2bdbb 100755
--- a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
+++ b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
@@ -721,9 +721,6 @@
gn_boringssl_build,
build.gn_gen_check,
gn_nanopb_build,
- gn_crypto_mbedtls_build,
- gn_crypto_boringssl_build,
- gn_crypto_micro_ecc_build,
gn_software_update_build,
gn_full_build_check,
gn_full_qemu_check,
@@ -737,6 +734,12 @@
npm_presubmit.npm_test,
)
+CRYPTO = (
+ gn_crypto_mbedtls_build,
+ gn_crypto_boringssl_build,
+ gn_crypto_micro_ecc_build,
+)
+
# Avoid running all checks on specific paths.
PATH_EXCLUSIONS = (re.compile(r'\bthird_party/fuchsia/repo/'), )
@@ -798,6 +801,7 @@
lintformat=LINTFORMAT,
other_checks=OTHER_CHECKS,
quick=QUICK,
+ crypto=CRYPTO,
)