Home
last modified time | relevance | path

Searched refs:Bool (Results 1 – 25 of 73) sorted by relevance

123

/build/soong/cc/
Dsanitize.go218 if Bool(s.Never) {
290 s.Diag.Integer_overflow == nil && Bool(s.Integer_overflow) && !ctx.static() {
295 s.Diag.Cfi == nil && Bool(s.Cfi) {
335 if Bool(s.Address) || Bool(s.Hwaddress) {
374 if Bool(s.All_undefined) {
385 …if ctx.Os() != android.Windows && (Bool(s.All_undefined) || Bool(s.Undefined) || Bool(s.Address) |…
386Bool(s.Fuzzer) || Bool(s.Safestack) || Bool(s.Cfi) || Bool(s.Integer_overflow) || len(s.Misc_undef…
387 Bool(s.Scudo) || Bool(s.Hwaddress) || Bool(s.Scs)) {
392 if Bool(s.Address) || Bool(s.Thread) || Bool(s.Hwaddress) || ctx.Config().DisableScudo() {
396 if Bool(s.Hwaddress) {
[all …]
Dlto.go77 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)
143 full := Bool(m.lto.Properties.Lto.Full)
144 thin := Bool(m.lto.Properties.Lto.Thin)
155 if full && !Bool(dep.lto.Properties.Lto.Full) {
158 if thin && !Bool(dep.lto.Properties.Lto.Thin) {
179 if m.lto.Properties.FullDep && !Bool(m.lto.Properties.Lto.Full) {
[all …]
Dgenrule.go64 return Bool(g.Vendor_available) || !(ctx.SocSpecific() || ctx.DeviceSpecific())
68 return Bool(g.Ramdisk_available)
72 return Bool(g.Recovery_available)
81 if Bool(g.Vendor_available) || ctx.SocSpecific() || ctx.DeviceSpecific() {
98 if Bool(g.Vendor_available) || ctx.ProductSpecific() {
Dstrip.go39 …return (!ctx.Config().EmbeddedInMake() || ctx.Device()) && !Bool(stripper.StripProperties.Strip.No…
47 if Bool(stripper.StripProperties.Strip.Keep_symbols) {
49 } else if Bool(stripper.StripProperties.Strip.Keep_symbols_and_debug_frame) {
53 } else if !Bool(stripper.StripProperties.Strip.All) {
Dllndk_library.go138 if !Bool(stub.Properties.Unversioned) {
152 if Bool(stub.Properties.Export_headers_as_system) {
161 if Bool(stub.Properties.Export_headers_as_system) {
Dtest.go161 return Bool(test.Properties.Test_per_src)
372 if Bool(test.Properties.Require_root) {
379 if Bool(test.Properties.Disable_framework) {
383 if Bool(test.testDecorator.Properties.Isolated) {
414 if !Bool(test.Properties.No_named_install_directory) {
539 if Bool(benchmark.Properties.Require_root) {
/build/soong/android/
Dconfig.go36 var Bool = proptools.Bool var
376 if Bool(config.Mega_device) {
411 if Bool(config.productVariables.GcovCoverage) && Bool(config.productVariables.ClangCoverage) {
416 Bool(config.productVariables.GcovCoverage) ||
417 Bool(config.productVariables.ClangCoverage))
649 if Bool(c.productVariables.Platform_sdk_final) {
657 if Bool(c.productVariables.Platform_sdk_final) {
722 return Bool(c.productVariables.Allow_missing_dependencies)
727 return Bool(c.productVariables.Unbundled_build)
733 return Bool(c.productVariables.Unbundled_build_apps)
[all …]
Dmodule.go937 if Bool(m.hostAndDeviceProperties.Host_supported) ||
971 return Bool(m.commonProperties.Device_specific)
975 …return Bool(m.commonProperties.Vendor) || Bool(m.commonProperties.Proprietary) || Bool(m.commonPro…
979 return Bool(m.commonProperties.Product_specific)
983 return Bool(m.commonProperties.System_ext_specific)
1087 return Bool(m.commonProperties.Ramdisk)
1091 return Bool(m.commonProperties.Recovery)
1206 …var socSpecific = Bool(m.commonProperties.Vendor) || Bool(m.commonProperties.Proprietary) || Bool(…
1207 var deviceSpecific = Bool(m.commonProperties.Device_specific)
1208 var productSpecific = Bool(m.commonProperties.Product_specific)
[all …]
/build/soong/zip/cmd/
Dmain.go133 directories := flags.Bool("d", false, "include directories in zip")
135 emulateJar := flags.Bool("jar", false, "modify the resultant .zip to emulate the output of 'jar'")
136 …writeIfChanged := flags.Bool("write_if_changed", false, "only update resultant .zip if it has chan…
137 …ignoreMissingFiles := flags.Bool("ignore_missing_files", false, "continue if a requested file does…
138 symlinks := flags.Bool("symlinks", true, "store symbolic links in zip instead of following them")
139 …srcJar := flags.Bool("srcjar", false, "move .java files to locations that match their package stat…
/build/blueprint/bpfmt/
Dbpfmt.go23 list = flag.Bool("l", false, "list files whose formatting differs from bpfmt's")
24 overwriteSourceFile = flag.Bool("w", false, "write result to (source) file")
25 writeToStout = flag.Bool("o", false, "write result to stdout")
26 doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
27 sortLists = flag.Bool("s", false, "sort arrays")
/build/soong/android/soongconfig/
Dconfig.go23 Bool(name string) bool methodSpec
39 func (c soongConfig) Bool(name string) bool { func
/build/blueprint/proptools/
Dextend.go345 case reflect.Bool, reflect.String, reflect.Slice:
356 case reflect.Bool, reflect.Int64, reflect.String, reflect.Struct:
417 case reflect.Bool:
419 dstFieldValue.Set(reflect.ValueOf(srcFieldValue.Bool() || dstFieldValue.Bool()))
452 case reflect.Bool:
455 dstFieldValue.Set(reflect.ValueOf(BoolPtr(srcFieldValue.Elem().Bool())))
459 dstFieldValue.Set(reflect.ValueOf(BoolPtr(srcFieldValue.Elem().Bool())))
Dclone.go66 case reflect.Bool, reflect.String, reflect.Int, reflect.Uint:
125 case reflect.Bool, reflect.Int64, reflect.String:
161 case reflect.Bool, reflect.String, reflect.Slice, reflect.Int, reflect.Uint:
183 case reflect.Bool, reflect.Int64, reflect.String:
223 case reflect.Bool, reflect.String, reflect.Slice, reflect.Int, reflect.Uint:
255 case reflect.Bool, reflect.Int64, reflect.String:
Dunpack_test.go632 Bool bool
638 Bool: true,
647 Bool bool
653 Bool: true,
/build/soong/java/
Ddex.go177 if !Bool(opt.Shrink) {
181 if !Bool(opt.Optimize) {
186 if !Bool(opt.Obfuscate) {
210 if proptools.Bool(j.deviceProperties.Uncompress_dex) {
257 if proptools.Bool(j.deviceProperties.Uncompress_dex) {
Dapp.go98 return Bool(as.properties.Privileged)
158 "allow-prereleased": strconv.FormatBool(proptools.Bool(as.properties.Prerelease)),
319 return Bool(a.properties.Installable)
373 if usesSDK && Bool(a.appProperties.Jni_uses_sdk_apis) {
376 } else if !usesSDK && Bool(a.appProperties.Jni_uses_platform_apis) {
391 !Bool(a.appProperties.Jni_uses_platform_apis)) ||
392 Bool(a.appProperties.Jni_uses_sdk_apis) {
482 return (minSdkVersion >= 23 && Bool(a.appProperties.Use_embedded_native_libs)) ||
488 if Bool(a.appProperties.Use_embedded_dex) {
506 return ctx.Config().UnbundledBuild() || Bool(a.appProperties.Use_embedded_native_libs) ||
[all …]
/build/soong/bpfix/cmd_lib/
Dbpfix.go38 list = flag.Bool("l", false, "list files whose formatting differs from bpfmt's")
39 write = flag.Bool("w", false, "write result to (source) file instead of stdout")
40 doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
/build/soong/sh/
Dsh_binary.go135 return s.properties.Installable == nil || proptools.Bool(s.properties.Installable)
145 filename_from_src := proptools.Bool(s.properties.Filename_from_src)
218 if Bool(s.testProperties.Require_root) {
301 var Bool = proptools.Bool var
/build/blueprint/parser/
Dast.go385 type Bool struct { struct
391 func (x *Bool) Pos() scanner.Position { return x.LiteralPos } argument
392 func (x *Bool) End() scanner.Position { return endPos(x.LiteralPos, len(x.Token)) } argument
394 func (x *Bool) Copy() Expression { argument
399 func (x *Bool) Eval() Expression { argument
403 func (x *Bool) String() string { argument
407 func (x *Bool) Type() Type { argument
/build/blueprint/bpmodify/
Dbpmodify.go25 list = flag.Bool("l", false, "list files that would be modified by bpmodify")
26 write = flag.Bool("w", false, "write result to (source) file instead of stdout")
27 doDiff = flag.Bool("d", false, "display diffs instead of rewriting files")
28 sortLists = flag.Bool("s", false, "sort touched lists, even if they were unsorted")
/build/soong/etc/
Dprebuilt_etc.go125 return proptools.Bool(p.properties.Ramdisk_available) || p.ModuleBase.InstallInRamdisk()
129 return proptools.Bool(p.properties.Recovery_available) || p.ModuleBase.InstallInRecovery()
171 return p.properties.Installable == nil || android.Bool(p.properties.Installable)
177 filename_from_src := android.Bool(p.properties.Filename_from_src)
/build/soong/genrule/
Dgenrule.go346 if !Bool(g.properties.Depfile) {
387 if Bool(g.properties.Depfile) && !referencedDepfile {
399 if Bool(g.properties.Depfile) {
422 if Bool(g.properties.Depfile) {
498 if Bool(g.properties.Depfile) {
517 if Bool(g.properties.Depfile) {
727 var Bool = proptools.Bool var
/build/soong/androidmk/androidmk/
Dandroid.go43 var trueValue = &bpparser.Bool{
392 boolValue, ok := val.(*bpparser.Bool)
499 falseValue := &bpparser.Bool{
538 bpTrue := &bpparser.Bool{
575 bpTrue := &bpparser.Bool{
732 bpValue := &bpparser.Bool{
781 val.(*bpparser.Bool).Value = !val.(*bpparser.Bool).Value
/build/soong/cmd/multiproduct_kati/
Dmain.go42 var keepArtifacts = flag.Bool("keep", false, "keep archives of artifacts")
43 var incremental = flag.Bool("incremental", false, "run in incremental mode (saving intermediates)")
46 var alternateResultDir = flag.Bool("dist", false, "write select results to $DIST_DIR (or <out>/dist…
48 var onlyConfig = flag.Bool("only-config", false, "Only run product config (not Soong or Kati)")
49 var onlySoong = flag.Bool("only-soong", false, "Only run product config and Soong (not Kati)")
/build/soong/apex/
Dapex.go696 excludeVndkLibs := useVndk && proptools.Bool(a.properties.Use_vndk_as_stable)
697 if !useVndk && proptools.Bool(a.properties.Use_vndk_as_stable) {
1347 …if proptools.Bool(a.properties.Use_vendor) && !android.InList(a.Name(), useVendorAllowList(ctx.Con…
1515 …return !a.properties.PreventInstall && (a.properties.Installable == nil || proptools.Bool(a.proper…
1519 return proptools.Bool(a.properties.Test_only_no_hashtree)
1523 return proptools.Bool(a.properties.Test_only_unsigned_payload)
1535 if proptools.Bool(a.properties.Use_vendor) {
1833 return proptools.Bool(a.properties.Updatable)
1900 if proptools.Bool(a.properties.Use_vendor) && ctx.DeviceConfig().VndkVersion() == "" {
1991 handleSpecialLibs := !android.Bool(a.properties.Ignore_system_library_special_case)
[all …]

123