Hook up lint color check to settings
After this cl, settings will run hardcoded color check (go/color-check-guideline) for all the cls in pre-upload. This check will prompt error message if cl contains hardcoded color. Bug: 32750778 Test: repo upload . Change-Id: Id35ded5199094a14fcc4eeebc470164d052e278e
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
[Hook Scripts]
|
||||
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|
||||
-fw src/com/android/settings/print/
|
||||
checkcolor_hook = ${REPO_ROOT}/prebuilts/checkcolor/checkcolor.py -p .
|
||||
|
||||
|
||||
2484
color-check-baseline.xml
Normal file
2484
color-check-baseline.xml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user