| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 component("base") { | 5 component("base") { |
| 6 external = true | 6 external = true |
| 7 sources = [ | 7 sources = [ |
| 8 "../build/build_config.h", | 8 "../build/build_config.h", |
| 9 "third_party/dmg_fp/dmg_fp.h", | 9 "third_party/dmg_fp/dmg_fp.h", |
| 10 "third_party/dmg_fp/g_fmt.cc", | 10 "third_party/dmg_fp/g_fmt.cc", |
| (...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 "i18n/number_formatting.h", | 865 "i18n/number_formatting.h", |
| 866 "i18n/rtl.cc", | 866 "i18n/rtl.cc", |
| 867 "i18n/rtl.h", | 867 "i18n/rtl.h", |
| 868 "i18n/string_compare.cc", | 868 "i18n/string_compare.cc", |
| 869 "i18n/string_compare.h", | 869 "i18n/string_compare.h", |
| 870 "i18n/string_search.cc", | 870 "i18n/string_search.cc", |
| 871 "i18n/string_search.h", | 871 "i18n/string_search.h", |
| 872 "i18n/time_formatting.cc", | 872 "i18n/time_formatting.cc", |
| 873 "i18n/time_formatting.h", | 873 "i18n/time_formatting.h", |
| 874 ] | 874 ] |
| 875 defines = [ "BASE_I18N_IMPLEMENTATION" ] |
| 876 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 875 deps = [ | 877 deps = [ |
| 876 ":base", | 878 ":base", |
| 877 "//base/third_party/dynamic_annotations", | 879 "//base/third_party/dynamic_annotations", |
| 878 "//third_party/icu:icui18n", | 880 "//third_party/icu:icui18n", |
| 879 "//third_party/icu:icuuc", | 881 "//third_party/icu:icuuc", |
| 880 ] | 882 ] |
| 881 defines = [ | |
| 882 "BASE_I18N_IMPLEMENTATION", | |
| 883 ] | |
| 884 | 883 |
| 885 if (toolkit_uses_gtk) { | 884 if (toolkit_uses_gtk) { |
| 886 # i18n/rtl.cc uses gtk | 885 # i18n/rtl.cc uses gtk |
| 887 configs += "//build/config/linux:gtk" | 886 configs += "//build/config/linux:gtk" |
| 888 } | 887 } |
| 889 | 888 |
| 890 #'conditions': [ | 889 #'conditions': [ |
| 891 # ['OS == "win"', { | 890 # ['OS == "win"', { |
| 892 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 891 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 893 # 'msvs_disabled_warnings': [ | 892 # 'msvs_disabled_warnings': [ |
| 894 # 4267, | 893 # 4267, |
| 895 # ], | 894 # ], |
| 896 # }], | 895 # }], |
| 897 #], | 896 #], |
| 898 #'variables': { | 897 #'variables': { |
| 899 # 'enable_wexit_time_destructors': 1, | |
| 900 # 'optimize': 'max', | 898 # 'optimize': 'max', |
| 901 #}, | 899 #}, |
| 902 } | 900 } |
| OLD | NEW |