CompilationContext
Immutable store of information needed for C++ compilation that is aggregated across dependencies.
defines
depset CompilationContext.defines
Returns the set of defines needed to compile this target. Each define is a string.
framework_includes
depset CompilationContext.framework_includes
Returns the set of search paths (as strings) for framework header files. Usually passed with -F.
depset CompilationContext.headers
Returns the set of headers needed to compile this target.
includes
depset CompilationContext.includes
Returns the set of search paths (as strings) for header files referenced both by angle bracket and quotes. Usually passed with -I.
quote_includes
depset CompilationContext.quote_includes
Returns the set of search paths (as strings) for header files referenced by quotes, e.g. #include "foo/bar/header.h". They can be either relative to the exec root or absolute. Usually passed with -iquote.
system_includes
depset CompilationContext.system_includes
Returns the set of search paths (as strings) for header files referenced by angle brackets, e.g. #include
. They can be either relative to the exec root or absolute. Usually passed with -isystem.