proguard-project.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # To enable ProGuard in your project, edit project.properties
  2. # to define the proguard.config property as described in that file.
  3. #
  4. # Add project specific ProGuard rules here.
  5. # By default, the flags in this file are appended to flags specified
  6. # in ${sdk.dir}/tools/proguard/proguard-android.txt
  7. # You can edit the include path and order by changing the ProGuard
  8. # include property in project.properties.
  9. #
  10. # For more details, see
  11. # http://developer.android.com/guide/developing/tools/proguard.html
  12. # Add any project specific keep options here:
  13. # If your project uses WebView with JS, uncomment the following
  14. # and specify the fully qualified class name to the JavaScript interface
  15. # class:
  16. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  17. # public *;
  18. #}
  19. #-libraryjars /libs/android-support-v4.jar
  20. #-libraryjars /libs/httpmime-4.1.1.jar
  21. -dontwarn android.support.v4.**
  22. -dontwarn com.google.android.gms.**
  23. # Remove all Verbose/Debug logging
  24. -optimizations code/removal/simple,code/removal/advanced
  25. -dontobfuscate
  26. -assumenosideeffects class android.util.Log {
  27. public static *** d(...);
  28. public static *** v(...);
  29. public static *** i(...);
  30. }
  31. -keep class com.baidu.** {*;}
  32. #-keep class com.baidu.mapapi.** {*;}
  33. -keep class vi.com.gdi.bgl.** {*;}