Lines Matching refs:flag
47 func (s *cflagArtifactsText) genFlagFilename(flag string) string {
48 return fmt.Sprintf("module_cflags%s.txt", flag)
55 flag string, part int) (string, android.OutputPath) {
57 filename := fmt.Sprintf("%s.%d", s.genFlagFilename(flag), part)
59 s.interOutputs[flag] = append(s.interOutputs[flag], filepath)
67 flag string, using bool, modules []string, part int) int {
69 cleanedName := strings.Replace(flag, "=", "_", -1)
76 Textf("echo '# Modules using %s'", flag).
80 Textf("echo '# Modules not using %s'", flag).
121 for _, flag := range TrackedCFlags {
125 filename := s.genFlagFilename(flag)
129 Inputs(s.interOutputs[flag].Paths()).
151 for _, flag := range TrackedCFlags {
152 if inList(flag, cflags) || inList(flag, cppflags) {
153 modulesWithCFlag[flag] = append(modulesWithCFlag[flag], module)
155 modulesWithCFlag["!"+flag] = append(modulesWithCFlag["!"+flag], module)
164 for _, flag := range TrackedCFlags {
165 sort.Strings(modulesWithCFlag[flag])
166 part := s.GenCFlagArtifactParts(ctx, flag, true, modulesWithCFlag[flag], 0)
167 sort.Strings(modulesWithCFlag["!"+flag])
168 s.GenCFlagArtifactParts(ctx, flag, false, modulesWithCFlag["!"+flag], part)