/build/soong/cc/ |
D | lto.go | 58 Properties LTOProperties member 62 return []interface{}{<o.Properties} 67 lto.Properties.Lto.Never = boolPtr(true) 76 if lto.Properties.Use_clang_lld != nil { 77 return Bool(lto.Properties.Use_clang_lld) 91 if Bool(lto.Properties.Lto.Thin) { 100 …if ctx.Config().IsEnvTrue("USE_THINLTO_CACHE") && Bool(lto.Properties.Lto.Thin) && lto.useClangLld… 130 full := Bool(lto.Properties.Lto.Full) 131 thin := Bool(lto.Properties.Lto.Thin) 137 return lto.Properties.Lto.Never != nil && *lto.Properties.Lto.Never [all …]
|
D | linker.go | 192 Properties BaseLinkerProperties member 202 linker.Properties.Ldflags = append(linker.Properties.Ldflags, flags...) 214 return []interface{}{&linker.Properties, &linker.dynamicProperties} 218 deps.WholeStaticLibs = append(deps.WholeStaticLibs, linker.Properties.Whole_static_libs...) 219 deps.HeaderLibs = append(deps.HeaderLibs, linker.Properties.Header_libs...) 220 deps.StaticLibs = append(deps.StaticLibs, linker.Properties.Static_libs...) 221 deps.SharedLibs = append(deps.SharedLibs, linker.Properties.Shared_libs...) 222 deps.RuntimeLibs = append(deps.RuntimeLibs, linker.Properties.Runtime_libs...) 224 …deps.ReexportHeaderLibHeaders = append(deps.ReexportHeaderLibHeaders, linker.Properties.Export_hea… 225 …deps.ReexportStaticLibHeaders = append(deps.ReexportStaticLibHeaders, linker.Properties.Export_sta… [all …]
|
D | sanitize.go | 192 Properties SanitizeProperties member 201 return []interface{}{&sanitize.Properties} 205 s := &sanitize.Properties.Sanitize 388 sanitize.Properties.SanitizerEnabled = true 409 if !sanitize.Properties.SanitizerEnabled { // || c.static() { 438 if sanitize.Properties.MinimalRuntimeDep { 444 if sanitize.Properties.BuiltinsDep { 448 if !sanitize.Properties.SanitizerEnabled && !sanitize.Properties.UbsanRuntimeDep { 452 if Bool(sanitize.Properties.Sanitize.Address) { 478 if Bool(sanitize.Properties.Sanitize.Hwaddress) { [all …]
|
D | compiler.go | 201 Properties BaseCompilerProperties member 227 compiler.Properties.Cflags = append(compiler.Properties.Cflags, flags...) 231 compiler.Properties.Asflags = append(compiler.Properties.Asflags, flags...) 235 return []interface{}{&compiler.Properties, &compiler.Proto} 241 deps.GeneratedSources = append(deps.GeneratedSources, compiler.Properties.Generated_sources...) 242 …deps.GeneratedSources = removeListFromList(deps.GeneratedSources, compiler.Properties.Exclude_gene… 243 deps.GeneratedHeaders = append(deps.GeneratedHeaders, compiler.Properties.Generated_headers...) 247 deps = protoDeps(ctx, deps, &compiler.Proto, Bool(compiler.Properties.Proto.Static)) 250 if Bool(compiler.Properties.Openmp) { 273 …foreGen = android.PathsForModuleSrcExcludes(ctx, compiler.Properties.Srcs, compiler.Properties.Exc… [all …]
|
D | test.go | 161 return Bool(test.Properties.Test_per_src) 165 return test.baseCompiler.Properties.Srcs 173 stem := test.binaryDecorator.Properties.Stem 178 test.baseCompiler.Properties.Srcs = []string{src} 179 test.binaryDecorator.Properties.Stem = StringPtr(name) 183 test.baseCompiler.Properties.Srcs = nil 184 test.binaryDecorator.Properties.Stem = StringPtr("") 216 all_tests.(*Module).Properties.PreventInstall = true 217 all_tests.(*Module).Properties.HideFromMake = true 228 Properties TestProperties member [all …]
|
D | tidy.go | 40 Properties TidyProperties member 44 return []interface{}{&tidy.Properties} 55 CheckBadTidyFlags(ctx, "tidy_flags", tidy.Properties.Tidy_flags) 56 CheckBadTidyChecks(ctx, "tidy_checks", tidy.Properties.Tidy_checks) 59 if tidy.Properties.Tidy != nil && !*tidy.Properties.Tidy { 64 if tidy.Properties.Tidy == nil && !ctx.Config().ClangTidy() { 76 flags.TidyFlags = append(flags.TidyFlags, esc(tidy.Properties.Tidy_flags)...) 111 if len(tidy.Properties.Tidy_checks) > 0 { 112 tidyChecks = tidyChecks + "," + strings.Join(esc(tidy.Properties.Tidy_checks), ",") 132 if len(tidy.Properties.Tidy_checks_as_errors) > 0 { [all …]
|
D | stl.go | 54 Properties StlProperties member 58 return []interface{}{&stl.Properties} 62 stl.Properties.SelectedStl = func() string { 64 if stl.Properties.Stl != nil { 65 s = *stl.Properties.Stl 167 switch stl.Properties.SelectedStl { 171 if stl.Properties.SelectedStl == "libc++" { 172 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl) 174 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl) 203 if stl.Properties.SelectedStl == "ndk_libc++_shared" { [all …]
|
D | ndk_prebuilt.go | 79 module.Properties.AlwaysSdk = true 80 module.Properties.Sdk_version = StringPtr("current") 81 module.Properties.HideFromMake = true 105 return append(ndk.libraryDecorator.linkerProps(), &ndk.Properties, &ndk.flagExporter.Properties) 130 module.Properties.Sdk_version = StringPtr("minimum") 131 module.Properties.AlwaysSdk = true 132 module.stl.Properties.Stl = StringPtr("none") 148 module.Properties.Sdk_version = StringPtr("minimum") 149 module.Properties.HideFromMake = true 150 module.Properties.AlwaysSdk = true [all …]
|
D | llndk_library.go | 73 Properties llndkLibraryProperties member 93 …objs, versionScript := compileStubLibrary(ctx, flags, String(stub.Properties.Symbol_file), vndkVer… 99 headers := addSuffix(stub.Properties.Export_llndk_headers, llndkHeadersSuffix) 138 if !Bool(stub.Properties.Unversioned) { 144 if len(stub.Properties.Export_preprocessed_headers) > 0 { 148 for _, dir := range stub.Properties.Export_preprocessed_headers { 152 if Bool(stub.Properties.Export_headers_as_system) { 161 if Bool(stub.Properties.Export_headers_as_system) { 163 stub.libraryDecorator.flagExporter.Properties.Export_include_dirs = []string{} 187 stub.Properties.Vendor_available = BoolPtr(true) [all …]
|
D | coverage.go | 36 Properties CoverageProperties member 43 return []interface{}{&cov.Properties} 65 if cov.Properties.NeedCoverageVariant { 84 if cov.Properties.CoverageEnabled { 157 …cov.Properties = SetCoverageProperties(ctx, cov.Properties, ctx.nativeCoverage(), ctx.useSdk(), ct… 205 needCoverageVariant := c.coverage.Properties.NeedCoverageVariant 206 needCoverageBuild := c.coverage.Properties.NeedCoverageBuild 212 m[0].(*Module).coverage.Properties.CoverageEnabled = false 213 m[0].(*Module).coverage.Properties.IsCoverageVariant = false 214 m[0].(*Module).Properties.HideFromMake = true [all …]
|
D | sdk.go | 41 modules[0].(*Module).Properties.Sdk_version = nil 42 modules[1].(*Module).Properties.IsSdkVariant = true 45 modules[0].(*Module).Properties.HideFromMake = true 46 modules[0].(*Module).Properties.PreventInstall = true 48 modules[1].(*Module).Properties.SdkAndPlatformVariantVisibleToMake = true 49 modules[1].(*Module).Properties.PreventInstall = true
|
D | object.go | 43 Properties ObjectLinkerProperties member 89 return []interface{}{&object.Properties} 100 deps.HeaderLibs = append(deps.HeaderLibs, object.Properties.Header_libs...) 101 deps.ObjFiles = append(deps.ObjFiles, object.Properties.Objs...) 108 if lds := android.OptionalPathForModuleSrc(ctx, object.Properties.Linker_script); lds.Valid() { 123 if len(objs.objFiles) == 1 && String(object.Properties.Linker_script) == "" { 126 if String(object.Properties.Prefix_symbols) != "" { 128 TransformBinaryPrefixSymbols(ctx, String(object.Properties.Prefix_symbols), outputFile, 136 if String(object.Properties.Prefix_symbols) != "" { 138 TransformBinaryPrefixSymbols(ctx, String(object.Properties.Prefix_symbols), input,
|
D | toolchain_library.go | 42 Properties toolchainLibraryProperties member 53 return append(props, &library.Properties, &library.stripper.StripProperties) 70 module.Properties.Sdk_version = StringPtr("current") 82 if library.Properties.Src == nil { 87 srcPath := android.PathForSource(ctx, *library.Properties.Src) 97 if library.Properties.Repack_objects_to_keep != nil { 100 TransformArchiveRepack(ctx, srcPath, outputFile, library.Properties.Repack_objects_to_keep)
|
D | pgo.go | 76 Properties PgoProperties member 88 return []interface{}{&pgo.Properties} 234 pgo.Properties.PgoPresent = pgo.Properties.isPGO(ctx) 236 if !pgo.Properties.PgoPresent { 244 pgo.Properties.ShouldProfileModule = false 252 pgo.Properties.ShouldProfileModule = true 254 for _, b := range pgo.Properties.Pgo.Benchmarks { 256 pgo.Properties.ShouldProfileModule = true 269 proptools.BoolDefault(pgo.Properties.Pgo.Enable_profile_use, true) { 270 if profileFile := pgo.Properties.getPgoProfileFile(ctx); profileFile.Valid() { [all …]
|
D | androidmk.go | 66 if c.Properties.HideFromMake || !c.IsForPlatform() { 78 Required: c.Properties.AndroidMkRuntimeLibs, 83 if len(c.Properties.Logtags) > 0 { 84 entries.AddStrings("LOCAL_LOGTAGS_FILES", c.Properties.Logtags...) 86 if len(c.Properties.AndroidMkSharedLibs) > 0 { 87 entries.AddStrings("LOCAL_SHARED_LIBRARIES", c.Properties.AndroidMkSharedLibs...) 89 if len(c.Properties.AndroidMkStaticLibs) > 0 { 90 entries.AddStrings("LOCAL_STATIC_LIBRARIES", c.Properties.AndroidMkStaticLibs...) 92 if len(c.Properties.AndroidMkWholeStaticLibs) > 0 { 93 entries.AddStrings("LOCAL_WHOLE_STATIC_LIBRARIES", c.Properties.AndroidMkWholeStaticLibs...) [all …]
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 37 ret.Properties = append([]Property(nil), ret.Properties...) 38 for i, prop := range ret.Properties { 39 ret.Properties[i] = prop.Clone() 47 ret.Properties = append([]Property(nil), ret.Properties...) 48 for i, prop := range ret.Properties { 49 ret.Properties[i] = prop.Clone() 64 setDefaults(ps.Properties, defaults) 92 setDefaults(prop.Properties, f) 128 if len(p.Properties) != len(other.Properties) { 132 for i := range p.Properties { [all …]
|
D | bpdoc.go | 49 Properties []Property member 59 Properties []Property member 210 if len(mt.PropertyStructs[i].Properties) == 0 { 225 CollapseDuplicateProperties(&to.Properties, &from.Properties) 240 CollapseDuplicateProperties(&t.Properties, &f.Properties) 252 collapseNestedProperties(&ps.Properties) 261 for j := range parent.Properties { 262 child := &parent.Properties[j] 263 if len(child.Properties) > 0 { 264 collapseNestedProperties(&child.Properties) [all …]
|
D | reader_test.go | 88 if len(ps.Properties) != 1 { 89 t.Fatalf("want 1 property, got %d", len(ps.Properties)) 92 …if ps.Properties[0].Name != "a" || ps.Properties[0].Text != "A docs.\n\n" || ps.Properties[0].Defa… 94 ps.Properties[0].Name, ps.Properties[0].Text, ps.Properties[0].Default)
|
/build/soong/rust/ |
D | compiler.go | 28 return proptools.StringDefault(compiler.Properties.Edition, config.DefaultEdition) 32 compiler.Properties.No_stdlibs = proptools.BoolPtr(true) 37 Properties: BaseCompilerProperties{}, 107 Properties BaseCompilerProperties member 134 return []interface{}{&compiler.Properties} 147 if !Bool(compiler.Properties.No_lint) { 150 flags.RustFlags = append(flags.RustFlags, compiler.Properties.Flags...) 151 …flags.RustFlags = append(flags.RustFlags, compiler.featuresToFlags(compiler.Properties.Features)..… 153 flags.LinkFlags = append(flags.LinkFlags, compiler.Properties.Ld_flags...) 182 deps.Rlibs = append(deps.Rlibs, compiler.Properties.Rlibs...) [all …]
|
D | test.go | 51 Properties TestProperties member 76 module.AddProperties(&test.Properties) 81 return append(test.binaryDecorator.compilerProps(), &test.Properties) 86 test.Properties.Test_config, 87 test.Properties.Test_config_template, 88 test.Properties.Test_suites, 90 test.Properties.Auto_gen_config) 93 if !Bool(test.Properties.No_named_install_directory) { 95 } else if String(test.baseCompiler.Properties.Relative_install_path) == "" {
|
D | androidmk.go | 49 if mod.Properties.HideFromMake { 61 if len(mod.Properties.AndroidMkRlibs) > 0 { 62 fmt.Fprintln(w, "LOCAL_RLIB_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkRlibs, " ")) 64 if len(mod.Properties.AndroidMkDylibs) > 0 { 65 fmt.Fprintln(w, "LOCAL_DYLIB_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkDylibs, " ")) 67 if len(mod.Properties.AndroidMkProcMacroLibs) > 0 { 68 …fmt.Fprintln(w, "LOCAL_PROC_MACRO_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkProcMacroLib… 70 if len(mod.Properties.AndroidMkSharedLibs) > 0 { 71 …fmt.Fprintln(w, "LOCAL_SHARED_LIBRARIES := "+strings.Join(mod.Properties.AndroidMkSharedLibs, " ")) 73 if len(mod.Properties.AndroidMkStaticLibs) > 0 { [all …]
|
D | coverage.go | 26 Properties cc.CoverageProperties member 33 return []interface{}{&cov.Properties} 37 if cov.Properties.NeedCoverageVariant { 52 if cov.Properties.CoverageEnabled { 70 …cov.Properties = cc.SetCoverageProperties(ctx, cov.Properties, ctx.RustModule().nativeCoverage(), …
|
D | bindgen.go | 85 Properties BindgenProperties member 117 cflags = append(cflags, b.Properties.Cflags...) 118 for _, include := range b.Properties.Local_include_dirs { 124 bindgenFlags = append(bindgenFlags, strings.Join(b.Properties.Flags, " ")) 126 wrapperFile := android.OptionalPathForModuleSrc(ctx, b.Properties.Wrapper_src) 150 &b.Properties) 171 Properties: BindgenProperties{}, 184 deps.SharedLibs = append(deps.SharedLibs, b.Properties.Shared_libs...) 185 deps.StaticLibs = append(deps.StaticLibs, b.Properties.Static_libs...)
|
D | source_provider.go | 27 Properties SourceProviderProperties member 51 return []interface{}{&sp.Properties} 56 Properties: SourceProviderProperties{}, 62 if String(sp.Properties.Stem) != "" { 63 stem = String(sp.Properties.Stem)
|
D | clippy.go | 27 Properties ClippyProperties member 31 return []interface{}{&c.Properties} 35 if c.Properties.Clippy != nil && !*c.Properties.Clippy {
|