diff options
author | Motomu Utsumi <motomuman@google.com> | 2023-08-22 12:03:16 +0900 |
---|---|---|
committer | Motomu Utsumi <motomuman@google.com> | 2023-08-24 21:11:37 +0900 |
commit | dc5b8d65384341409a960f452cee234d65ce1232 (patch) | |
tree | 35764204c541e4352e8be6294cf1bb1f6a51a0c4 | |
parent | 3777fdf7ce5043b4253c004dbe7a932ff8415914 (diff) | |
download | soong-dc5b8d65384341409a960f452cee234d65ce1232.tar.gz |
Add package/modules/Connectivity bpf_headers path
Following CLs will move frameworks/libs/net to packages/modules/Connectivity.
This CL is a preparation for that.
Bug: 296014682
Test: m
(cherry picked from https://android-review.googlesource.com/q/commit:44591557f4bf64c36b831152cb75fc68b8cdad59)
Merged-In: Ie6483d1e5dfbf6c4745c10d3bb031344368c8c8f
Change-Id: Ie6483d1e5dfbf6c4745c10d3bb031344368c8c8f
-rw-r--r-- | bpf/bpf.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bpf/bpf.go b/bpf/bpf.go index 45009c1e7..d135d5f56 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go @@ -153,7 +153,9 @@ func (bpf *bpf) GenerateAndroidBuildActions(ctx android.ModuleContext) { // The architecture doesn't matter here, but asm/types.h is included by linux/types.h. "-isystem bionic/libc/kernel/uapi/asm-arm64", "-isystem bionic/libc/kernel/android/uapi", + // TODO(b/296014682): Remove after the bpf_headers is moved to Connectivity "-I frameworks/libs/net/common/native/bpf_headers/include/bpf", + "-I packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf", // TODO(b/149785767): only give access to specific file with AID_* constants "-I system/core/libcutils/include", "-I " + ctx.ModuleDir(), |