summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-05-01 21:44:22 -0700
committerDavid Su <dysu@google.com>2020-05-04 22:17:18 -0700
commit3063e05888b9320f6d8306c9a52071b207191711 (patch)
treefa228672d6d1e5547b67e10b2c0f427ca60f367b /PREUPLOAD.cfg
parentbe1d76775b438a5316611a77dbf0989e73037cf9 (diff)
Added preupload hook as reminder to update PDD
Added a presubmit hook as a reminder to update the Wifi metrics PDD when metrics.proto is changed. Bug: 140895523 Test: create test CL that changes metrics.proto Change-Id: Ieb7e8c5256d6726e78947b118dcf95ea2f5a5347
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 2673295d9..32b4e3bb6 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -1,5 +1,6 @@
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
+metrics_pdd_hook = ${REPO_ROOT}/frameworks/opt/net/wifi/metrics_pdd_hook.py "service/proto/src/metrics.proto" ${PREUPLOAD_COMMIT_MESSAGE} ${PREUPLOAD_FILES}
[Builtin Hooks]
commit_msg_bug_field = true