diff options
author | 2021-08-02 16:43:05 +0100 | |
---|---|---|
committer | 2021-08-03 14:40:46 +0100 | |
commit | 768a01160a1c4939784c597ebc5a595a4ec334cd (patch) | |
tree | 7c3774c3864da0bc21fb947b7ef9a62f7d1fb52e /apex/apex_singleton.go | |
parent | db45fb250d5f6ad8c645fac9c8502c0aa9a5c552 (diff) |
Update error message for new policy.
A new presubmit hook enforces that required information is present in
any CL that adds new dependencies to allowed_deps.txt.
Test: m
Bug: 195303213
Change-Id: I1fb932a52f64f9cbf0d12ead75ffd3d9c2a5e942
Diffstat (limited to 'apex/apex_singleton.go')
-rw-r--r-- | apex/apex_singleton.go | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apex/apex_singleton.go b/apex/apex_singleton.go index 0ed94afdb..9178431fc 100644 --- a/apex/apex_singleton.go +++ b/apex/apex_singleton.go @@ -59,8 +59,15 @@ var ( echo "******************************"; echo "Detected changes to allowed dependencies in updatable modules."; echo "To fix and update packages/modules/common/build/allowed_deps.txt, please run:"; - echo "$$ (croot && packages/modules/common/build/update-apex-allowed-deps.sh)"; - echo "Members of mainline-modularization@google.com will review the changes."; + echo -e "$$ (croot && packages/modules/common/build/update-apex-allowed-deps.sh)\n"; + echo "When submitting the generated CL, you must include the following information"; + echo "in the commit message if you are adding a new dependency:"; + echo "Apex-Size-Increase:"; + echo "Previous-Platform-Support:"; + echo "Aosp-First:"; + echo "Test-Info:"; + echo "You do not need OWNERS approval to submit the change, but mainline-modularization@"; + echo "will periodically review additions and may require changes."; echo -e "******************************\n"; exit 1; fi; |