Commit graph android_packages_modules_Co.../bpf/loader/Android.bp
Message SHA1
Merge "Allow bpfloader to use libbpf" into main
Treehugger Robot   authored and   Gerrit Code Review   commited 2025-03-06 01:41:28 -08:00
fb8903013e
bpf: switch to mainline netbpfload on Android S/SV2
Test: TreeHugger, manually installing tethering apex
  (with and without dnsresolver apex) on pixel 6 running S
  incl. 'atest bpf_existence_test'
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I63d4b84287e9c98dc0d2a517ac58d3f3ce9d7760

Maciej Żenczykowski   commited 2025-03-05 14:27:59 -08:00
0b477491fb
Revert "bpf: change NetBpfLoad rc file from 33 (T/U) to 31 (S/Sv2/T/U)"
This reverts commit 0e9b0e05c6.

Reason for revert: needs a .31rc specific version instead.
Will merge the required changes into the followup commit.

Change-Id: I01e9dfee4aaabc3ddab39da7519b7d9963b84124

Maciej Żenczykowski   commited 2025-03-04 21:54:09 -08:00
03bf18c028
bpf: change NetBpfLoad rc file from 33 (T/U) to 31 (S/Sv2/T/U)
By itself this change is a no-op, as we don't actually *yet* start mdnsd_netbpfload.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic7665b3dd5716bd3bbdc96450a42e9b0c26441c9

Maciej Żenczykowski   commited 2025-03-04 14:21:46 -08:00
0e9b0e05c6
Allow bpfloader to use libbpf
Test: m
Bug: 394492034
Change-Id: Ie99debe8786c4009f9ca4c42029837de1f0918ca

Motomu Utsumi   commited 2025-02-26 09:59:47 +09:00
79dbcf797b
BPF: rename bpf_defaults to bpf_cc_defaults
With the addition of defaults to the bpf soong module (see aosp/3249485
), the name `bpf_defaults` will be used to define defaults for bpf
program compilation. While there are separate soong namespaces for
module types and module names, rename the existing bpf_defaults
cc_defaults to bpf_cc_defaults for clarity.

While we're at it, add -Wextra, and cleanup unnecessary cflags in
clauses which use bpf_cc_defaults. Add -Wno-sign-compare to resolve
build issues in external test code.

Test: TH
Change-Id: Id0407f86ad50033a77a8679d465dc9412991d764
Signed-off-by: Neill Kapron <nkapron@google.com>

Neill Kapron   commited 2024-09-13 18:41:24 +00:00
661ae85eb2
bpf: git mv netbpfload bpf/loader
Step 2 of moving bpf related stuff into a common directory,
will ease development.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I95cab49ae03eb275982f43d2246085b06e66dc6d

Maciej Żenczykowski   commited 2024-08-20 19:51:41 -07:00
a207ac743c
Renamed from netbpfload/Android.bp (Browse further)