Merge "Add comments to bpf properties"

This commit is contained in:
Treehugger Robot
2022-08-15 12:34:14 +00:00
committed by Gerrit Code Review

View File

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