Home
last modified time | relevance | path

Searched refs:PropertyErrorf (Results 1 – 25 of 85) sorted by relevance

1234

/build/soong/cc/
Dcheck.go34 ctx.PropertyErrorf(prop, "Flag `%s` must start with `-`", flag)
36 ctx.PropertyErrorf(prop, "Bad flag `%s`, use local_include_dirs or include_dirs instead", flag)
38 ctx.PropertyErrorf(prop, "Illegal flag `%s`", flag)
40 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use native_coverage instead", flag)
42 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use whole_program_vtables instead", flag)
45 ctx.PropertyErrorf(prop, "-Weverything is not allowed in Android.bp files. "+
52 ctx.PropertyErrorf(prop, "`-include` only takes one argument: `%s`", flag)
56 ctx.PropertyErrorf(prop, "Path must not be an absolute path: %s", flag)
58 …ctx.PropertyErrorf(prop, "Path must not start with `../`: `%s`. Use include_dirs to -include from …
66 …ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split int…
[all …]
Dimage.go274 mctx.PropertyErrorf("vndk",
277 mctx.PropertyErrorf("vendor_available",
280 mctx.PropertyErrorf("product_available",
285 mctx.PropertyErrorf("vndk",
290 mctx.PropertyErrorf("vndk",
304 mctx.PropertyErrorf("vndk",
308 mctx.PropertyErrorf("vndk",
393 mctx.PropertyErrorf("vendor_available",
397 mctx.PropertyErrorf("vendor_available",
404 mctx.PropertyErrorf("odm_available",
[all …]
Dproto.go106 ctx.PropertyErrorf("proto.type", "unknown proto type %q",
153 ctx.PropertyErrorf("proto.type", "unknown proto type %q",
198 ctx.PropertyErrorf("proto.type", "cannot handle conversion at this time: %q", typ)
Dndk_headers.go123 ctx.PropertyErrorf("license", "field is required")
202 ctx.PropertyErrorf("license", "field is required")
317 ctx.PropertyErrorf("license", "field is required")
Dpgo.go119 …ctx.PropertyErrorf("pgo.profile_file", "Profile_file has multiple versions: "+filepath.Join(profil…
125 …ctx.PropertyErrorf("pgo.profile_file", "Profile_file has multiple versions: "+strings.Join(version…
216 …ctx.PropertyErrorf("pgo", "Exactly one of \"instrumentation\" and \"sampling\" properties must be …
Dndk_library.go166 ctx.PropertyErrorf("first_version", err.Error())
179 ctx.PropertyErrorf("first_version", err.Error())
186 ctx.PropertyErrorf("unversioned_until", err.Error())
204 ctx.PropertyErrorf("name", "Do not append %q manually, just use the base name", ndkLibrarySuffix)
454 ctx.PropertyErrorf("symbol_file", "must end with .map.txt")
Dvndk_prebuilt.go121 ctx.PropertyErrorf("srcs", "missing prebuilt source file")
126 ctx.PropertyErrorf("srcs", "multiple prebuilt source files")
/build/soong/filesystem/
Dlogical_partition.go120 ctx.PropertyErrorf("size", "must be set")
122 ctx.PropertyErrorf("size", `must be a number or "auto"`)
141 ctx.PropertyErrorf("groups.partitions.name", "must be set")
144 ctx.PropertyErrorf("groups.partitions.name", "already exists")
160 ctx.PropertyErrorf("groups.name", "must be set")
162 …ctx.PropertyErrorf("groups.name", `can't use "default" as a group name. Use default_group instead`)
165 ctx.PropertyErrorf("group.name", "already exists")
171 ctx.PropertyErrorf("groups.size", "must be set")
174 ctx.PropertyErrorf("groups.size", "must be a number")
Dvbmeta.go133 ctx.PropertyErrorf("rollback_index_location", "must be 0, 1, 2, ...")
141 ctx.PropertyErrorf("partitions", "%q(type: %s) is not supported",
147 ctx.PropertyErrorf("partitions", "%q(type: %s) is not signed. Use `use_avb: true`",
157 ctx.PropertyErrorf("chained_partitions", "name must be specified")
163 ctx.PropertyErrorf("chained_partitions", "must be 0, 1, 2, ...")
217 ctx.PropertyErrorf("chained_partitions", "name must be specified")
222 ctx.PropertyErrorf("chained_partitions", "name %q is duplicated", name)
Dbootimg.go136 ctx.PropertyErrorf("kernel_prebuilt", "vendor_boot partition can't have kernel")
140 ctx.PropertyErrorf("kernel_prebuilt", "boot partition must have kernel")
164 ctx.PropertyErrorf("header_version", "must be set")
169 ctx.PropertyErrorf("header_version", "%q is not a number", headerVersion)
173 ctx.PropertyErrorf("header_version", "must be 3 or higher for vendor_boot")
188 ctx.PropertyErrorf("ramdisk", "%q is not android_filesystem module", ramdisk.Name())
196 ctx.PropertyErrorf("bootconfig", "requires vendor_boot: true")
200 ctx.PropertyErrorf("bootconfig", "requires header_version: 4 or later")
Dfilesystem.go142 ctx.PropertyErrorf("type", "%q not supported", typeStr)
187 ctx.PropertyErrorf("symlinks", "Name can't be empty")
192 ctx.PropertyErrorf("symlinks", "Target can't be empty")
353 ctx.PropertyErrorf("use_avb", "signing compresed cpio image using avbtool is not supported."+
358 ctx.PropertyErrorf("file_contexts", "file_contexts is not supported for compressed cpio image.")
/build/soong/android/
Dvisibility.go254 ctx.PropertyErrorf(property, "must contain at least one visibility rule")
268 ctx.PropertyErrorf(property, "//visibility:legacy_public must not be used")
274 ctx.PropertyErrorf(property, "unrecognized visibility rule %q", v)
279 ctx.PropertyErrorf(property, `"%v" may only be used at the start of the visibility rules`, v)
282 ctx.PropertyErrorf(property, "cannot mix %q with any other visibility rules", v)
291 ctx.PropertyErrorf(property,
363 ctx.PropertyErrorf(property, "invalid visibility pattern %q. Must match "+
380 ctx.PropertyErrorf("visibility",
410 ctx.PropertyErrorf(property,
Dsoong_config_modules.go334 ctx.PropertyErrorf("from", "%q must be a file with extension .bp", from)
339 ctx.PropertyErrorf("from", "%q must not use ../ to escape the source tree",
352 ctx.PropertyErrorf("module_types", "module type %q not defined in %q",
378 ctx.PropertyErrorf("from", "failed to open %q: %s", from, err)
Ddefaults.go313 ctx.PropertyErrorf(propertyErr.Property, "%s", propertyErr.Err.Error())
328 ctx.PropertyErrorf(propertyErr.Property, "%s", propertyErr.Err.Error())
363 ctx.PropertyErrorf("defaults", "module %s is not an defaults module",
/build/soong/rust/
Dcompiler.go278 ctx.PropertyErrorf("lints", err.Error())
284 ctx.PropertyErrorf("ld_flags", "'-Wl,-l' and '-Wl,-L' flags cannot be manually specified")
289 ctx.PropertyErrorf("flags", "'-l' and '-L' flags cannot be manually specified")
292 ctx.PropertyErrorf("flags", "'--extern' flag cannot be manually specified")
295 ctx.PropertyErrorf("flags", "'-C link-args' flag cannot be manually specified")
482 ctx.PropertyErrorf("srcs", "srcs must not be empty")
497 ctx.PropertyErrorf("srcs", incorrectSourcesError)
503 ctx.PropertyErrorf("srcs", "main source file must be the first in srcs")
505 …ctx.PropertyErrorf("srcs", "only a single generated source module can be defined without a main so…
Dimage.go230 mctx.PropertyErrorf("product_specific",
233 mctx.PropertyErrorf("double_loadable",
238 …mctx.PropertyErrorf("vendor_ramdisk_available", "cannot be set for rust_ffi or rust_ffi_shared mod…
243 mctx.PropertyErrorf("vendor", "Vendor-only dylibs are not yet supported, use rust_library_rlib.")
Dbindgen.go104 ctx.PropertyErrorf("c_std", "c_std and cpp_std cannot both be defined at the same time.")
190 ctx.PropertyErrorf("cflags",
194 ctx.PropertyErrorf("cflags",
211 ctx.PropertyErrorf("wrapper_src", "invalid path to wrapper source")
Dclippy.go43 ctx.PropertyErrorf("clippy_lints", err.Error())
Dprotobuf.go101 ctx.PropertyErrorf("protos",
124 ctx.PropertyErrorf("protos",
159 ctx.PropertyErrorf("protos", "proto filenames must be unique across 'protos' and 'grpc_protos' "+
/build/soong/java/
Dproto.go97 ctx.PropertyErrorf("proto.type", "full java protos only supported on the host")
100 ctx.PropertyErrorf("proto.type", "unknown proto type %q",
129 ctx.PropertyErrorf("proto.type", "unknown proto type %q",
174 ctx.PropertyErrorf("proto.type", "cannot handle conversion at this time: %q", typ)
Djacoco.go78 ctx.PropertyErrorf("jacoco.include_filter", "%s", err.Error())
83 ctx.PropertyErrorf("jacoco.exclude_filter", "%s", err.Error())
Dsdk.go52 ctx.PropertyErrorf("sdk_version", "%s", err)
92 ctx.PropertyErrorf("sdk_version", "invalid version %q", sdkVersion.Raw)
123 …ctx.PropertyErrorf("sdk_version", "invalid sdk version %q, %q does not exist", sdkVersion.Raw, jar)
128 …ctx.PropertyErrorf("sdk_version", "invalid sdk version %q, %q does not exist", sdkVersion.Raw, aid…
171 ctx.PropertyErrorf("sdk_version",
Ddroidstubs.go350 ctx.PropertyErrorf("merge_annotations_dirs",
361 ctx.PropertyErrorf("merge_inclusion_annotations_dirs",
375 ctx.PropertyErrorf("api_levels_annotations_dirs",
406 ctx.PropertyErrorf("api_levels_annotations_dirs",
425 ctx.PropertyErrorf("api_levels_sdk_type", "needs to be one of %v", allowedApiLevelSdkTypes)
614 ctx.PropertyErrorf("out", "out property may not be combined with check_api")
683 ctx.PropertyErrorf("out", "out property may not be combined with check_api")
691 …ctx.PropertyErrorf("baseline_file", "current API check can't have a baseline file. (module %s)", c…
761 ctx.PropertyErrorf("check_nullability_warnings",
840 …ctx.PropertyErrorf("srcs", "must only specify one directory path or srcjar, contains %d paths", le…
/build/soong/apex/
Dapex.go824 ctx.PropertyErrorf("key", "missing")
879 mctx.PropertyErrorf("use_vndk_as_stable", "not supported for system/system_ext APEXes")
883 …mctx.PropertyErrorf("use_vndk_as_stable", "Trying to include a VNDK library(%s) while use_vndk_as_…
1305 …mctx.PropertyErrorf("payload_type", "%q is not one of \"image\", \"zip\", or \"both\".", *ab.prope…
1787 ctx.PropertyErrorf("tests", "property allowed only in apex_test module type")
1842 ctx.PropertyErrorf(propertyName, "%q is not a cc_library or cc_library_shared module", depName)
1856 …ctx.PropertyErrorf("binaries", "%q is neither cc_binary, rust_binary, (embedded) py_binary, (host)…
1862 ctx.PropertyErrorf("sh_binaries", "%q is not a sh_binary module", depName)
1868 …ctx.PropertyErrorf("bootclasspath_fragments", "%q is not a bootclasspath_fragment module", depName)
1882 …ctx.PropertyErrorf("systemserverclasspath_fragments", "%q is not a systemserverclasspath_fragment …
[all …]
/build/soong/etc/
Dsnapshot_etc.go84 ctx.PropertyErrorf("src", "missing prebuilt source file")
101 ctx.PropertyErrorf("filename", "filename cannot contain separator '/'")

1234