move XtBpfProgLocations.h into a new header library

Bug: 235778483
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia5e3c72e65cee17ef67907008d8fe6d4e47050de
This commit is contained in:
Maciej Żenczykowski 2022-06-15 01:06:27 -07:00
commit 200d372dc9
2 changed files with 3 additions and 3 deletions

View file

@ -27,11 +27,11 @@ cc_library_headers {
host_supported: false,
header_libs: [
"bpf_headers",
"libnetdbinder_utils_headers", // for XtBpfProgLocations.h
"netd_mainline_headers",
],
export_header_lib_headers: [
"bpf_headers",
"libnetdbinder_utils_headers", // for XtBpfProgLocations.h
"netd_mainline_headers",
],
export_include_dirs: ["."],
cflags: [

View file

@ -116,7 +116,7 @@ static const int UID_OWNER_MAP_SIZE = 2000;
/* -=-=-=-=- WARNING -=-=-=-=-
*
* These 4 xt_bpf program paths are actually defined by:
* //system/netd/include/binder_utils/XtBpfProgLocations.h
* //system/netd/include/mainline/XtBpfProgLocations.h
* which is intentionally a non-automerged location.
*
* They are *UNCHANGEABLE* due to being hard coded in Android T's netd binary