Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index fe03aac66be0bd10bbc0c172a98f1b79b72830c1..a7bd9a2722c8890b18783336331437027f9b2771 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -771,6 +771,12 @@ component("base") { |
"//third_party/modp_b64", |
] |
+ # Allow more direct string conversions on platforms with native utf8 |
+ # strings |
+ if (is_mac || is_ios || is_chromeos) { |
+ defines += [ "SYSTEM_NATIVE_UTF8" ] |
+ } |
+ |
if (is_android) { |
sources += [ |
"memory/discardable_memory_ashmem_allocator.cc", |