Add bpf_syscall_wrappers for tethering apex and update allowed-deps.txt

Split the BPF system calls header definition into a new header library
(bpf_syscall_wrappers). Both platform and tethering apex require the
BPF system call definition. Move the definition from system/bpf/
libbpf_android/include/bpf/BpfUtils.h to frameworks/libs/net/
common/native/bpf_syscall_wrappers

Test: build, flash and run atest BpfMapTest
Change-Id: Ief5ffbb96c216796e4f0f4cacbde7c08f4af274a
This commit is contained in:
Hungming Chen 2021-01-13 14:29:09 +08:00 committed by Maciej Żenczykowski
parent 62555ffa5a
commit e261c0107a

View file

@ -129,6 +129,7 @@ bcm_object(minSdkVersion:29)
bionic_libc_platform_headers(minSdkVersion:29) bionic_libc_platform_headers(minSdkVersion:29)
boringssl_self_test(minSdkVersion:29) boringssl_self_test(minSdkVersion:29)
bouncycastle_ike_digests(minSdkVersion:current) bouncycastle_ike_digests(minSdkVersion:current)
bpf_syscall_wrappers(minSdkVersion:30)
brotli-java(minSdkVersion:current) brotli-java(minSdkVersion:current)
captiveportal-lib(minSdkVersion:29) captiveportal-lib(minSdkVersion:29)
car-ui-lib(minSdkVersion:28) car-ui-lib(minSdkVersion:28)