
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# 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 *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile


-optimizationpasses 5

-dontusemixedcaseclassnames
-dontwarn com.ss.android.common.applog.**

# old source
-keep class com.ss.android.common.applog.* {*;}
-keep public class com.ss.sys.ces.utils.NetInterface {
    public *;
}

# SecSDK Interface
-keep public class com.ss.sys.ces.out.* {
    public *;
}

# SecSDK Main Function
-keep public class com.ss.sys.ces.a {*;}

# for gorgon in 20181128
-keep class com.ss.sys.ces.gg.tt {
    public *;
}

# for defendence about default usage
-keep class com.ss.sys.ces.die.xx {
    public *;
}

# VerifyCode
-keep public class com.ss.sys.ck.SCCheckUtils {*;}
-keep public class com.ss.sys.ck.SCCheckListener {*;}

# delete all log
#-assumenosideeffects class android.util.Log{
#    public static int v(...);
#    public static int i(...);
#    public static int d(...);
#    public static int w(...);
#    public static int e(...);
#}

# GPSDK API
-keep public class com.bytedance.gameprotect.GameProtect {
    public *;
}

-keep class com.bytedance.gameprotect.UserType {
    public static final <fields>;
}

-keep class com.bytedance.gameprotect.Region {
    public static final <fields>;
}

#Check GPSDK
-keep public class com.ss.cgpa.BaseDataHelp {
    public *;
}

-keep public class com.ss.cgpa.DataClientHelp {
    public *;
}

-keep public class com.ss.cgpa.NativeDataHelp {
    public *;
}

-keep public class com.ss.cgpa.SocketChannelStream {
    public *;
}

# Generated keep rule for Lifecycle observer adapter.
-if class com.bytedance.gameprotect.AppLifecycleListener {
    <init>(...);
}
-keep class com.bytedance.gameprotect.AppLifecycleListener_LifecycleAdapter {
    <init>(...);
}


-keep class com.bytedance.memory.MemoryWidget{*;}
-keep class com.bytedance.memory.heap.HeapDump{*;}
-keep class com.bytedance.memory.test.OOMMaker{*;}
-keep class org.json.** {*;}
-keep class org.eclipse.mat.** {*;}
-keep class org.apache.commons.cli.** {*;}

