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

Unified Diff: base/android/jni_generator/testConstantsFromJavaP.golden

Issue 2199973003: Android JNI gen: Don't emit code for empty RegisterNatives() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: Android JNI gen: Don't emit code for empty RegisterNatives() Created 4 years, 4 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: base/android/jni_generator/testConstantsFromJavaP.golden
diff --git a/base/android/jni_generator/testConstantsFromJavaP.golden b/base/android/jni_generator/testConstantsFromJavaP.golden
index cd4786a2071f6c23b9972ce0dc3608f3a9dad28e..2ef3e9350fd37e850838e95898733076f3fb5731 100644
--- a/base/android/jni_generator/testConstantsFromJavaP.golden
+++ b/base/android/jni_generator/testConstantsFromJavaP.golden
@@ -2129,13 +2129,6 @@ static void Java_MotionEvent_writeToParcel(JNIEnv* env, jobject obj, jobject p0,
// Step 3: RegisterNatives.
-static bool RegisterNativesImpl(JNIEnv* env) __attribute__((unused));
-static bool RegisterNativesImpl(JNIEnv* env) {
- if (base::android::IsManualJniRegistrationDisabled()) return true;
-
- return true;
-}
-
} // namespace JNI_MotionEvent
#endif // android_view_MotionEvent_JNI
« no previous file with comments | « base/android/jni_generator/testCalledByNatives.golden ('k') | base/android/jni_generator/testFromJavaP.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698