Home
last modified time | relevance | path

Searched refs:GenericConfig (Results 1 – 5 of 5) sorted by relevance

/build/make/tools/product_config/src/com/android/build/config/
DConvertMakeToGenericConfig.java34 public GenericConfig convert(Map<String, MakeConfig> make) { in convert()
35 final GenericConfig result = new GenericConfig(); in convert()
48 final GenericConfig.ConfigFile genericFile in convert()
49 = new GenericConfig.ConfigFile(f.getFilename()); in convert()
85 final GenericConfig.Assign assign = convertAssignment(block.getBlockType(), in convert()
98 new GenericConfig.Assign(prevName, new Str(""))); in convert()
103 new GenericConfig.Inherit(block.getInheritedFile())); in convert()
138 GenericConfig.Assign convertAssignment(MakeConfig.BlockType blockType, Str inheritedFile, in convertAssignment()
142 return new GenericConfig.Assign(varName, varVal); in convertAssignment()
147 return new GenericConfig.Assign(varName, varVal); in convertAssignment()
[all …]
DMakeWriter.java32 public static void write(PrintStream out, GenericConfig config, int flags) { in write()
46 private void writeGeneric(PrintStream out, GenericConfig config) { in writeGeneric()
47 for (GenericConfig.ConfigFile file: config.getFiles().values()) { in writeGeneric()
61 private void writeFile(PrintStream out, GenericConfig config, GenericConfig.ConfigFile file) { in writeFile()
65 for (GenericConfig.Statement statement: file.getStatements()) { in writeFile()
66 if (statement instanceof GenericConfig.Assign) { in writeFile()
67 writeAssign(out, config, (GenericConfig.Assign)statement); in writeFile()
68 } else if (statement instanceof GenericConfig.Inherit) { in writeFile()
69 writeInherit(out, (GenericConfig.Inherit)statement); in writeFile()
76 private void writeAssign(PrintStream out, GenericConfig config, in writeAssign()
[all …]
DFlattenConfig.java34 private final GenericConfig mGenericConfig;
35 private final Map<String, GenericConfig.ConfigFile> mGenericConfigs;
46 private FlattenConfig(Errors errors, GenericConfig genericConfig) { in FlattenConfig()
63 public static FlatConfig flatten(Errors errors, GenericConfig genericConfig) { in flatten()
102 void onAssignStatement(GenericConfig.Assign assign); in onAssignStatement()
106 void onInheritStatement(GenericConfig.Inherit assign); in onInheritStatement()
127 final GenericConfig.ConfigFile genericFile = mGenericConfigs.get(filename.toString()); in forEachStatement()
135 for (final GenericConfig.Statement statement: genericFile.getStatements()) { in forEachStatement()
136 if (statement instanceof GenericConfig.Assign) { in forEachStatement()
138 final GenericConfig.Assign assign = (GenericConfig.Assign)statement; in forEachStatement()
[all …]
DGenericConfig.java28 public class GenericConfig extends ConfigBase { class
DMain.java53 GenericConfig generic = m2g.convert(makeConfigs); in run()