cmsdk: Strip unused cmsdk members for codecoverage.
Change-Id: Id5437b11168d0dfd222cfc4abef2fc03629a17ca TICKET: CYNGNOS-2189
This commit is contained in:
parent
b3ea2859fd
commit
ba01275cb4
@ -22,11 +22,14 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
|
|||||||
org.cyanogenmod.platform.sdk \
|
org.cyanogenmod.platform.sdk \
|
||||||
android-support-test
|
android-support-test
|
||||||
|
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-subdir-java-files, src/)
|
LOCAL_SRC_FILES := $(call all-subdir-java-files, src/)
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := CMPlatformTests
|
LOCAL_PACKAGE_NAME := CMPlatformTests
|
||||||
LOCAL_CERTIFICATE := platform
|
LOCAL_CERTIFICATE := platform
|
||||||
LOCAL_JAVA_LIBRARIES := android.test.runner
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
||||||
LOCAL_PROGUARD_ENABLED := disabled
|
LOCAL_PROGUARD_ENABLED := optimization shrinktests
|
||||||
|
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
||||||
|
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
13
tests/proguard.flags
Normal file
13
tests/proguard.flags
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
-injars ../../../out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes.jack
|
||||||
|
-dontskipnonpubliclibraryclasses
|
||||||
|
-dontskipnonpubliclibraryclassmembers
|
||||||
|
-dontwarn android.hardware.Sensor
|
||||||
|
-dontwarn android.test.AndroidTestRunner
|
||||||
|
-dontwarn java.util.concurrent.ConcurrentLinkedDeque
|
||||||
|
-dontwarn android.cts.util.**
|
||||||
|
-dontwarn junit.**
|
||||||
|
-forceprocessing
|
||||||
|
-dontobfuscate
|
||||||
|
-whyareyoukeeping class cyanogenmod.util.ColorUtils
|
||||||
|
-verbose
|
||||||
|
-dump fuck.txt
|
Loading…
Reference in New Issue
Block a user