Index: base/base.gypi |
diff --git a/base/base.gypi b/base/base.gypi |
index f9451662c086f77c3be269eeab051684bb344579..7d155fd81e2f5f7e776a27078ebe6c5ecd45de38 100644 |
--- a/base/base.gypi |
+++ b/base/base.gypi |
@@ -979,6 +979,11 @@ |
['OS == "win" and >(nacl_untrusted_build)==1', { |
'sources/': [ ['exclude', '\\.h$'] ], |
}], |
+ # Enable more direct string conversions on platforms with native utf8 |
+ # strings |
+ ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', { |
+ 'defines': ['SYSTEM_NATIVE_UTF8'], |
+ }], |
], |
}], |
['base_i18n_target==1', { |