/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 …]
|
/build/soong/cc/ |
D | ndk_headers.go | 88 properties headerProperties member 127 if String(m.properties.License) == "" { 131 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 133 srcFiles := android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs) 135 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From), 136 String(m.properties.To)) 148 ctx.ModuleErrorf("srcs %q matched zero files", m.properties.Srcs) 164 module.AddProperties(&module.properties) 204 properties versionedHeaderProperties member 211 if String(m.properties.License) == "" { [all …]
|
D | vndk_prebuilt.go | 75 properties vndkPrebuiltProperties member 88 if Bool(p.properties.Binder32bit) { 95 return String(p.properties.Version) 99 return String(p.properties.Target_arch) 103 if Bool(p.properties.Binder32bit) { 115 if len(p.properties.Srcs) == 0 { 120 if len(p.properties.Srcs) > 1 { 125 return android.PathForModuleSrc(ctx, p.properties.Srcs[0]) 136 if len(p.properties.Srcs) > 0 && p.shared() { 138 p.libraryDecorator.reexportFlags(p.properties.Export_flags...) [all …]
|
D | prebuilt.go | 57 properties prebuiltLinkerProperties member 65 return p.properties.Srcs 140 if ctx.Windows() && p.properties.Windows_import_lib != nil { 144 importLibSrc := android.PathForModuleSrc(ctx, String(p.properties.Windows_import_lib)) 179 srcs := p.properties.Srcs 199 p.properties.Srcs = nil 216 module.AddProperties(&prebuilt.properties) 288 properties prebuiltObjectProperties member 299 if len(p.properties.Srcs) > 0 { 317 module.AddProperties(&prebuilt.properties) [all …]
|
D | ndk_library.go | 94 properties libraryProperties member 156 if String(stub.properties.Unversioned_until) == "" { 160 if String(stub.properties.Unversioned_until) == "current" { 161 if stub.properties.ApiLevel == "current" { 168 if stub.properties.ApiLevel == "current" { 172 unversionedUntil, err := android.ApiStrToNum(ctx, String(stub.properties.Unversioned_until)) 177 version, err := android.ApiStrToNum(ctx, stub.properties.ApiLevel) 188 firstSupportedVersion, err := normalizeNdkApiLevel(mctx, String(c.properties.First_version), 210 module.(*Module).compiler.(*stubDecorator).properties.ApiLevel = versionStrs[i] 313 if !strings.HasSuffix(String(c.properties.Symbol_file), ".map.txt") { [all …]
|
/build/soong/apex/ |
D | prebuilt.go | 50 properties prebuiltCommonProperties member 62 return p.properties.ForceDisable 83 p.properties.ForceDisable = true 93 properties PrebuiltProperties member 139 return p.properties.Installable == nil || proptools.Bool(p.properties.Installable) 152 return proptools.StringDefault(p.properties.Filename, p.BaseModuleName()+imageApexSuffix) 162 module.AddProperties(&module.properties) 163 android.InitSingleSourcePrebuiltModule(module, &module.properties, "Source") 179 src = String(p.properties.Arch.Arm.Src) 181 src = String(p.properties.Arch.Arm64.Src) [all …]
|
D | key.go | 37 properties apexKeyProperties member 58 module.AddProperties(&module.properties) 71 if android.SrcIsModule(String(m.properties.Public_key)) != "" { 72 m.public_key_file = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 74 m.public_key_file = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Public_key)) 77 m.public_key_file = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 81 if android.SrcIsModule(String(m.properties.Private_key)) != "" { 82 m.private_key_file = android.PathForModuleSrc(ctx, String(m.properties.Private_key)) 84 m.private_key_file = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Private_key)) 86 m.private_key_file = android.PathForModuleSrc(ctx, String(m.properties.Private_key)) [all …]
|
D | apex.go | 696 excludeVndkLibs := useVndk && proptools.Bool(a.properties.Use_vndk_as_stable) 697 if !useVndk && proptools.Bool(a.properties.Use_vndk_as_stable) { 836 switch proptools.StringDefault(ab.properties.Payload_type, "image") { 844 …mctx.PropertyErrorf("type", "%q is not one of \"image\", \"zip\", or \"both\".", *ab.properties.Pa… 853 modules[i].(*apexBundle).properties.ApexType = imageApex 855 modules[i].(*apexBundle).properties.ApexType = zipApex 857 modules[i].(*apexBundle).properties.ApexType = flattenedApex 870 mctx.AddFarVariationDependencies(nil, usesTag, ab.properties.Uses...) 1243 properties apexBundleProperties member 1335 …proptools.AppendProperties(&a.properties.Multilib, &a.targetProperties.Target.Android.Multilib, ni… [all …]
|
/build/soong/java/ |
D | sdk_test.go | 36 properties string 60 properties: `sdk_version:"core_platform"`, 68 properties: `sdk_version: "",`, 78 properties: `sdk_version: "29",`, 87 properties: `sdk_version: "30",`, 97 properties: `sdk_version: "current",`, 106 properties: `sdk_version: "system_current",`, 115 properties: `sdk_version: "system_29",`, 124 properties: `sdk_version: "system_30",`, 134 properties: `sdk_version: "test_current",`, [all …]
|
D | droiddoc.go | 384 properties JavadocProperties member 413 module.AddProperties(&module.properties) 423 module.AddProperties(&module.properties) 432 return sdkSpecFrom(String(j.properties.Sdk_version)) 436 return proptools.String(j.properties.System_modules) 458 ctx.AddVariationDependencies(nil, libTag, j.properties.Libs...) 472 aidlIncludes := android.PathsForModuleSrc(ctx, j.properties.Aidl.Local_include_dirs) 473 aidlIncludes = append(aidlIncludes, android.PathsForSource(ctx, j.properties.Aidl.Include_dirs)...) 584 srcFiles := android.PathsForModuleSrcExcludes(ctx, j.properties.Srcs, j.properties.Exclude_srcs) 609 srcFiles = filterByPackage(srcFiles, j.properties.Filter_packages) [all …]
|
D | java.go | 408 properties CompilerProperties member 501 &j.properties, 511 &j.linter.properties, 660 return j.properties.Instrument && 774 ctx.AddVariationDependencies(nil, libTag, rewriteSyspropLibs(j.properties.Libs, "libs")...) 775 …ctx.AddVariationDependencies(nil, staticLibTag, rewriteSyspropLibs(j.properties.Static_libs, "stat… 777 …tionDependencies(ctx.Config().BuildOSCommonTarget.Variations(), pluginTag, j.properties.Plugins...) 778 …es(ctx.Config().BuildOSCommonTarget.Variations(), exportedPluginTag, j.properties.Exported_plugins… 790 if len(j.properties.Plugins) > 0 { 800 j.properties.Instrument = true [all …]
|
/build/soong/android/ |
D | soong_config_modules.go | 42 properties soongConfigModuleTypeImportProperties member 120 module.AddProperties(&module.properties) 122 importModuleTypes(ctx, module.properties.From, module.properties.Module_types...) 132 return soongconfig.CanonicalizeToProperty(m.properties.From) + 143 properties soongconfig.ModuleTypeProperties member 210 module.AddProperties(&module.properties) 214 importModuleTypes(ctx, ctx.BlueprintsFile(), module.properties.Name) 223 return m.properties.Name 230 properties soongconfig.VariableProperties member 236 properties soongconfig.VariableProperties member [all …]
|
D | filegroup.go | 46 properties fileGroupProperties member 57 module.AddProperties(&module.properties) 63 fg.srcs = PathsForModuleSrcExcludes(ctx, fg.properties.Srcs, fg.properties.Exclude_srcs) 65 if fg.properties.Path != nil { 66 fg.srcs = PathsWithModuleSrcSubDir(ctx, fg.srcs, String(fg.properties.Path)) 85 if makeVar := String(fg.properties.Export_to_make_var); makeVar != "" {
|
D | prebuilt.go | 71 properties PrebuiltProperties member 82 p.properties.Prefer = proptools.BoolPtr(true) 86 return proptools.Bool(p.properties.Prefer) 119 return p.properties.UsePrebuilt 141 module.AddProperties(&p.properties) 220 m.Prebuilt().properties.PrebuiltRenamedToSource = true 230 if !p.properties.PrebuiltRenamedToSource { 234 p.properties.SourceExists = true 248 if !p.properties.SourceExists { 249 p.properties.UsePrebuilt = p.usePrebuilt(ctx, nil) [all …]
|
D | neverallow.go | 251 properties := m.GetProperties() 265 if !n.appliesToProperties(properties) { 366 With(properties, value string) Rule argument 368 WithMatcher(properties string, matcher ValueMatcher) Rule 370 Without(properties, value string) Rule argument 372 WithoutMatcher(properties string, matcher ValueMatcher) Rule 432 func (r *rule) With(properties, value string) Rule { 433 return r.WithMatcher(properties, selectMatcher(value)) 436 func (r *rule) WithMatcher(properties string, matcher ValueMatcher) Rule { 438 fields: fieldNamesForProperties(properties), [all …]
|
D | sdk.go | 125 properties sdkProperties member 135 s.properties.ContainingSdk = &sdk 140 return s.properties.ContainingSdk != nil 145 if s.properties.ContainingSdk != nil { 146 return *s.properties.ContainingSdk 153 return proptools.String(s.properties.Sdk_member_name) 158 s.properties.RequiredSdks = sdks 163 return s.properties.RequiredSdks 171 m.AddProperties(&base.properties) 434 var properties []string [all …]
|
D | vts_config.go | 36 properties vtsConfigProperties member 52 if me.properties.Test_config != nil { 54 *me.properties.Test_config) 57 strings.Join(me.properties.Test_suites, " ")) 64 me.AddProperties(&me.properties)
|
D | csuite_config.go | 33 properties csuiteConfigProperties member 49 if me.properties.Test_config != nil { 51 *me.properties.Test_config) 60 me.AddProperties(&me.properties)
|
/build/soong/python/ |
D | python.go | 115 properties BaseProperties member 194 p.AddProperties(&p.properties, &p.protoProperties) 233 if !(base.properties.Version.Py3.Enabled != nil && 234 *(base.properties.Version.Py3.Enabled) == false) { 237 if base.properties.Version.Py2.Enabled != nil && 238 *(base.properties.Version.Py2.Enabled) == true { 247 modules[i].(*Module).properties.Actual_version = v 276 return Bool(p.properties.Version.Py2.Embedded_launcher) 278 return Bool(p.properties.Version.Py3.Embedded_launcher) 295 if hasSrcExt(p.properties.Srcs, protoExt) { [all …]
|
/build/blueprint/bootstrap/ |
D | bootstrap.go | 183 for _, plugin := range pkg.properties.PluginFor { 228 properties struct { member 266 return module, []interface{}{&module.properties, &module.SimpleName.Properties} 271 return g.properties.Deps 275 return g.properties.PkgPath 291 for _, plugin := range g.properties.PluginFor { 307 if g.properties.PkgPath == "" { 314 filepath.FromSlash(g.properties.PkgPath)+".a") 323 if hasPlugins && !buildGoPluginLoader(ctx, g.properties.PkgPath, pluginSrc) { 329 srcs = append(g.properties.Srcs, g.properties.Darwin.Srcs...) [all …]
|
/build/soong/etc/ |
D | prebuilt_etc.go | 80 properties prebuiltEtcProperties member 125 return proptools.Bool(p.properties.Ramdisk_available) || p.ModuleBase.InstallInRamdisk() 129 return proptools.Bool(p.properties.Recovery_available) || p.ModuleBase.InstallInRecovery() 140 if p.properties.Src == nil { 146 return android.PathForModuleSrc(ctx, android.String(p.properties.Src)) 164 if subDir := proptools.String(p.properties.Sub_dir); subDir != "" { 167 return proptools.String(p.properties.Relative_install_path) 171 return p.properties.Installable == nil || android.Bool(p.properties.Installable) 175 p.sourceFilePath = android.PathForModuleSrc(ctx, android.String(p.properties.Src)) 176 filename := android.String(p.properties.Filename) [all …]
|
/build/soong/sdk/ |
D | bp.go | 24 properties map[string]interface{} member 32 s.properties = make(map[string]interface{}) 37 if s.properties[name] != nil { 41 s.properties[name] = value 57 return s.properties[name] 67 value := s.properties[name] 85 delete(s.properties, name) 88 s.properties[name] = newValue 107 if s.properties[name] == nil { 110 s.properties[name] = value [all …]
|
/build/soong/genrule/ |
D | genrule.go | 128 properties generatorProperties member 179 for _, tool := range g.properties.Tools { 195 if len(g.properties.Export_include_dirs) > 0 { 196 for _, dir := range g.properties.Export_include_dirs { 219 if len(g.properties.Tools) > 0 { 266 for _, tool := range g.properties.Tools { 278 for _, toolFile := range g.properties.Tool_files { 285 for _, in := range g.properties.Srcs { 286 …ps := android.PathsAndMissingDepsForModuleSrcExcludes(ctx, []string{in}, g.properties.Exclude_srcs) 310 for _, task := range g.taskGenerator(ctx, String(g.properties.Cmd), srcFiles) { [all …]
|
/build/soong/sysprop/ |
D | sysprop_library.go | 45 properties syspropGenProperties member 83 for _, syspropFile := range android.PathsForModuleSrc(ctx, g.properties.Srcs) { 93 "scope": g.properties.Scope, 112 g.AddProperties(&g.properties) 121 properties syspropLibraryProperties member 189 return m.properties.Property_owner 197 if proptools.Bool(m.properties.Public_stub) { 216 return proptools.Bool(m.properties.Public_stub) 226 for _, syspropFile := range android.PathsForModuleSrc(ctx, m.properties.Srcs) { 245 Inputs(android.PathsForModuleSrc(ctx, m.properties.Srcs)) [all …]
|
/build/soong/sh/ |
D | sh_binary.go | 96 properties shBinaryProperties member 121 if s.properties.Src == nil { 131 return proptools.String(s.properties.Sub_dir) 135 return s.properties.Installable == nil || proptools.Bool(s.properties.Installable) 139 return s.properties.Symlinks 143 s.sourceFilePath = android.PathForModuleSrc(ctx, proptools.String(s.properties.Src)) 144 filename := proptools.String(s.properties.Filename) 145 filename_from_src := proptools.Bool(s.properties.Filename_from_src) 169 installDir := android.PathForModuleInstall(ctx, "bin", proptools.String(s.properties.Sub_dir)) 181 entries.SetString("LOCAL_MODULE_RELATIVE_PATH", proptools.String(s.properties.Sub_dir)) [all …]
|