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)
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…
74 func CheckBadLinkerFlags(ctx BaseModuleContext, prop string, flags []string) {
79 ctx.PropertyErrorf(prop, "Flag `%s` must start with `-`", flag)
82 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use shared_libs or host_ldlibs instead", flag)
84 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use shared_libs instead", flag)
87 ctx.PropertyErrorf(prop, "Bad flag: `%s` is not allowed", flag)
89 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use version_script instead", flag)
91 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use native_coverage instead", flag)
96 ctx.PropertyErrorf(prop, "`-z` only takes one argument: `%s`", flag)
99 …ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split int…
106 func CheckBadHostLdlibs(ctx ModuleContext, prop string, flags []string) {
118 ctx.PropertyErrorf(prop, "Invalid flag: `%s`, must start with `-l` or `-framework`", flag)
120 ctx.PropertyErrorf(prop, "Host library `%s` not available", flag)
126 func CheckBadTidyFlags(ctx ModuleContext, prop string, flags []string) {
131 ctx.PropertyErrorf(prop, "Flag `%s` must start with `-`", flag)
133 …ctx.PropertyErrorf(prop, "Flag `%s` is not allowed, since it could cause multiple writes to the sa…
135 ctx.PropertyErrorf(prop, "Flag `%s` is not allowed, use `tidy_checks` property instead", flag)
137 …ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split int…
143 func CheckBadTidyChecks(ctx ModuleContext, prop string, checks []string) {