Rely on pthread to implement reader-writer lock for Android

Now that we support API Level 14 (Ice Cream Sandwich) and later only, we can safely assume that pthread is available.

This is just a performance optimization.  No user-visible change is intended.


git-svn-id: a6090854-d499-a067-5803-1114d4e51264
diff --git a/src/base/ b/src/base/
index 109ff7e..ef43192 100644
--- a/src/base/
+++ b/src/base/
@@ -43,12 +43,6 @@
 #if defined(OS_WIN)
 // We do not use pthread on Windows
-#elif defined(OS_ANDROID)
-// pthread rwlock is supported since API Level 9.
-// Currently minimum API Level is 7 so we cannot use it.
-// Note that we cannot use __ANDROID_API__ macro in above condition
-// because it is equal to target API Level, which is greater than
-// min sdk level. Causes runtime crash.
 #elif defined(__native_client__)
 // TODO(team): Consider to use glibc rwlock.
diff --git a/src/mozc_version_template.txt b/src/mozc_version_template.txt
index 39f167a..03ef86c 100644
--- a/src/mozc_version_template.txt
+++ b/src/mozc_version_template.txt
@@ -1,6 +1,6 @@
 # NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
 # downloaded by NaCl Mozc.