Lines Matching refs:prop

29 func CheckBadCompilerFlags(ctx BaseModuleContext, prop string, flags []string) {
34 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)
43 ctx.PropertyErrorf(prop, "-Weverything is not allowed in Android.bp files. "+
50 ctx.PropertyErrorf(prop, "`-include` only takes one argument: `%s`", flag)
54 ctx.PropertyErrorf(prop, "Path must not be an absolute path: %s", flag)
56 …ctx.PropertyErrorf(prop, "Path must not start with `../`: `%s`. Use include_dirs to -include from …
64 …ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split int…
72 func CheckBadLinkerFlags(ctx BaseModuleContext, prop string, flags []string) {
77 ctx.PropertyErrorf(prop, "Flag `%s` must start with `-`", flag)
80 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use shared_libs or host_ldlibs instead", flag)
82 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use shared_libs instead", flag)
85 ctx.PropertyErrorf(prop, "Bad flag: `%s` is not allowed", flag)
87 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use version_script instead", flag)
89 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use native_coverage instead", flag)
94 ctx.PropertyErrorf(prop, "`-z` only takes one argument: `%s`", flag)
97 …ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split int…
104 func CheckBadHostLdlibs(ctx ModuleContext, prop string, flags []string) {
116 ctx.PropertyErrorf(prop, "Invalid flag: `%s`, must start with `-l` or `-framework`", flag)
118 ctx.PropertyErrorf(prop, "Host library `%s` not available", flag)
124 func CheckBadTidyFlags(ctx ModuleContext, prop string, flags []string) {
129 ctx.PropertyErrorf(prop, "Flag `%s` must start with `-`", flag)
131 …ctx.PropertyErrorf(prop, "Flag `%s` is not allowed, since it could cause multiple writes to the sa…
133 ctx.PropertyErrorf(prop, "Flag `%s` is not allowed, use `tidy_checks` property instead", flag)
135 …ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split int…
141 func CheckBadTidyChecks(ctx ModuleContext, prop string, checks []string) {