diff options
| author | Ying Wang <wangying@google.com> | 2013-09-20 16:17:43 -0700 |
|---|---|---|
| committer | Ying Wang <wangying@google.com> | 2013-09-20 16:32:42 -0700 |
| commit | b9cc48a43ed984587c939d02fba5316bf5c0df6e (patch) | |
| tree | 7d42e31a97264803b1147ef6001e8a5e6968a122 /src/proguard/Configuration.java | |
| parent | 54f59ac04f3e21d5aecdd46bb1e7f4577924ab92 (diff) | |
| download | external_proguard-b9cc48a43ed984587c939d02fba5316bf5c0df6e.tar.gz external_proguard-b9cc48a43ed984587c939d02fba5316bf5c0df6e.tar.bz2 external_proguard-b9cc48a43ed984587c939d02fba5316bf5c0df6e.zip | |
Upgrade Proguard to 4.10.
Downloaded from:
http://sourceforge.net/projects/proguard/files/proguard/4.10/
Bug: 8992787
Change-Id: Ia07cc5b3feed443982b7e8f2a1f361479e735b18
Diffstat (limited to 'src/proguard/Configuration.java')
| -rw-r--r-- | src/proguard/Configuration.java | 16 |
1 files changed, 13 insertions, 3 deletions
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 @@ -237,12 +240,19 @@ 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 <code>String</code>s specifying a filter for clases whose + * A list of <code>String</code>s specifying a filter for classes whose * string constants are to be adapted, based on corresponding obfuscated * class names. */ |
