| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file is for proguard flags which will be applied to apks that are being | 5 # This file is for proguard flags which will be applied to apks that are being |
| 6 # built to be instrumentation tested. The flags in this file should only affect | 6 # built to be instrumentation tested. The flags in this file should only affect |
| 7 # how the instrumentation tests interact with the .apk. Do not put any flags in | 7 # how the instrumentation tests interact with the .apk. Do not put any flags in |
| 8 # this file which might affect the correctness of the .apk. | 8 # this file which might affect the correctness of the .apk. |
| 9 | 9 |
| 10 # This line prevents optmization from being applied to either packages. We rely | 10 # This line prevents optmization from being applied to either packages. We rely |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 # TODO(yfriedman): Remove when crbug.com/488192 is fixed. | 88 # TODO(yfriedman): Remove when crbug.com/488192 is fixed. |
| 89 -dontwarn org.apache.http.conn.scheme.LayeredSocketFactory | 89 -dontwarn org.apache.http.conn.scheme.LayeredSocketFactory |
| 90 | 90 |
| 91 # Needed to run ChromeTest.apk | 91 # Needed to run ChromeTest.apk |
| 92 -keepnames class com.google.android.gms.common.GoogleApiAvailability { | 92 -keepnames class com.google.android.gms.common.GoogleApiAvailability { |
| 93 *; | 93 *; |
| 94 } | 94 } |
| 95 | 95 |
| 96 # Needed for chrome_sync_shell_test_apk. Note - these do no affect chrome_apk's | 96 # Needed for chrome_sync_shell_test_apk. Note - these do no affect chrome_apk's |
| 97 # size. | 97 # size. |
| 98 -keep class org.chromium.sync.protocol.* { *; } | 98 -keep class org.chromium.components.sync.protocol.* { *; } |
| 99 | 99 |
| 100 # These resources are referenced in tests, but not in the real application. | 100 # These resources are referenced in tests, but not in the real application. |
| 101 -keepclassmembers class org.chromium.chrome.R$id { | 101 -keepclassmembers class org.chromium.chrome.R$id { |
| 102 int webapp_splash_space; | 102 int webapp_splash_space; |
| 103 int mr_chooser_list; | 103 int mr_chooser_list; |
| 104 int find_toolbar; | 104 int find_toolbar; |
| 105 } | 105 } |
| OLD | NEW |