diff options
| author | Jiyong Park <jiyong@google.com> | 2021-01-20 17:54:24 +0900 |
|---|---|---|
| committer | Jiyong Park <jiyong@google.com> | 2021-01-27 08:04:31 +0000 |
| commit | b436e7f587f00dedd1fd7235699b0df648628332 (patch) | |
| tree | ffce30747f7359305ab6ecf585b94204dda3da04 /GLOBAL-PREUPLOAD.cfg?id=b436e7f587f00dedd1fd7235699b0df648628332 | |
| parent | a347d57a2f69026442dfcb0a0a2f7dccda740232 (diff) | |
Add toolpath of aidl-format to GLOBAL_PRESUBMIT.cfg
... so that we can use `aidl_format = true` in project-specific
PREUPLOAD.cfg files.
Bug: 144540481
Test: Add `aidl_format = true` to /system/tools/aidl/REUPLOAD.cfg,
make a poorly formatted change in one of the AIDL file in the repo.
Creating a commit and executing `repo upload` caught it and did an
automatic fixup.
[FAILED] aidl_format
FILES: ('tests/android/aidl/tests/ITestService.aidl',) 17,18d16
...
[RUNNING 5/5] aidl_format
An automatic fix can be attempted for the "aidl_format" hook. Do you
want to run it? (Yes/no)? yes
Fix successfully applied. Amend the current commit before attempting to
upload again.
[FAILED] repohooks for platform/system/tools/aidl failed in 10.274s
FATAL: Preupload failed due to above error(s).
Change-Id: Ib1681f18f879d6a5611e0b013f699ef7ccc5a1f2
Diffstat (limited to 'GLOBAL-PREUPLOAD.cfg?id=b436e7f587f00dedd1fd7235699b0df648628332')
0 files changed, 0 insertions, 0 deletions
