chromium/chrome/android/proguard/apk_for_test.flags

# Copyright 2018 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Contains flags that should be applied only to chrome_public_apk_for_test.

# Do not obfuscated code that is used only for testing.
# Doing so triggers an obfuscation error in chrome_public_test_apk, which has a
# -keep for **.test.**.
-keepnames class **.test.** { *; }

# For some unknown reason, JUnit does not like renamed annotations, and causes
# the tests annotated by them not to be run.
-keepnames @interface *