From b9cc48a43ed984587c939d02fba5316bf5c0df6e Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Fri, 20 Sep 2013 16:17:43 -0700 Subject: Upgrade Proguard to 4.10. Downloaded from: http://sourceforge.net/projects/proguard/files/proguard/4.10/ Bug: 8992787 Change-Id: Ia07cc5b3feed443982b7e8f2a1f361479e735b18 --- src/proguard/Configuration.java | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/proguard/Configuration.java') diff --git a/src/proguard/Configuration.java b/src/proguard/Configuration.java index d513e2c..4711260 100644 --- a/src/proguard/Configuration.java +++ b/src/proguard/Configuration.java @@ -2,7 +2,7 @@ * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * - * Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu) + * Copyright (c) 2002-2013 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free @@ -32,6 +32,9 @@ import java.util.List; */ public class Configuration { + public static final File STD_OUT = new File(""); + + /////////////////////////////////////////////////////////////////////////// // Input and output options. /////////////////////////////////////////////////////////////////////////// @@ -50,7 +53,7 @@ public class Configuration * Specifies whether to skip non-public library classes while reading * library jars. */ - public boolean skipNonPublicLibraryClasses = true; + public boolean skipNonPublicLibraryClasses = false; /** * Specifies whether to skip non-public library class members while reading @@ -236,13 +239,20 @@ public class Configuration */ public List keepAttributes; + /** + * Specifies whether method parameter names and types should be kept for + * methods that are not obfuscated. This is achieved by keeping partial + * "LocalVariableTable" and "LocalVariableTypeTable" attributes. + */ + public boolean keepParameterNames = false; + /** * An optional replacement for all SourceFile attributes. */ public String newSourceFileAttribute; /** - * A list of Strings specifying a filter for clases whose + * A list of Strings specifying a filter for classes whose * string constants are to be adapted, based on corresponding obfuscated * class names. */ -- cgit v1.2.3