OLD | NEW |
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 Loading... |
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 platforms with native utf8 |
| 983 # strings |
| 984 ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', { |
| 985 'defines': ['SYSTEM_NATIVE_UTF8'], |
| 986 }], |
982 ], | 987 ], |
983 }], | 988 }], |
984 ['base_i18n_target==1', { | 989 ['base_i18n_target==1', { |
985 'defines': [ | 990 'defines': [ |
986 'BASE_I18N_IMPLEMENTATION', | 991 'BASE_I18N_IMPLEMENTATION', |
987 ], | 992 ], |
988 'sources': [ | 993 'sources': [ |
989 'i18n/base_i18n_export.h', | 994 'i18n/base_i18n_export.h', |
990 'i18n/bidi_line_iterator.cc', | 995 'i18n/bidi_line_iterator.cc', |
991 'i18n/bidi_line_iterator.h', | 996 'i18n/bidi_line_iterator.h', |
(...skipping 27 matching lines...) Expand all Loading... |
1019 'i18n/time_formatting.h', | 1024 'i18n/time_formatting.h', |
1020 'i18n/timezone.cc', | 1025 'i18n/timezone.cc', |
1021 'i18n/timezone.h', | 1026 'i18n/timezone.h', |
1022 'i18n/utf8_validator_tables.cc', | 1027 'i18n/utf8_validator_tables.cc', |
1023 'i18n/utf8_validator_tables.h', | 1028 'i18n/utf8_validator_tables.h', |
1024 ], | 1029 ], |
1025 }] | 1030 }] |
1026 ], | 1031 ], |
1027 }, | 1032 }, |
1028 } | 1033 } |
OLD | NEW |