summaryrefslogtreecommitdiffstats
path: root/base/strings
diff options
context:
space:
mode:
authorjdduke <jdduke@chromium.org>2015-05-05 00:34:05 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-05 07:34:51 +0000
commit9f355f21c4049c622c71fc66a50e0288c5211335 (patch)
treeb6d24d34e4c2a71d5502c110d17899964cfcd3a3 /base/strings
parent3e8bda613486ae81f53428ab9f41a7dbb7f9f0c3 (diff)
downloadchromium_src-9f355f21c4049c622c71fc66a50e0288c5211335.zip
chromium_src-9f355f21c4049c622c71fc66a50e0288c5211335.tar.gz
chromium_src-9f355f21c4049c622c71fc66a50e0288c5211335.tar.bz2
Reland "Enable libc++ on Android"
Switch all Android builds to use libc++ instead of stlport. This change originally landed in crrev.com/315085, but was reverted in crrev.com/315174 due to CQ execution time regressions. The root cause of the test time regression was determined to be an issue with MD5 hash computation, where hashing failed to produce a consistent result in turn preventing deployment optimizations. This was resolved in crbug.com/456396, leaving libc++ test runs comparable with stlport runs. BUG=456396,427718 Review URL: https://codereview.chromium.org/951983002 Cr-Commit-Position: refs/heads/master@{#328296}
Diffstat (limited to 'base/strings')
-rw-r--r--base/strings/string_util.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/base/strings/string_util.cc b/base/strings/string_util.cc
index e084cb5..6f6d6e2 100644
--- a/base/strings/string_util.cc
+++ b/base/strings/string_util.cc
@@ -454,8 +454,6 @@ bool LowerCaseEqualsASCII(string16::const_iterator a_begin,
return DoLowerCaseEqualsASCII(a_begin, a_end, b);
}
-// TODO(port): Resolve wchar_t/iterator issues that require OS_ANDROID here.
-#if !defined(OS_ANDROID)
bool LowerCaseEqualsASCII(const char* a_begin,
const char* a_end,
const char* b) {
@@ -468,8 +466,6 @@ bool LowerCaseEqualsASCII(const char16* a_begin,
return DoLowerCaseEqualsASCII(a_begin, a_end, b);
}
-#endif // !defined(OS_ANDROID)
-
bool EqualsASCII(const string16& a, const base::StringPiece& b) {
if (a.length() != b.length())
return false;