/build/blueprint/ |
D | visit_test.go | 24 properties struct { member 35 return m, []interface{}{&m.properties, &m.SimpleName.Properties} 49 ctx.AddDependency(ctx.Module(), visitTagDep, m.properties.Visit...) 59 m.properties.VisitDepsDepthFirst = m.properties.VisitDepsDepthFirst + ctx.OtherModuleName(dep) 64 … m.properties.VisitDepsDepthFirstIf = m.properties.VisitDepsDepthFirstIf + ctx.OtherModuleName(dep) 67 m.properties.VisitDirectDeps = m.properties.VisitDirectDeps + ctx.OtherModuleName(dep) 72 m.properties.VisitDirectDepsIf = m.properties.VisitDirectDepsIf + ctx.OtherModuleName(dep) 153 assertString(t, topModule.properties.VisitDepsDepthFirst, "FEDCB") 154 assertString(t, topModule.properties.VisitDepsDepthFirstIf, "FEDC") 155 assertString(t, topModule.properties.VisitDirectDeps, "B") [all …]
|
D | provider_test.go | 26 properties struct { member 36 return m, []interface{}{&m.properties, &m.SimpleName.Properties} 82 ctx.AddDependency(ctx.Module(), nil, p.properties.Deps...) 177 properties struct { member 196 ctx.AddDependency(ctx.Module(), nil, i.properties.Deps...) 210 if i.properties.Early_mutator_set_of_mutator_provider { 214 if i.properties.Early_mutator_get_of_mutator_provider { 223 if i.properties.Early_mutator_set_of_build_actions_provider { 227 if i.properties.Early_mutator_get_of_build_actions_provider { 231 if i.properties.Early_module_get_of_mutator_provider { [all …]
|
/build/soong/cc/ |
D | ndk_headers.go | 83 properties headerProperties member 122 if String(m.properties.License) == "" { 126 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 128 srcFiles := android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs) 130 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From), 131 String(m.properties.To)) 143 ctx.ModuleErrorf("srcs %q matched zero files", m.properties.Srcs) 159 module.AddProperties(&module.properties) 194 properties versionedHeaderProperties member 201 if String(m.properties.License) == "" { [all …]
|
D | vndk_prebuilt.go | 76 properties vndkPrebuiltProperties member 89 if Bool(p.properties.Binder32bit) { 96 return String(p.properties.Version) 100 return String(p.properties.Target_arch) 104 if Bool(p.properties.Binder32bit) { 120 if len(p.properties.Srcs) == 0 { 125 if len(p.properties.Srcs) > 1 { 130 return android.PathForModuleSrc(ctx, p.properties.Srcs[0]) 141 if len(p.properties.Srcs) > 0 && p.shared() { 143 p.libraryDecorator.reexportFlags(p.properties.Export_flags...) [all …]
|
/build/soong/java/ |
D | sdk_test.go | 35 properties string 59 properties: `sdk_version:"core_platform"`, 67 properties: `sdk_version: "",`, 77 properties: `sdk_version: "29",`, 86 properties: `sdk_version: "30",`, 96 properties: `sdk_version: "current",`, 105 properties: `sdk_version: "system_current",`, 114 properties: `sdk_version: "system_29",`, 123 properties: `sdk_version: "system_30",`, 133 properties: `sdk_version: "test_current",`, [all …]
|
D | droidstubs.go | 48 properties DroidstubsProperties member 168 module.AddProperties(&module.properties, 169 &module.Javadoc.properties) 183 module.AddProperties(&module.properties, 184 &module.Javadoc.properties) 229 if len(d.properties.Merge_annotations_dirs) != 0 { 230 for _, mergeAnnotationsDir := range d.properties.Merge_annotations_dirs { 235 if len(d.properties.Merge_inclusion_annotations_dirs) != 0 { 236 for _, mergeInclusionAnnotationsDir := range d.properties.Merge_inclusion_annotations_dirs { 241 if len(d.properties.Api_levels_annotations_dirs) != 0 { [all …]
|
D | droiddoc.go | 203 properties JavadocProperties member 229 module.AddProperties(&module.properties) 239 module.AddProperties(&module.properties) 248 return android.SdkSpecFrom(ctx, String(j.properties.Sdk_version)) 252 return proptools.String(j.properties.System_modules) 274 ctx.AddVariationDependencies(nil, libTag, j.properties.Libs...) 288 aidlIncludes := android.PathsForModuleSrc(ctx, j.properties.Aidl.Local_include_dirs) 289 aidlIncludes = append(aidlIncludes, android.PathsForSource(ctx, j.properties.Aidl.Include_dirs)...) 401 srcFiles := android.PathsForModuleSrcExcludes(ctx, j.properties.Srcs, j.properties.Exclude_srcs) 426 srcFiles = filterByPackage(srcFiles, j.properties.Filter_packages) [all …]
|
D | rro.go | 37 properties RuntimeResourceOverlayProperties member 99 cert := android.SrcIsModule(String(r.properties.Certificate)) 104 ctx.AddVariationDependencies(nil, staticLibTag, r.properties.Static_libs...) 105 ctx.AddVariationDependencies(nil, libTag, r.properties.Resource_libs...) 130 certificates = processMainCert(r.ModuleBase, String(r.properties.Certificate), certificates, ctx) 133 if lineage := String(r.properties.Lineage); lineage != "" { 140 r.installDir = android.PathForModuleInstall(ctx, "overlay", String(r.properties.Theme)) 145 return android.SdkSpecFrom(ctx, String(r.properties.Sdk_version)) 153 if r.properties.Min_sdk_version != nil { 154 return android.SdkSpecFrom(ctx, *r.properties.Min_sdk_version) [all …]
|
D | app_import.go | 44 properties AndroidAppImportProperties member 117 MergePropertiesFromVariant(ctx, &a.properties, dpiProps, config.ProductAAPTPrebuiltDPI()[i]) 120 MergePropertiesFromVariant(ctx, &a.properties, dpiProps, config.ProductAAPTPreferredConfig()) 125 MergePropertiesFromVariant(ctx, &a.properties, archProps, archType.Name) 127 if String(a.properties.Apk) == "" { 157 cert := android.SrcIsModule(String(a.properties.Certificate)) 162 for _, cert := range a.properties.Additional_certificates { 179 if ctx.InstallInTestcases() && (Bool(a.properties.Presigned) || a.preprocessed) { 240 if String(a.properties.Certificate) != "" { 243 if Bool(a.properties.Presigned) { [all …]
|
/build/soong/android/ |
D | soong_config_modules.go | 42 properties soongConfigModuleTypeImportProperties member 164 module.AddProperties(&module.properties) 166 importModuleTypes(ctx, module.properties.From, module.properties.Module_types...) 176 return soongconfig.CanonicalizeToProperty(m.properties.From) + 187 properties soongconfig.ModuleTypeProperties member 273 module.AddProperties(&module.properties) 277 importModuleTypes(ctx, ctx.BlueprintsFile(), module.properties.Name) 286 return m.properties.Name 293 properties soongconfig.VariableProperties member 299 properties soongconfig.VariableProperties member [all …]
|
D | filegroup.go | 61 BazelLabelForModuleSrcExcludes(ctx, fg.properties.Srcs, fg.properties.Exclude_srcs)) 91 properties fileGroupProperties member 102 module.AddProperties(&module.properties) 135 fg.srcs = PathsForModuleSrcExcludes(ctx, fg.properties.Srcs, fg.properties.Exclude_srcs) 136 if fg.properties.Path != nil { 137 fg.srcs = PathsWithModuleSrcSubDir(ctx, fg.srcs, String(fg.properties.Path)) 146 if makeVar := String(fg.properties.Export_to_make_var); makeVar != "" {
|
D | prebuilt.go | 72 properties PrebuiltProperties member 95 p.properties.Prefer = proptools.BoolPtr(true) 99 return proptools.Bool(p.properties.Prefer) 143 return p.properties.UsePrebuilt 168 module.AddProperties(&p.properties) 288 p.properties.PrebuiltRenamedToSource = true 299 if p := GetEmbeddedPrebuilt(m); p != nil && m.Enabled() && !p.properties.PrebuiltRenamedToSource { 303 p.properties.SourceExists = true 316 if !p.properties.SourceExists { 317 p.properties.UsePrebuilt = p.usePrebuilt(ctx, nil, m) [all …]
|
D | neverallow.go | 227 properties := m.GetProperties() 241 if !n.appliesToProperties(properties) { 360 With(properties, value string) Rule argument 362 WithMatcher(properties string, matcher ValueMatcher) Rule 364 Without(properties, value string) Rule argument 366 WithoutMatcher(properties string, matcher ValueMatcher) Rule 428 func (r *rule) With(properties, value string) Rule { 429 return r.WithMatcher(properties, selectMatcher(value)) 432 func (r *rule) WithMatcher(properties string, matcher ValueMatcher) Rule { 434 fields: fieldNamesForProperties(properties), [all …]
|
D | license.go | 56 properties licenseProperties member 60 ctx.AddVariationDependencies(nil, licenseKindTag, m.properties.License_kinds...) 66 …se().commonProperties.Effective_license_text, PathsForModuleSrc(ctx, m.properties.License_text)...) 69 …mergeStringProps(&m.base().commonProperties.Effective_license_conditions, lk.properties.Conditions… 81 module.AddProperties(&base.nameProperties, &module.properties) 87 setPrimaryVisibilityProperty(module, "visibility", &module.properties.Visibility)
|
D | packaging.go | 76 properties PackagingProperties member 111 p.AddProperties(&base.properties) 125 ret = append(ret, p.properties.Deps...) 127 ret = append(ret, p.properties.Multilib.Lib32.Deps...) 129 ret = append(ret, p.properties.Multilib.Lib64.Deps...) 131 ret = append(ret, p.properties.Multilib.Common.Deps...) 136 ret = append(ret, p.properties.Deps...) 138 ret = append(ret, p.properties.Multilib.First.Deps...) 146 ret = append(ret, p.properties.Arch.Arm64.Deps...) 148 ret = append(ret, p.properties.Arch.Arm.Deps...) [all …]
|
D | sdk.go | 160 properties sdkProperties member 182 s.properties.ContainingSdk = &sdk 187 return s.properties.ContainingSdk != nil 197 if s.properties.ContainingSdk != nil { 198 return *s.properties.ContainingSdk 205 return proptools.String(s.properties.Sdk_member_name) 210 s.properties.RequiredSdks = sdks 215 return s.properties.RequiredSdks 223 m.AddProperties(&base.properties) 575 var properties []string [all …]
|
D | prebuilt_build_tool.go | 39 properties prebuiltBuildToolProperties member 53 if t.properties.Src == nil { 61 deps := PathsForModuleSrc(ctx, t.properties.Deps) 88 if makeVar := String(t.properties.Export_to_make_var); makeVar != "" { 106 module.AddProperties(&module.properties) 107 InitSingleSourcePrebuiltModule(module, &module.properties, "Src")
|
D | package.go | 43 properties packageProperties member 62 module.AddProperties(&module.properties) 73 setPrimaryVisibilityProperty(module, "default_visibility", &module.properties.Default_visibility) 77 …setPrimaryLicensesProperty(module, "default_applicable_licenses", &module.properties.Default_appli…
|
/build/soong/filesystem/ |
D | bootimg.go | 35 properties bootimgProperties member 87 module.AddProperties(&module.properties) 100 ramdisk := proptools.String(b.properties.Ramdisk_module) 107 return proptools.StringDefault(b.properties.Stem, b.BaseModuleName()+".img") 111 return proptools.StringDefault(b.properties.Partition_name, b.BaseModuleName()) 115 vendor := proptools.Bool(b.properties.Vendor_boot) 118 if proptools.Bool(b.properties.Use_avb) { 134 kernel := proptools.String(b.properties.Kernel_prebuilt) 147 dtbName := proptools.String(b.properties.Dtb_prebuilt) 155 cmdline := proptools.String(b.properties.Cmdline) [all …]
|
D | vbmeta.go | 34 properties vbmetaProperties member 89 module.AddProperties(&module.properties) 102 ctx.AddDependency(ctx.Module(), vbmetaPartitionDep, v.properties.Partitions...) 106 return proptools.StringDefault(v.properties.Stem, v.BaseModuleName()+".img") 110 return proptools.StringDefault(v.properties.Partition_name, v.BaseModuleName()) 124 key := android.PathForModuleSrc(ctx, proptools.String(v.properties.Private_key)) 127 algorithm := proptools.StringDefault(v.properties.Algorithm, "SHA256_RSA4096") 131 ril := proptools.IntDefault(v.properties.Rollback_index_location, 0) 154 for i, cp := range v.properties.Chained_partitions { 194 if v.properties.Rollback_index_file != nil { [all …]
|
/build/soong/sdk/ |
D | bp.go | 26 properties map[string]interface{} member 35 s.properties = make(map[string]interface{}) 94 s.AddPropertyWithTag(name, propSet.properties[name], tag) 96 s.AddProperty(name, propSet.properties[name]) 105 if curValue, ok := s.properties[name]; ok { 115 if s.properties[name] != nil { 119 s.properties[name] = value 130 return s.properties[name].(android.BpPropertySet) 134 return s.properties[name] 138 value, ok := s.properties[name] [all …]
|
/build/blueprint/bootstrap/ |
D | bootstrap.go | 195 for _, plugin := range pkg.properties.PluginFor { 241 properties struct { member 279 return module, []interface{}{&module.properties, &module.SimpleName.Properties} 287 return g.properties.Deps 291 return g.properties.PkgPath 307 for _, plugin := range g.properties.PluginFor { 333 if g.properties.PkgPath == "" { 340 filepath.FromSlash(g.properties.PkgPath)+".a") 349 if hasPlugins && !buildGoPluginLoader(ctx, g.properties.PkgPath, pluginSrc) { 355 srcs = append(g.properties.Srcs, g.properties.Darwin.Srcs...) [all …]
|
/build/soong/bp2build/ |
D | bzl_conversion.go | 132 properties []property member 147 for _, nestedP := range p.properties { 157 properties := make([]property, 0) 164 properties = append(properties, extractPropertyDescriptions(field.Name, field.Type)...) 166 return properties 201 properties: props, 216 properties := make([]property, 0, len(propertiesByName)) 218 properties = append(properties, propertiesByName[key]) 221 return properties
|
/build/soong/apex/ |
D | key.go | 41 properties apexKeyProperties member 62 module.AddProperties(&module.properties) 75 if android.SrcIsModule(String(m.properties.Public_key)) != "" { 76 m.publicKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 78 m.publicKeyFile = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Public_key)) 81 m.publicKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 85 if android.SrcIsModule(String(m.properties.Private_key)) != "" { 86 m.privateKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Private_key)) 88 m.privateKeyFile = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Private_key)) 90 m.privateKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Private_key)) [all …]
|
/build/soong/sysprop/ |
D | sysprop_library.go | 49 properties syspropGenProperties member 85 for _, syspropFile := range android.PathsForModuleSrc(ctx, g.properties.Srcs) { 95 "scope": g.properties.Scope, 106 ctx.AddFarVariationDependencies(nil, nil, proptools.String(g.properties.Check_api)) 120 g.AddProperties(&g.properties) 129 properties syspropLibraryProperties member 208 return m.properties.Property_owner 240 for _, syspropFile := range android.PathsForModuleSrc(ctx, m.properties.Srcs) { 262 Inputs(android.PathsForModuleSrc(ctx, m.properties.Srcs)) 368 &m.properties, [all …]
|