Files
waf-platform/EdgeHttpDNS/sdk/android/httpdns-sdk/proguard-rules-for-test.pro
2026-03-02 20:07:53 +08:00

50 lines
1.9 KiB
Prolog

# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/ryan/Downloads/adt-bundle-mac-x86_64-20131030/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-optimizationpasses 3
-dontoptimize
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
-overloadaggressively
#-allowaccessmodification
-useuniqueclassmembernames
-keeppackagenames com.newsdk.sdk.android.httpdns
-keep class com.newsdk.sdk.android.httpdns.HttpDns{*;}
-keep class com.newsdk.sdk.android.httpdns.HttpDnsService{*;}
-keep class com.newsdk.sdk.android.httpdns.SyncService{*;}
-keep class com.newsdk.sdk.android.httpdns.RequestIpType{*;}
-keep class com.newsdk.sdk.android.httpdns.net64.Net64Service{*;}
-keep class com.newsdk.sdk.android.httpdns.DegradationFilter{*;}
-keep class com.newsdk.sdk.android.httpdns.ranking.IPRankingBean{*;}
-keep class com.newsdk.sdk.android.httpdns.ILogger{*;}
-keepclasseswithmembers class com.newsdk.sdk.android.httpdns.log.HttpDnsLog {
public static *** setLogger(***);
public static *** removeLogger(***);
public static *** enable(***);
}
-keep class com.newsdk.sdk.android.httpdns.HTTPDNSResult{*;}
-keep class com.newsdk.sdk.android.httpdns.ApiForTest{*;}
-keep class com.newsdk.sdk.android.httpdns.test.** {*;}
-keep class com.newsdk.sdk.android.httpdns.resolve.ResolveHostResponse{*;}
-keep class com.newsdk.sdk.android.httpdns.utils.CommonUtil{
public <methods>;
public <fields>;
}