Add a hack to enable building a release candidate.

With proguard "-optimizationpasses 5", not able to
obfuscate the CursorLoader. A known issue.

Remove
- AndoridMockRuntime.jar
- googleloginclient-helper.jar
AndoridMockRuntime.jar was included twice, preventing unit tests
from running.

Clean up classpath to not include jar files in the lib directory.
Else the jar files will get included twice.

Move jar files in MyTracks/lib/google-api-client/ to MyTracks/lib
so that proguard can pick up the jar files.

Clean up proguard.cfg into three sections.
- update the config from the default project
- update the config from the Google APIs client library
- remove unnecessary My Tracks specific "-dontwarn"
This commit is contained in:
Jimmy Shih
2012-04-02 18:45:17 -07:00
parent 840576055f
commit a34c17a461
16 changed files with 87 additions and 54 deletions
-2
View File
@@ -9,8 +9,6 @@
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/MyTracks"/>
<classpathentry kind="lib" path="libs/AndroidMockGenerator.jar"/>
<classpathentry kind="lib" path="libs/robotium-solo-3.1.jar"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
Binary file not shown.