diff options
author | Raphael Moll <ralf@android.com> | 2012-04-16 14:07:39 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-04-16 14:07:40 -0700 |
commit | 396fc3405ba9b833b19ba13ae4b16ed4c542aa16 (patch) | |
tree | 230be421eaa8c9e4d3ce621bb9ecdc7bf1bda03d /sdkmanager | |
parent | 8b1b0011f26fadf28f0d5303a017c1527ca0d78d (diff) | |
parent | 86f8b11eb187eae363a933f8ef3bb7ef8de0e489 (diff) | |
download | sdk-396fc3405ba9b833b19ba13ae4b16ed4c542aa16.zip sdk-396fc3405ba9b833b19ba13ae4b16ed4c542aa16.tar.gz sdk-396fc3405ba9b833b19ba13ae4b16ed4c542aa16.tar.bz2 |
Merge "SDK: change proguard.config for Windows."
Diffstat (limited to 'sdkmanager')
-rw-r--r-- | sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java index 17d3ccf..09a35c5 100644 --- a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java +++ b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java @@ -29,7 +29,6 @@ import com.android.sdklib.ISdkLog; import com.android.sdklib.SdkConstants; import java.io.BufferedReader; -import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; @@ -186,8 +185,10 @@ public class ProjectProperties implements IPropertySource { "#\n" + "# To enable ProGuard to shrink and obfuscate your code, uncomment this " + "(available properties: sdk.dir, user.home):\n" + - "#" + PROPERTY_PROGUARD_CONFIG + "=${" + PROPERTY_SDK +"}" + File.separator - + FD_TOOLS + File.separator + FD_PROGUARD + File.separator + // Note: always use / separators in the properties paths. Both Ant and + // our ExportHelper will convert them properly according to the platform. + "#" + PROPERTY_PROGUARD_CONFIG + "=${" + PROPERTY_SDK +"}/" + + FD_TOOLS + '/' + FD_PROGUARD + '/' + FN_ANDROID_PROGUARD_FILE + ':' + FN_PROJECT_PROGUARD_FILE +'\n' + "\n"; |