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

Unified Diff: base/base.gypi

Issue 790903003: Generalizing conditional compilation logic for systems with native utf8 locale. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | base/files/file_path.cc » ('j') | net/base/filename_util_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gypi
diff --git a/base/base.gypi b/base/base.gypi
index f9451662c086f77c3be269eeab051684bb344579..c2c9d47634aee3e31ef2f131aa2a118e8517ab45 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -979,6 +979,10 @@
['OS == "win" and >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '\\.h$'] ],
}],
+ # Enable more direct string conversions on OS with native utf8 strings
gunsch 2014/12/10 01:28:52 OS --> platforms
halliwell 2014/12/11 00:48:28 Done.
+ ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {
gunsch 2014/12/10 01:28:52 no need to wrap the chromeos/chromecast variables
rvargas (doing something else) 2014/12/10 21:06:50 why the test for chromeos is not the same one as f
Lei Zhang 2014/12/10 22:25:15 There's no OS==chromeos... yet. I vaguely remember
halliwell 2014/12/11 00:48:28 Yep, without <(...) around variables, you get name
+ 'defines': ['SYSTEM_NATIVE_UTF8'],
+ }],
],
}],
['base_i18n_target==1', {
« no previous file with comments | « no previous file | base/files/file_path.cc » ('j') | net/base/filename_util_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698