From 6164456840565b0c719eb4cf5b1dae878d87c264 Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Tue, 2 Jan 2018 03:31:58 +0100 Subject: [PATCH] fixed proguard-rules.pro for Android tests (#18594) --- tests/cpp-empty-test/proj.android/app/proguard-rules.pro | 2 +- tests/cpp-tests/proj.android/app/proguard-rules.pro | 2 +- tests/game-controller-test/proj.android/app/proguard-rules.pro | 2 +- tests/performance-tests/proj.android/app/proguard-rules.pro | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cpp-empty-test/proj.android/app/proguard-rules.pro b/tests/cpp-empty-test/proj.android/app/proguard-rules.pro index 0f036cc3fa..c3d6dcccae 100644 --- a/tests/cpp-empty-test/proj.android/app/proguard-rules.pro +++ b/tests/cpp-empty-test/proj.android/app/proguard-rules.pro @@ -21,7 +21,7 @@ -dontwarn org.cocos2dx.** -keep public class com.chukong.** { *; } -dontwarn com.chukong.** --keep public com.huawei.android.** { *; } +-keep public class com.huawei.android.** { *; } -dontwarn com.huawei.android.** # Proguard Apache HTTP for release diff --git a/tests/cpp-tests/proj.android/app/proguard-rules.pro b/tests/cpp-tests/proj.android/app/proguard-rules.pro index 0f036cc3fa..c3d6dcccae 100644 --- a/tests/cpp-tests/proj.android/app/proguard-rules.pro +++ b/tests/cpp-tests/proj.android/app/proguard-rules.pro @@ -21,7 +21,7 @@ -dontwarn org.cocos2dx.** -keep public class com.chukong.** { *; } -dontwarn com.chukong.** --keep public com.huawei.android.** { *; } +-keep public class com.huawei.android.** { *; } -dontwarn com.huawei.android.** # Proguard Apache HTTP for release diff --git a/tests/game-controller-test/proj.android/app/proguard-rules.pro b/tests/game-controller-test/proj.android/app/proguard-rules.pro index ecbfe714e5..2c062c4946 100644 --- a/tests/game-controller-test/proj.android/app/proguard-rules.pro +++ b/tests/game-controller-test/proj.android/app/proguard-rules.pro @@ -21,7 +21,7 @@ -dontwarn org.cocos2dx.** -keep public class com.chukong.** { *; } -dontwarn com.chukong.** --keep public com.huawei.android.** { *; } +-keep public class com.huawei.android.** { *; } -dontwarn com.huawei.android.** # Proguard Apache HTTP for release diff --git a/tests/performance-tests/proj.android/app/proguard-rules.pro b/tests/performance-tests/proj.android/app/proguard-rules.pro index ecbfe714e5..2c062c4946 100644 --- a/tests/performance-tests/proj.android/app/proguard-rules.pro +++ b/tests/performance-tests/proj.android/app/proguard-rules.pro @@ -21,7 +21,7 @@ -dontwarn org.cocos2dx.** -keep public class com.chukong.** { *; } -dontwarn com.chukong.** --keep public com.huawei.android.** { *; } +-keep public class com.huawei.android.** { *; } -dontwarn com.huawei.android.** # Proguard Apache HTTP for release