From 873364cfca955c15a8f766e685007d26d4d59b8b Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Fri, 4 Mar 2016 15:29:23 -0800 Subject: [PATCH] cmsdk: Remove debugging from proguard. TICKET: CYNGNOS-2189 Change-Id: Ia45f1e31bc23dcffc5a7f9923e268f9ad513df2a --- tests/proguard.flags | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/tests/proguard.flags b/tests/proguard.flags index 27fa7d4..abd3e06 100644 --- a/tests/proguard.flags +++ b/tests/proguard.flags @@ -1,13 +1,34 @@ +# Copyright (C) 2016 The CyanogenMod Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Make sure to process the dependency jack file from cmsdk compile -injars ../../../out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes.jack + +# Don't skip non public library classes, make sure we're not keeping anything which will get mapped against api verification. -dontskipnonpubliclibraryclasses + +# Do the same with class members -dontskipnonpubliclibraryclassmembers --dontwarn android.hardware.Sensor --dontwarn android.test.AndroidTestRunner --dontwarn java.util.concurrent.ConcurrentLinkedDeque --dontwarn android.cts.util.** + +# Don't warn about the Android Support Test JUnit Runner +-dontwarn android.support.test.runner.AndroidJUnitRunner + +# Don't warn about junit -dontwarn junit.** + +# Always process -forceprocessing + +# Make sure not to obfuscate the output -dontobfuscate --whyareyoukeeping class cyanogenmod.util.ColorUtils --verbose --dump fuck.txt \ No newline at end of file