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