Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3244)

Unified Diff: base/test/BUILD.gn

Issue 987943002: Fix SysStrings unit test failure on Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/test/BUILD.gn
diff --git a/base/test/BUILD.gn b/base/test/BUILD.gn
index 120159ee89576c9a52213cfb549ba922acbe95e9..b5984c6badaad164e5e043b5c05800f3c61d30ca 100644
--- a/base/test/BUILD.gn
+++ b/base/test/BUILD.gn
@@ -127,6 +127,13 @@ source_set("test_support") {
"scoped_locale.h",
]
}
+
+ # Allow more direct string conversions on platforms with native utf8
+ # strings
+ if (is_mac || is_ios || is_chromeos) {
+ defines += [ "SYSTEM_NATIVE_UTF8" ]
+ }
+
if (is_ios) {
# iOS uses its own unit test launcher.
sources -= [ "launcher/unit_test_launcher.cc" ]
« no previous file with comments | « base/base.gypi ('k') | base/test/scoped_locale.cc » ('j') | base/test/scoped_locale.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698