Commit e19f823a authored by Yun Liu's avatar Yun Liu Committed by Commit Bot

Add proguard flags to make JaCoCo work on release build

Bug: 988116
Change-Id: I046e4e17b4aa1e5b6741123e4585c4c82470815d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1742658Reviewed-by: default avatarSam Maier <smaier@chromium.org>
Reviewed-by: default avatarYun Liu <yliuyliu@google.com>
Commit-Queue: Yun Liu <yliuyliu@google.com>
Cr-Commit-Position: refs/heads/master@{#685370}
parent 4781f2fc
# This package is only used when Java coverage is enabled. # This package is only used when Java coverage is enabled.
# JaCoCo libraries contain all dependencies so we can ignore warning here. # JaCoCo libraries contain all dependencies so we can ignore warning here.
-dontwarn java.lang.instrument.** -dontwarn java.lang.instrument.**
# Keep everything for the jacoco classes.
-keep class com.vladium.** {*;}
-keep class org.jacoco.** {*;}
-dontwarn org.jacoco.**
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment