blob: e941da812ac3d836cf185f3f8b94dbfcbb049438 [file] [log] [blame]
# Copyright 2018 The Chromium Authors. All rights reserved.
# 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.** { *; }
# Do not mark classes as final, as doing so may interfere with mocking.
-optimizations !class/marking/final
# For some unknown reason, JUnit does not like renamed annotations, and causes
# the tests annotated by them not to be run.
-keepnames @interface *