Lines Matching full:configuration
43 private final Configuration configuration; field in ProGuard
50 * configuration.
52 public ProGuard(Configuration configuration) in ProGuard() argument
54 this.configuration = configuration; in ProGuard()
67 if (configuration.printConfiguration != null) in execute()
72 new ConfigurationChecker(configuration).check(); in execute()
74 if (configuration.programJars != null && in execute()
75 configuration.programJars.hasOutput() && in execute()
76 new UpToDateChecker(configuration).check()) in execute()
83 if (configuration.shrink || in execute()
84 configuration.optimize || in execute()
85 configuration.obfuscate || in execute()
86 configuration.preverify) in execute()
91 if (configuration.printSeeds != null || in execute()
92 configuration.shrink || in execute()
93 configuration.optimize || in execute()
94 configuration.obfuscate || in execute()
95 configuration.preverify) in execute()
100 if (configuration.targetClassVersion != 0) in execute()
105 if (configuration.printSeeds != null) in execute()
110 if (configuration.shrink) in execute()
115 if (configuration.preverify) in execute()
120 if (configuration.optimize) in execute()
123 optimizationPass < configuration.optimizationPasses; in execute()
133 if (configuration.shrink) in execute()
136 configuration.printUsage = null; in execute()
137 configuration.whyAreYouKeeping = null; in execute()
144 if (configuration.obfuscate) in execute()
149 if (configuration.preverify) in execute()
154 if (configuration.shrink || in execute()
155 configuration.optimize || in execute()
156 configuration.obfuscate || in execute()
157 configuration.preverify) in execute()
162 if (configuration.programJars.hasOutput()) in execute()
167 if (configuration.dump != null) in execute()
175 * Prints out the configuration that ProGuard is using.
179 if (configuration.verbose) in printConfiguration()
181 …System.out.println("Printing configuration to [" + fileName(configuration.printConfiguration) + "]… in printConfiguration()
184 PrintStream ps = createPrintStream(configuration.printConfiguration); in printConfiguration()
187 new ConfigurationWriter(ps).write(configuration); in printConfiguration()
201 if (configuration.verbose) in readInput()
207 new InputReader(configuration).execute(programClassPool, libraryClassPool); in readInput()
217 if (configuration.verbose) in initialize()
222 new Initializer(configuration).execute(programClassPool, libraryClassPool); in initialize()
231 if (configuration.verbose) in target()
236 new Targeter(configuration).execute(programClassPool); in target()
246 if (configuration.verbose) in printSeeds()
251 PrintStream ps = createPrintStream(configuration.printSeeds); in printSeeds()
254 new SeedPrinter(ps).write(configuration, programClassPool, libraryClassPool); in printSeeds()
268 if (configuration.verbose) in shrink()
273 if (configuration.whyAreYouKeeping != null) in shrink()
279 if (configuration.printUsage != null) in shrink()
281 … System.out.println("Printing usage to [" + fileName(configuration.printUsage) + "]..."); in shrink()
287 new Shrinker(configuration).execute(programClassPool, libraryClassPool); in shrink()
296 if (configuration.verbose) in inlineSubroutines()
302 new SubroutineInliner(configuration).execute(programClassPool); in inlineSubroutines()
311 if (configuration.verbose) in optimize()
317 return new Optimizer(configuration).execute(programClassPool, libraryClassPool); in optimize()
326 if (configuration.verbose) in obfuscate()
331 if (configuration.applyMapping != null) in obfuscate()
333 … System.out.println("Applying mapping [" + fileName(configuration.applyMapping) + "]"); in obfuscate()
337 if (configuration.printMapping != null) in obfuscate()
339 … System.out.println("Printing mapping to [" + fileName(configuration.printMapping) + "]..."); in obfuscate()
344 new Obfuscator(configuration).execute(programClassPool, libraryClassPool); in obfuscate()
366 if (configuration.verbose) in preverify()
372 new Preverifier(configuration).execute(programClassPool); in preverify()
390 if (configuration.verbose) in writeOutput()
396 new OutputWriter(configuration).execute(programClassPool); in writeOutput()
405 if (configuration.verbose) in dump()
407 System.out.println("Printing classes to [" + fileName(configuration.dump) + "]..."); in dump()
410 PrintStream ps = createPrintStream(configuration.dump); in dump()
429 return file == Configuration.STD_OUT ? System.out : in createPrintStream()
459 if (file == Configuration.STD_OUT) in fileName()
490 Configuration configuration = new Configuration(); in main() local
499 parser.parse(configuration); in main()
507 new ProGuard(configuration).execute(); in main()
511 if (configuration.verbose) in main()