Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: testing/android/proguard_under_test.flags

Issue 2160693002: Turning obfuscation on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@annotation
Patch Set: broken Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/android/proguard_for_tests.flags ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.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 }
106
107 # This is to prevent renaming two methods in two different interfaces to the
108 # same name. The testing .apk has a few classes which implement two interfaces
109 # that are never implemented together in the real .apk, and thus would create a
110 # conflict. We don't expect the absence of this to cause any issues in the real
111 # .apk, since the same classes are still being obfuscated, and the ProGuarded
112 # .apk is not then being fed into another run.
113 -useuniqueclassmembernames
OLDNEW
« no previous file with comments | « testing/android/proguard_for_tests.flags ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698