Lines Matching refs:proto
33 if flags.proto.CanonicalPathFromRoot {
42 protoDeps := flags.proto.Deps
49 outDir := flags.proto.Dir
55 android.ProtoRule(ctx, rule, protoFile, flags.proto, protoDeps, outDir, depFile, outputs)
119 flags.proto = android.GetProtoFlags(ctx, p)
120 if flags.proto.CanonicalPathFromRoot {
121 flags.GlobalFlags = append(flags.GlobalFlags, "-I"+flags.proto.SubDir.String())
123 flags.GlobalFlags = append(flags.GlobalFlags, "-I"+flags.proto.Dir.String())
132 flags.proto.OutTypeFlag = "--nanopb_out"
135 flags.proto.OutTypeFlag = "--cpp_out"
137 flags.proto.OutTypeFlag = "--cpp_out"
138 flags.proto.OutParams = append(flags.proto.OutParams, "lite")
143 flags.proto.OutTypeFlag = "--cpp_out"
151 flags.proto.Deps = append(flags.proto.Deps, path)
152 flags.proto.Flags = append(flags.proto.Flags, "--plugin="+path.String())