summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorSongchun Fan <schfan@google.com>2021-02-26 01:40:00 +0000
committerSongchun Fan <schfan@google.com>2021-02-27 01:08:42 +0000
commite2c109d7e49e18a3ca503b60fbdf0a1959f468f9 (patch)
treee7dbdc94dfc73ae1040036a630155ef59fa27b77 /PREUPLOAD.cfg
parent043304fc1dae243e4367f2f8458f3fc9e24fd0d8 (diff)
downloadbase-e2c109d7e49e18a3ca503b60fbdf0a1959f468f9.tar.gz
[incremental] change build rules to not to use aidl_interface
This will allow the usage of PersistableBundle in the aidl interfaces. The modules do not need to be stable so it is okay to just use the old aidl to build both c++ and Java backend. + use bpfmt to check Android.bp format before upload BUG: 181266844 Test: builds (with aosp/1607482) Change-Id: I3340129ae6d12f33ade38d7a2b0eb23e7c37e996
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 30ed7de92614..175fb38bafc7 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -1,5 +1,6 @@
[Builtin Hooks]
clang_format = true
+bpfmt = true
[Builtin Hooks Options]
# Only turn on clang-format check for the following subfolders.
@@ -15,7 +16,7 @@ clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
services/incremental/
tests/
tools/
-
+bpfmt = -d
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}