| Index: base/android/jni_generator/testNativesLong.golden
|
| diff --git a/base/android/jni_generator/testNativesLong.golden b/base/android/jni_generator/testNativesLong.golden
|
| index 12a153e56fecd77f532cc5fcce04051b2273068c..30f84fbd53c9bd2eee9508e5c5f9d48f55f5e117 100644
|
| --- a/base/android/jni_generator/testNativesLong.golden
|
| +++ b/base/android/jni_generator/testNativesLong.golden
|
| @@ -48,6 +48,12 @@ static const JNINativeMethod kMethodsTestJni[] = {
|
|
|
| static bool RegisterNativesImpl(JNIEnv* env) {
|
| if (base::android::IsManualJniRegistrationDisabled()) return true;
|
| + base::android::LibraryProcessType proc_type =
|
| + base::android::GetLibraryProcessType(env);
|
| + if (proc_type != base::android::PROCESS_BROWSER &&
|
| + proc_type != base::android::PROCESS_UNINITIALIZED) {
|
| + return true;
|
| + }
|
|
|
| const int kMethodsTestJniSize = arraysize(kMethodsTestJni);
|
|
|
|
|