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

Unified Diff: components/cronet/android/proguard.cfg

Issue 1263053002: Move JNI annotations to annotations package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: components/cronet/android/proguard.cfg
diff --git a/components/cronet/android/proguard.cfg b/components/cronet/android/proguard.cfg
index 196bd2694f85d4b82159ea3bd0cb309fbba79395..52a3a5933b8d0c3b732e033c4d2d222098b31ce3 100644
--- a/components/cronet/android/proguard.cfg
+++ b/components/cronet/android/proguard.cfg
@@ -1,11 +1,11 @@
# Keep annotations used by chromium to keep members referenced by native code
--keep class org.chromium.base.*Native*
--keep class org.chromium.base.JNINamespace
+-keep class org.chromium.base.annotations.*Native*
+-keep class org.chromium.base.annotations.JNINamespace
-keepclasseswithmembers class org.chromium.** {
@org.chromium.base.annotations.AccessedByNative <fields>;
}
-keepclasseswithmembers class org.chromium.** {
- @org.chromium.base.*Native* <methods>;
+ @org.chromium.base.annotations.*Native* <methods>;
}
# TODO(mef) remove unnecessary classes from base, so we don't have to preserve

Powered by Google App Engine
This is Rietveld 408576698