summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-04 23:32:56 +0000
committerwangxianzhu@chromium.org <wangxianzhu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-04 23:32:56 +0000
commit8a28cadd4e088407959dd8b28578bd3beafd4711 (patch)
tree16a26899d5fe7c5b52e1347a5d88591a52c3a345 /testing
parentb61fbe0f0b68483dd90fb08964d1af6709c202bf (diff)
downloadchromium_src-8a28cadd4e088407959dd8b28578bd3beafd4711.zip
chromium_src-8a28cadd4e088407959dd8b28578bd3beafd4711.tar.gz
chromium_src-8a28cadd4e088407959dd8b28578bd3beafd4711.tar.bz2
Use Android API for GetDisplayNameForLocale().
Using Android API, we can reduce the data size of ICU and thus reduce the binary size of chromium-android. BUG=none TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry TBR=sky Review URL: http://codereview.chromium.org/10224004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135484 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
-rw-r--r--testing/android/native_test_launcher.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/android/native_test_launcher.cc b/testing/android/native_test_launcher.cc
index 1555fbe..5e600b8 100644
--- a/testing/android/native_test_launcher.cc
+++ b/testing/android/native_test_launcher.cc
@@ -6,6 +6,7 @@
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
+#include "base/android/locale_utils.h"
#include "base/android/path_utils.h"
#include "base/android/scoped_java_ref.h"
#include "base/at_exit.h"
@@ -150,6 +151,7 @@ void LibraryLoadedOnMainThread(JNIEnv* env) {
false); // Tick count
VLOG(0) << "Chromium logging enabled: level = " << logging::GetMinLogLevel()
<< ", default verbosity = " << logging::GetVlogVerbosity();
+ base::android::RegisterLocaleUtils(env);
base::android::RegisterPathUtils(env);
}