commit | fe10fb273a991e128d083e973f189621c6018d08 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Thu Oct 20 17:02:26 2022 +0900 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Mon Oct 24 09:35:24 2022 +0000 |
tree | 871926eb8ab9061895b086406b2c48e5047e71fc | |
parent | f31b6a8abbc45b0829c1af4c3d8705cb93f78b11 [diff] |
aidl-format uses known host tools aidl-format now accepts an environment variable CLANG_FORMAT_PATH to locate the path to the clang-format tool. The repo hook sets the environment variable to the path where AOSP-provided clang-path is located (prebuilts/clang/host/.../clang-format). aidl-format also uses awk instead of gawk; the former is more widely available than the latter. Bug: 254457261 Test: rename /usr/bin/clang-format to something else make an ugly change in any AIDL file, create a commit, do the repo upload. The ugly change is detected and fixup is also suggested. Change-Id: I8133f6636ca20a7d5127798b87223f11a5f7df18
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview