Make compiler/jni/ symbols hidden.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I04dc99e1491219442ba128f57a08112ae4783b92
diff --git a/compiler/jni/jni_compiler_test.cc b/compiler/jni/jni_compiler_test.cc
index e341f8d..31ce731 100644
--- a/compiler/jni/jni_compiler_test.cc
+++ b/compiler/jni/jni_compiler_test.cc
@@ -22,6 +22,7 @@
#include "art_method-inl.h"
#include "base/bit_utils.h"
#include "base/casts.h"
+#include "base/macros.h"
#include "base/mem_map.h"
#include "class_linker.h"
#include "common_compiler_test.h"
@@ -71,7 +72,7 @@
// TODO: In the Baker read barrier configuration, add checks to ensure
// the Marking Register's value is correct.
-namespace art {
+namespace art HIDDEN {
enum class JniKind {
kNormal, // Regular kind of un-annotated natives.
@@ -849,6 +850,7 @@
return x | y;
}
+EXPORT // Defined in `libart.so`.
void InitEntryPoints(JniEntryPoints* jpoints,
QuickEntryPoints* qpoints,
bool monitor_jni_entry_exit);