summaryrefslogtreecommitdiffstats
path: root/android/jni
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-10-13 18:35:40 +0100
committerKristian Monsen <kristianm@google.com>2011-10-21 12:31:00 +0100
commita3fef89eb00853adb6524ab3d11c60f754f08b09 (patch)
tree7536e811f0518ca0e29ae7482e8fe0c12860b65d /android/jni
parentcd7ce18ede8128e5c7a10cbc96c9ab197a4999b0 (diff)
downloadexternal_chromium-a3fef89eb00853adb6524ab3d11c60f754f08b09.zip
external_chromium-a3fef89eb00853adb6524ab3d11c60f754f08b09.tar.gz
external_chromium-a3fef89eb00853adb6524ab3d11c60f754f08b09.tar.bz2
Part of fix for bug 5455901 Export symbols in android/
Exporting needed symbols from Android specific code. Used NET_EXPORT for net code and BASE_API for other code. Change-Id: Ief7426180eec993bbe894e7231b224dcac657c7b
Diffstat (limited to 'android/jni')
-rw-r--r--android/jni/jni_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/jni/jni_utils.h b/android/jni/jni_utils.h
index b4141f8..96734a7 100644
--- a/android/jni/jni_utils.h
+++ b/android/jni/jni_utils.h
@@ -5,6 +5,7 @@
#include <string>
+#include "base/base_api.h"
#include "base/string16.h"
#include "nativehelper/jni.h"
@@ -12,7 +13,7 @@ namespace android {
namespace jni { // To avoid name conflict with similar functions in webkit
-void SetJavaVM(JavaVM* vm);
+void BASE_API SetJavaVM(JavaVM* vm);
// Get the JNI environment for the current thread.
JNIEnv* GetJNIEnv();