/build/blueprint/ |
doc.go | 15 // Blueprint is a meta-build system that reads in Blueprints files that describe 20 // converted to build rules, Blueprint delegates this to per-project build logic 26 // Blueprint uses a bootstrapping process to allow the code for Blueprint, 31 // change to Blueprint itself will cause Blueprint to rebuild, and then rebuild 51 // subdirectories listed by the "subdirs" variable are read by Blueprint, and 53 // all modules are read, Blueprint calls any registered Mutators, in 66 // singletons or mutators, and then calling into Blueprint with the path of the 67 // root Blueprint file 68 package blueprint package [all...] |
unpack.go | 15 package blueprint package 23 "github.com/google/blueprint/parser" 24 "github.com/google/blueprint/proptools" 166 if !proptools.HasTag(field, "blueprint", "mutated") { 198 if !proptools.HasTag(field, "blueprint", "mutated") { 199 panic(fmt.Errorf(`int field %s must be tagged blueprint:"mutated"`, propertyName)) 219 if proptools.HasTag(field, "blueprint", "mutated") { 222 Err: fmt.Errorf("mutated field %s cannot be set in a Blueprint file", propertyName), 234 Err: fmt.Errorf("filtered field %s cannot be set in a Blueprint file", propertyName), 377 tag := field.Get("blueprint") [all...] |
unpack_test.go | 15 package blueprint package 24 "github.com/google/blueprint/parser" 25 "github.com/google/blueprint/proptools" 117 NonString []struct{ S string } `blueprint:"mutated"` 208 } `blueprint:"filter(allowNested:\"true\")"` 237 } `blueprint:"filter(allowNested:\"true\")"` 250 Err: fmt.Errorf("filtered field nested.foo cannot be set in a Blueprint file"),
|
context_test.go | 15 package blueprint package 27 "github.com/google/blueprint/parser" 106 _, _, errs := ctx.parseOne(".", "Blueprint", r, parser.NewScope(nil), nil)
|
ninja_defs.go | 15 package blueprint package 69 // These fields are used internally in Blueprint
|
package_ctx.go | 15 package blueprint package 37 // "blueprint" 51 // func (m *MyModule) GenerateBuildActions(ctx blueprint.Module) { 52 // ctx.Build(pctx, blueprint.BuildParams{ 193 // "blueprint" 205 // func (m *MyModule) GenerateBuildActions(ctx blueprint.Module) { 206 // ctx.Build(pctx, blueprint.BuildParams{ 601 // NewBuiltinPool returns a Pool object that refers to a pool name created outside of Blueprint 867 // NewBuiltinRule returns a Rule object that refers to a rule that was created outside of Blueprint
|
context.go | 15 package blueprint package 36 "github.com/google/blueprint/parser" 37 "github.com/google/blueprint/pathtools" 38 "github.com/google/blueprint/proptools" 351 // func NewMyModule() (blueprint.Module, []interface{}) { 358 // ctx := blueprint.NewContext() 408 // generate build actions before any Blueprint files have been read. Each registered 560 // SetAllowMissingDependencies changes the behavior of Blueprint to ignore 562 // ModuleContext.GetMissingDependencies Blueprint will not emit any errors 750 startParseBlueprintsFile := func(blueprint fileParseContext) [all...] |
module_ctx.go | 15 package blueprint package 22 "github.com/google/blueprint/pathtools" 23 "github.com/google/blueprint/proptools" 62 // func IsLibraryProducer(module blueprint.Module) { 69 // func (m *myBinaryModule) GenerateBuildActions(ctx blueprint.ModuleContext) { 73 // func(module blueprint.Module) { 92 // initial blueprint parsing. To change the name later a mutator must call 96 // the blueprint file. An embeddable SimpleName object can be used for this 620 // after parsing all Blueprint files, but before generating any build rules, 806 // the specified property structs to it as if the properties were set in a blueprint file [all...] |
/build/soong/ |
doc.go | 15 // Soong is a builder for Android that uses Blueprint to parse Blueprints 17 // Soong itself is responsible for converting the modules read by Blueprint 18 // into build rules, which will be written to a build.ninja file by Blueprint.
|
/build/blueprint/proptools/ |
escape.go | 22 // on strings from properties in Blueprint files that are used as Args to ModuleContext.Build. A 35 // on strings from properties in Blueprint files that are used as Args to ModuleContext.Build. A
|
/external/python/oauth2client/oauth2client/contrib/ |
flask_util.py | 172 from flask import Blueprint 358 bp = Blueprint('oauth2', __name__)
|
/build/blueprint/bootstrap/ |
doc.go | 15 // The Blueprint bootstrapping mechanism is intended to enable building a 27 // Blueprint library and the build logic specific to the source tree. It is 42 // "github.com/google/blueprint" 43 // "github.com/google/blueprint/bootstrap" 58 // ctx := blueprint.NewContext() 85 // Blueprint library and the custom build logic for the source tree. It should 103 // variables then includes blueprint's "bootstrap/build.ninja". It also writes 104 // out a ".blueprint.bootstrap" file that contains a few variables for later use: 115 // a build. A wrapper script (blueprint.bash by default) has been installed in
|
bootstrap.go | 26 "github.com/google/blueprint" 27 "github.com/google/blueprint/pathtools" 34 pctx = blueprint.NewPackageContext("github.com/google/blueprint/bootstrap") 59 blueprint.RuleParams{ 70 blueprint.RuleParams{ 80 blueprint.RuleParams{ 88 blueprint.RuleParams{ 96 blueprint.RuleParams{ 104 blueprint.RuleParams [all...] |
/external/perfetto/tools/ |
gen_android_bp | 37 # Default targets to translate to the blueprint file. 54 # blueprint target. 98 # Compiler flags which are passed through to the blueprint. 101 # Compiler defines which are passed through to the blueprint. 198 """A single module (e.g., cc_binary, cc_test) in a blueprint.""" 282 class Blueprint(object): 289 """Adds a new module to the blueprint, replacing any existing module 343 def apply_module_dependency(blueprint, desc, module, dep_name): 352 blueprint: Blueprint instance which is being generated [all...] |
/build/blueprint/bootstrap/bpdoc/ |
reader.go | 30 // Handles parsing and low-level processing of Blueprint module source files. Note that most getter
|
/build/soong/android/ |
testing.go | 24 "github.com/google/blueprint" 34 Context: &Context{blueprint.NewContext()}, 77 ctx.VisitAllModules(func(m blueprint.Module) { 86 ctx.VisitAllModules(func(m blueprint.Module) { 99 ctx.VisitAllModules(func(m blueprint.Module) { 137 panic(fmt.Sprintf("No Blueprint or Android.bp files found in mock filesystem: %v\n", files)) 139 files[blueprint.MockModuleListFile] = []byte(strings.Join(pathsToParse, "\n")) 146 RuleParamsForTests() map[blueprint.Rule]blueprint.RuleParams 151 RuleParams blueprint.RuleParam [all...] |
module.go | 25 "github.com/google/blueprint" 26 "github.com/google/blueprint/pathtools" 27 "github.com/google/blueprint/proptools" 40 Rule blueprint.Rule 41 Deps blueprint.Deps 86 // BaseModuleContext is the same as blueprint.BaseModuleContext except that Config() returns 139 // android.Module instead of a blueprint.Module 140 OtherModuleName(m blueprint.Module) string 141 OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) 142 OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTa [all...] |
/build/soong/cc/ |
ndk_headers.go | 23 "github.com/google/blueprint" 30 blueprint.RuleParams{ 31 // The `&& touch $out` isn't really necessary, but Blueprint won't 39 blueprint.RuleParams{
|