Add comments to bpf properties

Bug: 240141438
Test: m soong_docs
Change-Id: I86388391da9b6f30f0f3745490641e918d68c046
This commit is contained in:
Zi Wang
2022-08-11 18:05:13 +00:00
parent 8c9a3f2596
commit 4877c72b47

View File

@@ -69,12 +69,23 @@ type BpfModule interface {
} }
type BpfProperties struct { type BpfProperties struct {
Srcs []string `android:"path"` // source paths to the files.
Cflags []string 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 Include_dirs []string
Sub_dir string
// If set to true, generate BTF debug info for maps & programs // optional subdirectory under which this module is installed into.
Btf *bool Sub_dir string
// if set to true, generate BTF debug info for maps & programs.
Btf *bool
Vendor *bool Vendor *bool
VendorInternal bool `blueprint:"mutated"` VendorInternal bool `blueprint:"mutated"`