Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 39) sorted by relevance

12

/build/soong/cc/
Dpgo.go80 func (props *PgoProperties) isInstrumentation() bool {
81 return props.Pgo.Instrumentation != nil && *props.Pgo.Instrumentation == true
84 func (props *PgoProperties) isSampling() bool {
85 return props.Pgo.Sampling != nil && *props.Pgo.Sampling == true
88 func (pgo *pgo) props() []interface{} { func
92 func (props *PgoProperties) addProfileGatherFlags(ctx ModuleContext, flags Flags) Flags {
93 flags.CFlags = append(flags.CFlags, props.Pgo.Cflags...)
95 if props.isInstrumentation() {
102 if props.isSampling() {
109 func (props *PgoProperties) getPgoProfileFile(ctx BaseModuleContext) android.OptionalPath {
[all …]
Dtoolchain_library.go48 var props []interface{}
49 props = append(props, library.libraryDecorator.linkerProps()...)
50 return append(props, &library.Properties, &library.stripper.StripProperties)
Dtest.go252 props := append(test.testDecorator.linkerProps(), test.binaryDecorator.linkerProps()...)
253 props = append(props, &test.Properties)
254 return props
393 props := benchmark.binaryDecorator.linkerProps()
394 props = append(props, &benchmark.Properties)
395 return props
Dxom.go29 func (xom *xom) props() []interface{} { func
Dsabi.go39 func (sabimod *sabi) props() []interface{} { func
Dcc.go288 props() []interface{} methodSpec
441 c.AddProperties(c.stl.props()...)
444 c.AddProperties(c.sanitize.props()...)
447 c.AddProperties(c.coverage.props()...)
450 c.AddProperties(c.sabi.props()...)
453 c.AddProperties(c.vndkdep.props()...)
456 c.AddProperties(c.lto.props()...)
459 c.AddProperties(c.pgo.props()...)
462 c.AddProperties(c.xom.props()...)
465 c.AddProperties(feature.props()...)
[all …]
Dtidy.go43 func (tidy *tidyFeature) props() []interface{} { func
Dcoverage.go40 func (cov *coverage) props() []interface{} { func
/build/soong/java/
Dsdk_library.go390 props := struct {
416 props.Name = proptools.StringPtr(module.stubsName(apiScope))
418 props.Srcs = []string{":" + module.docsName(apiScope)}
419 props.Sdk_version = proptools.StringPtr(module.sdkVersion(apiScope))
420 props.Libs = module.sdkLibraryProperties.Stub_only_libs
423 props.Product_variables.Unbundled_build.Enabled = proptools.BoolPtr(false)
425 props.Product_variables.Pdk.Enabled = proptools.BoolPtr(false)
426 props.No_standard_libs = module.Library.Module.properties.No_standard_libs
427 props.System_modules = module.Library.Module.deviceProperties.System_modules
428 props.Openjdk9.Srcs = module.Library.Module.properties.Openjdk9.Srcs
[all …]
Dprebuilt_apis.go73 props := struct {
79 props.Name = proptools.StringPtr(mctx.ModuleName() + "_" + scope + "_" + apiver + "_" + module)
80 props.Jars = append(props.Jars, path)
82 props.Sdk_version = proptools.StringPtr("current")
83 props.Installable = proptools.BoolPtr(false)
85 mctx.CreateModule(android.ModuleFactoryAdaptor(ImportFactory), &props)
/build/blueprint/bootstrap/bpdoc/
Dproperties.go145 func getByName(name string, prefix string, props *[]Property) *Property {
146 for i := range *props {
147 if prefix+(*props)[i].Name == name {
148 return &(*props)[i]
149 } else if strings.HasPrefix(name, prefix+(*props)[i].Name+".") {
150 return getByName(name, prefix+(*props)[i].Name+".", &(*props)[i].Properties)
181 func structProperties(structType *ast.StructType) (props []Property, err error) {
227 props = append(props, Property{
237 return props, nil
248 func filterPropsByTag(props *[]Property, key, value string, exclude bool) {
[all …]
Dreader_test.go28 return nil, []interface{}{&props{}}
32 type props struct { struct
73 ps, err := r.PropertyStruct(pkgPath, "props", reflect.ValueOf(props{A: "B"}))
/build/soong/android/
Dneverallow.go193 props []ruleProperty member
222 r.props = append(r.props, ruleProperty{
256 for _, v := range r.props {
279 includeProps := hasAllProperties(properties, r.props)
311 func hasAnyProperty(properties []interface{}, props []ruleProperty) bool {
312 for _, v := range props {
320 func hasAllProperties(properties []interface{}, props []ruleProperty) bool {
321 for _, v := range props {
Dpath_properties_test.go26 props struct { member
38 module.AddProperties(&module.props)
Dpath_properties.go36 props := m.base().generalProperties
38 for _, ps := range props {
Dpaths_test.go712 props struct { member
732 module.AddProperties(&module.props)
739 if p.props.Module_handles_missing_deps {
740 …srcs, p.missingDeps = PathsAndMissingDepsForModuleSrcExcludes(ctx, p.props.Srcs, p.props.Exclude_s…
742 srcs = PathsForModuleSrcExcludes(ctx, p.props.Srcs, p.props.Exclude_srcs)
750 if p.props.Src != nil {
751 src := PathForModuleSrc(ctx, *p.props.Src)
758 if !p.props.Module_handles_missing_deps {
Ddefaults.go41 func (d *DefaultableModuleBase) setProperties(props []interface{}) {
42 d.defaultableProperties = props
Dmutator.go312 func (a *androidTopDownMutatorContext) AppendProperties(props ...interface{}) {
313 for _, p := range props {
326 func (a *androidTopDownMutatorContext) PrependProperties(props ...interface{}) {
327 for _, p := range props {
/build/soong/python/
Ddefaults.go37 func DefaultsFactory(props ...interface{}) android.Module {
40 module.AddProperties(props...)
/build/soong/cmd/soong_build/
Dwritedocs.go64 props := make([]bpdoc.Property, 0)
66 props = append(props, propStruct.Properties...)
68 sort.Slice(props, func(i, j int) bool {
69 if rankI, ok := propertyRank[props[i].Name]; ok {
70 if rankJ, ok := propertyRank[props[j].Name]; ok {
76 if _, ok := propertyRank[props[j].Name]; ok {
79 return props[i].Name < props[j].Name
83 for _, prop := range props {
/build/make/tools/
Dpost_process_props.py80 props = {}
86 props[key] = value
87 return props
/build/blueprint/
Dcontext_test.go361 type props struct {
366 ctx.CreateModule(newBarModule, &props{
371 ctx.CreateModule(newBarModule, &props{
376 ctx.CreateModule(newFooModule, &props{
/build/make/core/
Dproduct-graph.mk58 define emit-product-node-props
/build/make/tools/releasetools/
Dtest_sign_target_files_apks.py55 props = (
103 for prop, expected in props:
108 '\n'.join([prop[1] for prop in props]) + '\n',
109 RewriteProps('\n'.join([prop[0] for prop in props])))
/build/soong/genrule/
Dgenrule.go462 func generatorFactory(taskGenerator taskFunc, props ...interface{}) *Module {
467 module.AddProperties(props...)
592 func DefaultsFactory(props ...interface{}) android.Module {
595 module.AddProperties(props...)

12