aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-03-04 15:29:23 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-04 16:08:15 -0800
commit873364cfca955c15a8f766e685007d26d4d59b8b (patch)
treeb159002f2cc28e6b831b704b876948cc257e7a7a /tests
parent11a4d480dfe17232edba5f2901ef322941b9c60f (diff)
downloadvendor_cmsdk-873364cfca955c15a8f766e685007d26d4d59b8b.zip
vendor_cmsdk-873364cfca955c15a8f766e685007d26d4d59b8b.tar.gz
vendor_cmsdk-873364cfca955c15a8f766e685007d26d4d59b8b.tar.bz2
cmsdk: Remove debugging from proguard.
TICKET: CYNGNOS-2189 Change-Id: Ia45f1e31bc23dcffc5a7f9923e268f9ad513df2a
Diffstat (limited to 'tests')
-rw-r--r--tests/proguard.flags35
1 files 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