Lines Matching refs:blueprint
22 "github.com/google/blueprint"
23 "github.com/google/blueprint/pathtools"
26 // PackageContext is a wrapper for blueprint.PackageContext that adds
29 blueprint.PackageContext
33 return PackageContext{blueprint.NewPackageContext(pkgPath)}
76 // VariableFunc wraps blueprint.PackageContext.VariableFunc, converting the interface{} config
79 f func(PackageVarContext) string) blueprint.Variable {
91 // PoolFunc wraps blueprint.PackageContext.PoolFunc, converting the interface{} config
94 f func(PackagePoolContext) blueprint.PoolParams) blueprint.Pool {
96 return p.PackageContext.PoolFunc(name, func(config interface{}) (blueprint.PoolParams, error) {
106 // RuleFunc wraps blueprint.PackageContext.RuleFunc, converting the interface{} config
109 f func(PackageRuleContext) blueprint.RuleParams, argNames ...string) blueprint.Rule {
111 return p.PackageContext.RuleFunc(name, func(config interface{}) (blueprint.RuleParams, error) {
125 func (p PackageContext) SourcePathVariable(name, path string) blueprint.Variable {
135 func (p PackageContext) SourcePathsVariable(name, separator string, paths ...string) blueprint.Variable {
151 func (p PackageContext) SourcePathVariableWithEnvOverride(name, path, env string) blueprint.Variable {
162 func (p PackageContext) HostBinToolVariable(name, path string) blueprint.Variable {
176 func (p PackageContext) HostJNIToolVariable(name, path string) blueprint.Variable {
194 func (p PackageContext) HostJavaToolVariable(name, path string) blueprint.Variable {
208 func (p PackageContext) IntermediatesPathVariable(name, path string) blueprint.Variable {
219 name, prefix string, paths []string) blueprint.Variable {
227 // AndroidStaticRule wraps blueprint.StaticRule and provides a default Pool if none is specified
228 func (p PackageContext) AndroidStaticRule(name string, params blueprint.RuleParams,
229 argNames ...string) blueprint.Rule {
230 return p.AndroidRuleFunc(name, func(PackageRuleContext) blueprint.RuleParams {
235 // AndroidGomaStaticRule wraps blueprint.StaticRule but uses goma's parallelism if goma is enabled
236 func (p PackageContext) AndroidGomaStaticRule(name string, params blueprint.RuleParams,
237 argNames ...string) blueprint.Rule {
242 f func(PackageRuleContext) blueprint.RuleParams, argNames ...string) blueprint.Rule {
243 return p.RuleFunc(name, func(ctx PackageRuleContext) blueprint.RuleParams {