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
3 files changed
tree: 20a483b8282b60b909cd2b46ebe83f330a57eff5
  1. build/
  2. java/
  3. proto/
  4. sdk/
  5. tools/
  6. Android.bp
  7. MODULES_OWNERS
  8. OWNERS
  9. PREBUILTS_MODULE_OWNERS
  10. PREUPLOAD.cfg
  11. README.md
README.md

packages/modules/common

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.

java code

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.