Commit graph android_system_bpf/Android.bp
Message SHA1
[LSC] Add LOCAL_LICENSE_KINDS to system/bpf
Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  bpfloader/Android.bp
  libbpf_android/Android.bp
  progs/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ia881b61da1755797085916aab5325375c82ed76e

Bob Badour   commited 2021-02-05 01:28:19 -08:00
dcbf8ca070
C++17 is the default now.
Test: builds
Change-Id: Ieb3cf0a0c035e1b2fcea4a5e80bb0c1df473349f

Elliott Hughes   commited 2018-12-03 09:36:31 -08:00
fc3c7690fe
Code style clean up
Apply the git clang format on the bpf project to make sure the existing
code compliance with the standard.

Test: project compiles and bpfMapTest pass.
Bug: 112334572
Change-Id: I4774aa2a197be2c671f6fb307c1fc9b71edfeeec

Chenbo Feng   commited 2018-11-28 11:31:36 -08:00
1f20ad3d78
Skip the bpf native tests on old devices
For older devices that doesn't have bpf support, skip the bpf native
tests so we don't get false alarms. Fixed some compiler warning and
added the clang-format check.

Test: ./libnetdbpf_test/libnetdbpf_test
Bug: 119526856
Change-Id: Icb73a8ee9b9dff9a0da28b96578e1245f1f3724f

Chenbo Feng   commited 2018-11-21 12:11:55 -08:00
249e2f869e
Disable noisy clang-tidy warning for int and long types
These are hard to avoid when working with POSIX APIs:

  warning: consider replacing 'unsigned int' with 'uint32' [google-runtime-int]

Change-Id: I30047ff05ff680a9337671368e6b82ba88244f79

Bernie Innocenti   commited 2018-10-25 22:12:07 +09:00
b2515ff7ce
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

Chenbo Feng   commited 2018-10-16 21:17:12 -07:00
4c9e9ecc57