commit | 8ee3d1b706a2bbceeba2a46fa4f83cf7a458177d | [log] [tgz] |
---|---|---|
author | Mathew Inwood <mathewi@google.com> | Thu Jul 29 15:29:35 2021 +0100 |
committer | Mathew Inwood <mathewi@google.com> | Mon Aug 02 16:46:13 2021 +0100 |
tree | 20a483b8282b60b909cd2b46ebe83f330a57eff5 | |
parent | 6013658cc88da8f091d1714c97368125a819692e [diff] |
Add commit hook to require extra info in allowed_deps.txt additions. For any CL that adds a new dependency to allowed_deps.txt, this will require that extra information is provided in the commit message: Apex-Size-Increase: Previous-Platform-Support: Aosp-First: Test-Info: Any CL that does not modify allowed_deps.txt, or that doesn't add new dependency names to it, will be ignored. Also open up ownership of allowed_deps.txt to allow anyone to make changes there. We will use the information provided in the commit message to verify additions periodically, rather than doing this in code review. Test: for sha in $(git log --format=%H build/allowed_deps.txt); do ./tools/check_allowed_deps.py $sha; done Bug: 195303213 Change-Id: Ief9125d1eb51b29a7d3f05e5485ff41841d1d494
This project includes mainline build and other utility code. Any library code intended for use by modules should go in frameworks/libs/modules-utils
instead.
This project uses a single source path for java code. All java code should go in the java
directory with subdirectories corresponding to the java package. Android.bp
files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.
Tests for java code should go in the javatests
directory and follow the same structure.