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

Unified Diff: chrome/android/java/proguard.flags

Issue 2150533005: Annotated functions/classes more cleanly kept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/proguard.flags
diff --git a/chrome/android/java/proguard.flags b/chrome/android/java/proguard.flags
index 59ce6b7c21f2cbca1ad75556926e7704b0368503..acfa41809b4c5878a37dc4f57f1512e012d01bde 100644
--- a/chrome/android/java/proguard.flags
+++ b/chrome/android/java/proguard.flags
@@ -15,54 +15,50 @@
-keep public class org.chromium** extends android.app.Fragment
# Keeps for class level annotations.
--keep @**.UsedByReflection class *
--keep @**.VisibleForTesting class *
+-keep @org.chromium.base.annotations.UsedByReflection class com.google.android.apps.chrome.**
agrieve 2016/07/15 14:44:34 I think we're fine to leave the right-hand-side of
+-keep @org.chromium.base.annotations.UsedByReflection class org.chromium.**
+-keep @org.chromium.base.VisibleForTesting class com.google.android.apps.chrome.**
+-keep @org.chromium.base.VisibleForTesting class org.chromium.**
# Keeps for method level annotations.
-keepclasseswithmembers class com.google.android.apps.chrome.** {
- @**.AccessedByNative <fields>;
+ @org.chromium.base.annotations.AccessedByNative <fields>;
}
-keepclasseswithmembers class com.google.android.apps.chrome.** {
- @**.CalledByNative <methods>;
+ @org.chromium.base.annotations.CalledByNative <methods>;
}
-keepclasseswithmembers class com.google.android.apps.chrome.** {
- @**.CalledByNativeUnchecked <methods>;
+ @org.chromium.base.annotations.CalledByNativeUnchecked <methods>;
}
-keepclasseswithmembers class com.google.android.apps.chrome.** {
- @**.JavascriptInterface <methods>;
+ @org.chromium.base.annotations.NativeCall <methods>;
}
-keepclasseswithmembers class com.google.android.apps.chrome.** {
- @**.NativeCall <methods>;
+ @org.chromium.base.annotations.UsedByReflection <methods>;
}
-keepclasseswithmembers class com.google.android.apps.chrome.** {
- @**.UsedByReflection <methods>;
-}
--keepclasseswithmembers class com.google.android.apps.chrome.** {
- @**.VisibleForTesting <methods>;
+ @org.chromium.base.VisibleForTesting <methods>;
}
-keepclasseswithmembers class com.google.android.apps.chrome.** {
native <methods>;
}
-keepclasseswithmembers class org.chromium.** {
- @**.AccessedByNative <fields>;
-}
--keepclasseswithmembers class org.chromium.** {
- @**.CalledByNative <methods>;
+ @org.chromium.base.annotations.AccessedByNative <fields>;
}
-keepclasseswithmembers class org.chromium.** {
- @**.CalledByNativeUnchecked <methods>;
+ @org.chromium.base.annotations.CalledByNative <methods>;
}
-keepclasseswithmembers class org.chromium.** {
- @**.JavascriptInterface <methods>;
+ @org.chromium.base.annotations.CalledByNativeUnchecked <methods>;
}
-keepclasseswithmembers class org.chromium.** {
- @**.NativeCall <methods>;
+ @org.chromium.base.annotations.NativeCall <methods>;
}
-keepclasseswithmembers class org.chromium.** {
- @**.UsedByReflection <methods>;
+ @org.chromium.base.annotations.UsedByReflection <methods>;
}
-keepclasseswithmembers class org.chromium.** {
- @**.VisibleForTesting <methods>;
+ @org.chromium.base.VisibleForTesting <methods>;
}
-keepclasseswithmembers class org.chromium.** {
native <methods>;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698