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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | base/files/file_path.cc » ('j') | net/base/filename_util_unittest.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 'base_i18n_target': 0, 9 'base_i18n_target': 0,
10 }, 10 },
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 ['exclude', '^files/file_util_linux\\.cc$'], 972 ['exclude', '^files/file_util_linux\\.cc$'],
973 ['exclude', '^process/process_linux\\.cc$'], 973 ['exclude', '^process/process_linux\\.cc$'],
974 ['exclude', '^sys_info_linux\\.cc$'], 974 ['exclude', '^sys_info_linux\\.cc$'],
975 ], 975 ],
976 }], 976 }],
977 # Remove all unnecessary files for build_nexe.py to avoid exceeding 977 # Remove all unnecessary files for build_nexe.py to avoid exceeding
978 # command-line-string limitation when building NaCl on Windows. 978 # command-line-string limitation when building NaCl on Windows.
979 ['OS == "win" and >(nacl_untrusted_build)==1', { 979 ['OS == "win" and >(nacl_untrusted_build)==1', {
980 'sources/': [ ['exclude', '\\.h$'] ], 980 'sources/': [ ['exclude', '\\.h$'] ],
981 }], 981 }],
982 # 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.
983 ['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
984 'defines': ['SYSTEM_NATIVE_UTF8'],
985 }],
982 ], 986 ],
983 }], 987 }],
984 ['base_i18n_target==1', { 988 ['base_i18n_target==1', {
985 'defines': [ 989 'defines': [
986 'BASE_I18N_IMPLEMENTATION', 990 'BASE_I18N_IMPLEMENTATION',
987 ], 991 ],
988 'sources': [ 992 'sources': [
989 'i18n/base_i18n_export.h', 993 'i18n/base_i18n_export.h',
990 'i18n/bidi_line_iterator.cc', 994 'i18n/bidi_line_iterator.cc',
991 'i18n/bidi_line_iterator.h', 995 'i18n/bidi_line_iterator.h',
(...skipping 27 matching lines...) Expand all
1019 'i18n/time_formatting.h', 1023 'i18n/time_formatting.h',
1020 'i18n/timezone.cc', 1024 'i18n/timezone.cc',
1021 'i18n/timezone.h', 1025 'i18n/timezone.h',
1022 'i18n/utf8_validator_tables.cc', 1026 'i18n/utf8_validator_tables.cc',
1023 'i18n/utf8_validator_tables.h', 1027 'i18n/utf8_validator_tables.h',
1024 ], 1028 ],
1025 }] 1029 }]
1026 ], 1030 ],
1027 }, 1031 },
1028 } 1032 }
OLDNEW
« 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