Home
last modified time | relevance | path

Searched refs:Properties (Results 1 – 25 of 86) sorted by relevance

1234

/build/soong/cc/
Dlinker.go224 Properties BaseLinkerProperties member
234 linker.Properties.Ldflags = append(linker.Properties.Ldflags, flags...)
247 return []interface{}{&linker.Properties, &linker.dynamicProperties}
251 deps.WholeStaticLibs = append(deps.WholeStaticLibs, linker.Properties.Whole_static_libs...)
252 deps.HeaderLibs = append(deps.HeaderLibs, linker.Properties.Header_libs...)
253 deps.StaticLibs = append(deps.StaticLibs, linker.Properties.Static_libs...)
254 deps.SharedLibs = append(deps.SharedLibs, linker.Properties.Shared_libs...)
255 deps.RuntimeLibs = append(deps.RuntimeLibs, linker.Properties.Runtime_libs...)
257 …deps.ReexportHeaderLibHeaders = append(deps.ReexportHeaderLibHeaders, linker.Properties.Export_hea…
258 …deps.ReexportStaticLibHeaders = append(deps.ReexportStaticLibHeaders, linker.Properties.Export_sta…
[all …]
Dlto.go61 Properties LTOProperties member
65 return []interface{}{&lto.Properties}
70 lto.Properties.Lto.Never = boolPtr(true)
77 lto.Properties.Lto.Thin = boolPtr(true)
88 if lto.Properties.Use_clang_lld != nil {
89 return Bool(lto.Properties.Use_clang_lld)
112 if Bool(lto.Properties.Whole_program_vtables) {
149 return Bool(lto.Properties.Lto.Full)
153 return Bool(lto.Properties.Lto.Thin)
158 return Bool(lto.Properties.Lto.Never)
[all …]
Dimage.go124 return c.Properties.ImageVariationPrefix == ProductVariationPrefix
129 return c.Properties.ImageVariationPrefix == VendorVariationPrefix
328 return Bool(m.Properties.Ramdisk_available)
332 return Bool(m.Properties.Vendor_ramdisk_available)
340 return Bool(m.Properties.Recovery_available)
344 return m.Properties.ExtraVariants
348 m.Properties.ExtraVariants = append(m.Properties.ExtraVariants, extraVariant)
352 m.Properties.RamdiskVariantNeeded = b
356 m.Properties.VendorRamdiskVariantNeeded = b
360 m.Properties.RecoveryVariantNeeded = b
[all …]
Dcompiler.go220 Properties BaseCompilerProperties member
248 compiler.Properties.Cflags = append(compiler.Properties.Cflags, flags...)
252 compiler.Properties.Asflags = append(compiler.Properties.Asflags, flags...)
256 return []interface{}{&compiler.Properties, &compiler.Proto}
260 return proptools.BoolDefault(compiler.Properties.Include_build_directory, true)
266 deps.GeneratedSources = append(deps.GeneratedSources, compiler.Properties.Generated_sources...)
267 …deps.GeneratedSources = removeListFromList(deps.GeneratedSources, compiler.Properties.Exclude_gene…
268 deps.GeneratedHeaders = append(deps.GeneratedHeaders, compiler.Properties.Generated_headers...)
272 deps = protoDeps(ctx, deps, &compiler.Proto, Bool(compiler.Properties.Proto.Static))
275 if Bool(compiler.Properties.Openmp) {
[all …]
Dtest.go177 return Bool(test.Properties.Test_per_src)
181 return test.baseCompiler.Properties.Srcs
189 stem := test.binaryDecorator.Properties.Stem
194 test.baseCompiler.Properties.Srcs = []string{src}
195 test.binaryDecorator.Properties.Stem = StringPtr(name)
199 test.baseCompiler.Properties.Srcs = nil
200 test.binaryDecorator.Properties.Stem = StringPtr("")
232 allTests.(*Module).Properties.PreventInstall = true
233 allTests.(*Module).Properties.HideFromMake = true
245 Properties TestProperties member
[all …]
Dsanitize.go233 Properties SanitizeProperties member
249 return []interface{}{&sanitize.Properties}
253 s := &sanitize.Properties.Sanitize
477 sanitize.Properties.SanitizerEnabled = true
503 if !sanitize.Properties.SanitizerEnabled { // || c.static() {
548 if sanitize.Properties.MinimalRuntimeDep {
554 if sanitize.Properties.BuiltinsDep {
558 if !sanitize.Properties.SanitizerEnabled && !sanitize.Properties.UbsanRuntimeDep {
562 if Bool(sanitize.Properties.Sanitize.Address) {
571 if Bool(sanitize.Properties.Sanitize.Writeonly) {
[all …]
Dstl.go53 Properties StlProperties member
57 return []interface{}{&stl.Properties}
61 stl.Properties.SelectedStl = func() string {
63 if stl.Properties.Stl != nil {
64 s = *stl.Properties.Stl
160 switch stl.Properties.SelectedStl {
164 if stl.Properties.SelectedStl == "libc++" {
165 deps.SharedLibs = append(deps.SharedLibs, stl.Properties.SelectedStl)
167 deps.StaticLibs = append(deps.StaticLibs, stl.Properties.SelectedStl)
196 if stl.Properties.SelectedStl == "ndk_libc++_shared" {
[all …]
Dsdk.go44 modules[0].(*Module).Properties.Sdk_version = nil
47 modules[1].(*Module).Properties.IsSdkVariant = true
51 modules[0].(*Module).Properties.HideFromMake = true
52 modules[0].(*Module).Properties.PreventInstall = true
56 modules[1].(*Module).Properties.SdkAndPlatformVariantVisibleToMake = true
57 modules[1].(*Module).Properties.PreventInstall = true
64 m.Properties.Sdk_version = nil
Dpgo.go75 Properties PgoProperties member
87 return []interface{}{&pgo.Properties}
229 pgo.Properties.PgoPresent = pgo.Properties.isPGO(ctx)
231 if !pgo.Properties.PgoPresent {
239 pgo.Properties.ShouldProfileModule = false
247 pgo.Properties.ShouldProfileModule = true
248 pgo.Properties.PgoInstrLink = pgo.Properties.isInstrumentation()
250 for _, b := range pgo.Properties.Pgo.Benchmarks {
252 pgo.Properties.ShouldProfileModule = true
253 pgo.Properties.PgoInstrLink = pgo.Properties.isInstrumentation()
[all …]
Dndk_prebuilt.go78 module.Properties.AlwaysSdk = true
79 module.Properties.Sdk_version = StringPtr("current")
80 module.Properties.HideFromMake = true
104 return append(ndk.libraryDecorator.linkerProps(), &ndk.Properties, &ndk.flagExporter.Properties)
129 module.Properties.Sdk_version = StringPtr("minimum")
130 module.Properties.AlwaysSdk = true
131 module.stl.Properties.Stl = StringPtr("none")
147 module.Properties.Sdk_version = StringPtr("minimum")
148 module.Properties.HideFromMake = true
149 module.Properties.AlwaysSdk = true
[all …]
Dcoverage.go38 Properties CoverageProperties member
45 return []interface{}{&cov.Properties}
69 if cov.Properties.NeedCoverageVariant {
88 if cov.Properties.CoverageEnabled {
167 …cov.Properties = SetCoverageProperties(ctx, cov.Properties, ctx.nativeCoverage(), ctx.useSdk(), ct…
215 needCoverageVariant := c.coverage.Properties.NeedCoverageVariant
216 needCoverageBuild := c.coverage.Properties.NeedCoverageBuild
222 m[0].(*Module).coverage.Properties.CoverageEnabled = false
223 m[0].(*Module).coverage.Properties.IsCoverageVariant = false
224 m[0].(*Module).Properties.HideFromMake = true
[all …]
Dlibrary.go376 Properties FlagExporterProperties member
389 if ctx.inVendor() && f.Properties.Target.Vendor.Override_export_include_dirs != nil {
390 return android.PathsForModuleSrc(ctx, f.Properties.Target.Vendor.Override_export_include_dirs)
392 if ctx.inProduct() && f.Properties.Target.Product.Override_export_include_dirs != nil {
393 return android.PathsForModuleSrc(ctx, f.Properties.Target.Product.Override_export_include_dirs)
395 return android.PathsForModuleSrc(ctx, f.Properties.Export_include_dirs)
402 …f.systemDirs = append(f.systemDirs, android.PathsForModuleSrc(ctx, f.Properties.Export_system_incl…
410 …f.systemDirs = append(f.systemDirs, android.PathsForModuleSrc(ctx, f.Properties.Export_system_incl…
465 Properties LibraryProperties member
691 &library.Properties,
[all …]
Dandroidmk.go69 if c.hideApexVariantFromMake || c.Properties.HideFromMake {
82 Required: c.Properties.AndroidMkRuntimeLibs,
87 if len(c.Properties.Logtags) > 0 {
88 entries.AddStrings("LOCAL_LOGTAGS_FILES", c.Properties.Logtags...)
96 …entries.SetString("LOCAL_SYSTEM_SHARED_LIBRARIES", strings.Join(c.Properties.AndroidMkSystemShared…
97 if len(c.Properties.AndroidMkSharedLibs) > 0 {
98 entries.AddStrings("LOCAL_SHARED_LIBRARIES", c.Properties.AndroidMkSharedLibs...)
100 if len(c.Properties.AndroidMkStaticLibs) > 0 {
101 entries.AddStrings("LOCAL_STATIC_LIBRARIES", c.Properties.AndroidMkStaticLibs...)
103 if len(c.Properties.AndroidMkWholeStaticLibs) > 0 {
[all …]
Dtoolchain_library.go41 Properties toolchainLibraryProperties member
52 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)
90 if library.Properties.Repack_objects_to_keep != nil {
93 transformArchiveRepack(ctx, outputFile, repackedPath, library.Properties.Repack_objects_to_keep)
/build/blueprint/bootstrap/bpdoc/
Dproperties.go37 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 …]
Dbpdoc.go50 Properties []Property member
60 Properties []Property member
251 if len(mt.PropertyStructs[i].Properties) == 0 {
267 if len(p.Properties) > 0 {
268 p.Properties = removeAnonymousProps(p.Properties)
275 ps.Properties = removeAnonymousProps(ps.Properties)
287 CollapseDuplicateProperties(&to.Properties, &from.Properties)
302 CollapseDuplicateProperties(&t.Properties, &f.Properties)
314 collapseNestedProperties(&ps.Properties)
323 for j := range parent.Properties {
[all …]
Dreader_test.go164 if len(ps.Properties) != 1 {
165 t.Fatalf("want 1 property, got %d", len(ps.Properties))
168 …if ps.Properties[0].Name != "a" || ps.Properties[0].Text != "A docs.\n\n" || ps.Properties[0].Defa…
170 ps.Properties[0].Name, ps.Properties[0].Text, ps.Properties[0].Default)
/build/soong/rust/
Dsanitize.go75 return []interface{}{&sanitize.Properties}
79 s := sanitize.Properties.Sanitize
84 sanitize.Properties.SanitizerEnabled = true
88 sanitize.Properties.SanitizerEnabled = true
97 sanitize.Properties.SanitizerEnabled = true
102 Properties SanitizeProperties member
106 if !sanitize.Properties.SanitizerEnabled {
109 if Bool(sanitize.Properties.Sanitize.Fuzzer) {
117 if Bool(sanitize.Properties.Sanitize.Address) {
120 if Bool(sanitize.Properties.Sanitize.Hwaddress) {
[all …]
Dimage.go45 return Bool(mod.Properties.Vendor_ramdisk_available)
57 return mod.Properties.ExtraVariants
61 mod.Properties.ExtraVariants = append(mod.Properties.ExtraVariants, extraVariant)
71 mod.Properties.VendorRamdiskVariantNeeded = b
81 mod.Properties.CoreVariantNeeded = b
89 return mod.Properties.VendorRamdiskVariantNeeded
93 return mod.Properties.CoreVariantNeeded
109 return mod.Properties.ExtraVariants
182 return mod.Properties.ImageVariationPrefix == cc.VendorVariationPrefix
190 m.Properties.ImageVariationPrefix = cc.VendorVariationPrefix
[all …]
Dcompiler.go36 return proptools.StringDefault(compiler.Properties.Edition, config.DefaultEdition)
40 compiler.Properties.No_stdlibs = proptools.BoolPtr(true)
44 compiler.Properties.Lints = proptools.StringPtr("none")
49 Properties: BaseCompilerProperties{},
159 Properties BaseCompilerProperties member
192 return Bool(compiler.Properties.Prefer_rlib)
213 return []interface{}{&compiler.Properties}
218 for _, cfg := range compiler.Properties.Cfgs {
226 for _, feature := range compiler.Properties.Features {
234 lintFlags, err := config.RustcLintsForDir(ctx.ModuleDir(), compiler.Properties.Lints)
[all …]
Dtest.go69 Properties TestProperties member
84 return BoolDefault(test.Properties.Test_harness, true)
108 return append(test.binaryDecorator.compilerProps(), &test.Properties)
113 test.Properties.Test_config,
114 test.Properties.Test_config_template,
115 test.Properties.Test_suites,
117 test.Properties.Auto_gen_config)
119 dataSrcPaths := android.PathsForModuleSrc(ctx, test.Properties.Data)
126 if !Bool(test.Properties.No_named_install_directory) {
128 } else if String(test.baseCompiler.Properties.Relative_install_path) == "" {
[all …]
Dbenchmark.go48 Properties BenchmarkProperties member
69 module.AddProperties(&benchmark.Properties)
111 return append(benchmark.binaryDecorator.compilerProps(), &benchmark.Properties)
116 benchmark.Properties.Test_config,
117 benchmark.Properties.Test_config_template,
118 benchmark.Properties.Test_suites,
120 benchmark.Properties.Auto_gen_config)
123 if !Bool(benchmark.Properties.No_named_install_directory) {
125 } else if String(benchmark.baseCompiler.Properties.Relative_install_path) == "" {
Dcoverage.go28 Properties cc.CoverageProperties member
35 return []interface{}{&cov.Properties}
39 if cov.Properties.NeedCoverageVariant {
54 if cov.Properties.CoverageEnabled {
72 …cov.Properties = cc.SetCoverageProperties(ctx, cov.Properties, ctx.RustModule().nativeCoverage(), …
Dlibrary_test.go141 if !android.InList("libstd", libfoo.Module().(*Module).Properties.AndroidMkDylibs) {
143 libfoo.Module().(*Module).Properties.AndroidMkDylibs)
157 if !android.InList("libstd", libfoo.Module().(*Module).Properties.AndroidMkRlibs) {
159 libfoo.Module().(*Module).Properties.AndroidMkDylibs)
191 if !android.InList("libbar.rlib-std", static.Module().(*Module).Properties.AndroidMkRlibs) {
194 if android.InList("libbar", static.Module().(*Module).Properties.AndroidMkDylibs) {
200 if !android.InList("libbar", dyn.Module().(*Module).Properties.AndroidMkDylibs) {
203 if android.InList("libbar.dylib-std", dyn.Module().(*Module).Properties.AndroidMkRlibs) {
273 if !android.InList("libstd", libfooRlibStatic.Properties.AndroidMkRlibs) {
276 if !android.InList("libstd", libfooRlibDynamic.Properties.AndroidMkDylibs) {
[all …]
Dsource_provider.go31 Properties SourceProviderProperties member
59 return []interface{}{&sp.Properties}
64 Properties: SourceProviderProperties{},
86 if String(sp.Properties.Source_stem) == "" {
90 return String(sp.Properties.Source_stem)

1234