| # 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 |