Port git-cl-upload hooks over to the 'repo upload' workflow

Port hooks we run for most repos (i.e., check long lines).

JSON file checks for autotest-tools are not yet implemented.

BUG=14696
TEST=tested each hook manually

Change-Id: I050b16003fa26349547d127dc78f92629a642978
1 file changed
tree: cbbdddecfcb7e5781e415a5be8ed624e501ab211
  1. checkpatch.pl
  2. pre-upload.py