| Index: build/android/android_no_jni_exports.lst
|
| diff --git a/build/android/android_no_jni_exports.lst b/build/android/android_no_jni_exports.lst
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ffc6cf7028cb9ca338f9cc946c21d4faeed80836
|
| --- /dev/null
|
| +++ b/build/android/android_no_jni_exports.lst
|
| @@ -0,0 +1,17 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +# This script makes all JNI exported symbols local, to prevent the JVM from
|
| +# being able to find them, enforcing use of manual JNI function registration.
|
| +# This is used for all Android binaries by default, unless they explicitly state
|
| +# that they want JNI exported symbols to remain visible, as we need to ensure
|
| +# the manual registration path is correct to maintain compatibility with the
|
| +# crazy linker.
|
| +# Check ld version script manual:
|
| +# https://sourceware.org/binutils/docs-2.24/ld/VERSION.html#VERSION
|
| +
|
| +{
|
| + local:
|
| + Java_*;
|
| +};
|
|
|