diff options
| author | 2022-08-15 12:34:14 +0000 | |
|---|---|---|
| committer | 2022-08-15 12:34:14 +0000 | |
| commit | a2f3b77ad5d0a10a21671dbdd28b0adbbfc59da0 (patch) | |
| tree | b58fb8a13fdf0d404cf9dab8bce836b7e7d02e8a | |
| parent | e0ac9f74a6dd8c1a9f5de58d99bcbf59dc84be4e (diff) | |
| parent | 4877c72b47a3523bf308eebca8bd8476610e6155 (diff) | |
Merge "Add comments to bpf properties"
| -rw-r--r-- | bpf/bpf.go | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/bpf/bpf.go b/bpf/bpf.go index 5d2533fc2..e89cc4ec8 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go @@ -69,12 +69,23 @@ type BpfModule interface { } type BpfProperties struct { - Srcs []string `android:"path"` - Cflags []string + // source paths to the files. + Srcs []string `android:"path"` + + // additional cflags that should be used to build the bpf variant of + // the C/C++ module. + Cflags []string + + // directories (relative to the root of the source tree) that will + // be added to the include paths using -I. Include_dirs []string - Sub_dir string - // If set to true, generate BTF debug info for maps & programs - Btf *bool + + // optional subdirectory under which this module is installed into. + Sub_dir string + + // if set to true, generate BTF debug info for maps & programs. + Btf *bool + Vendor *bool VendorInternal bool `blueprint:"mutated"` |