summaryrefslogtreecommitdiffstats
path: root/build/android/android_no_jni_exports.lst
blob: ffc6cf7028cb9ca338f9cc946c21d4faeed80836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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_*;
};