summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2018-10-16 20:31:52 -0700
committerChenbo Feng <fengc@google.com>2018-10-16 21:17:12 -0700
commit4c9e9ecc577ce7eed47b3d8976eedbd6e38bfc8d (patch)
tree59e85e5e482095297610683be3a5f2695547dd18 /PREUPLOAD.cfg
parent75b410bdf186263fa4e05e079bfba44578622c33 (diff)
downloadbpf-4c9e9ecc577ce7eed47b3d8976eedbd6e38bfc8d.tar.gz
Fix the build problem with bpf project
Add the necessary Android.bp file and fix the compile error for the new bpf project. Fix the run time restart false alarm in bpf loader. Bug: 112334572 Test: device boot and dumpsys netd show eBPF object okay, runtime restart netd and no bpfloader error showed in logcat. Change-Id: Iae193bda45e50b7d22479086d6403e3c4fb185c4
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 0000000..c8dbf77
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,5 @@
+[Builtin Hooks]
+clang_format = true
+
+[Builtin Hooks Options]
+clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp