| 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 component("base") { | 7 component("base") { |
| 8 sources = [ | 8 sources = [ |
| 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", |
| 11 "third_party/dmg_fp/dtoa_wrapper.cc", | 11 "third_party/dmg_fp/dtoa_wrapper.cc", |
| 12 "third_party/icu/icu_utf.cc", | 12 "third_party/icu/icu_utf.cc", |
| 13 "third_party/icu/icu_utf.h", | 13 "third_party/icu/icu_utf.h", |
| 14 "third_party/superfasthash/superfasthash.c", |
| 14 "allocator/allocator_extension.cc", | 15 "allocator/allocator_extension.cc", |
| 15 "allocator/allocator_extension.h", | 16 "allocator/allocator_extension.h", |
| 16 "allocator/type_profiler_control.cc", | 17 "allocator/type_profiler_control.cc", |
| 17 "allocator/type_profiler_control.h", | 18 "allocator/type_profiler_control.h", |
| 18 "android/activity_status.cc", | 19 "android/activity_status.cc", |
| 19 "android/activity_status.h", | 20 "android/activity_status.h", |
| 20 "android/base_jni_registrar.cc", | 21 "android/base_jni_registrar.cc", |
| 21 "android/base_jni_registrar.h", | 22 "android/base_jni_registrar.h", |
| 22 "android/build_info.cc", | 23 "android/build_info.cc", |
| 23 "android/build_info.h", | 24 "android/build_info.h", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 "base_paths_mac.h", | 69 "base_paths_mac.h", |
| 69 "base_paths_mac.mm", | 70 "base_paths_mac.mm", |
| 70 "base_paths_posix.cc", | 71 "base_paths_posix.cc", |
| 71 "base_paths_posix.h", | 72 "base_paths_posix.h", |
| 72 "base_paths_win.cc", | 73 "base_paths_win.cc", |
| 73 "base_paths_win.h", | 74 "base_paths_win.h", |
| 74 "base_switches.h", | 75 "base_switches.h", |
| 75 "base64.cc", | 76 "base64.cc", |
| 76 "base64.h", | 77 "base64.h", |
| 77 "basictypes.h", | 78 "basictypes.h", |
| 79 "big_endian.cc", |
| 80 "big_endian.h", |
| 78 "bind.h", | 81 "bind.h", |
| 79 "bind_helpers.cc", | 82 "bind_helpers.cc", |
| 80 "bind_helpers.h", | 83 "bind_helpers.h", |
| 81 "bind_internal.h", | 84 "bind_internal.h", |
| 82 "bind_internal_win.h", | 85 "bind_internal_win.h", |
| 83 "bits.h", | 86 "bits.h", |
| 84 "build_time.cc", | 87 "build_time.cc", |
| 85 "build_time.h", | 88 "build_time.h", |
| 86 "callback.h", | 89 "callback.h", |
| 87 "callback_helpers.h", | 90 "callback_helpers.h", |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 } | 855 } |
| 853 | 856 |
| 854 component("i18n") { | 857 component("i18n") { |
| 855 output_name = "base_i18n" | 858 output_name = "base_i18n" |
| 856 sources = [ | 859 sources = [ |
| 857 "i18n/base_i18n_export.h", | 860 "i18n/base_i18n_export.h", |
| 858 "i18n/bidi_line_iterator.cc", | 861 "i18n/bidi_line_iterator.cc", |
| 859 "i18n/bidi_line_iterator.h", | 862 "i18n/bidi_line_iterator.h", |
| 860 "i18n/break_iterator.cc", | 863 "i18n/break_iterator.cc", |
| 861 "i18n/break_iterator.h", | 864 "i18n/break_iterator.h", |
| 865 "i18n/case_conversion.cc", |
| 866 "i18n/case_conversion.h", |
| 862 "i18n/char_iterator.cc", | 867 "i18n/char_iterator.cc", |
| 863 "i18n/char_iterator.h", | 868 "i18n/char_iterator.h", |
| 864 "i18n/case_conversion.cc", | |
| 865 "i18n/case_conversion.h", | |
| 866 "i18n/file_util_icu.cc", | 869 "i18n/file_util_icu.cc", |
| 867 "i18n/file_util_icu.h", | 870 "i18n/file_util_icu.h", |
| 871 "i18n/i18n_constants.cc", |
| 872 "i18n/i18n_constants.h", |
| 868 "i18n/icu_encoding_detection.cc", | 873 "i18n/icu_encoding_detection.cc", |
| 869 "i18n/icu_encoding_detection.h", | 874 "i18n/icu_encoding_detection.h", |
| 870 "i18n/icu_string_conversions.cc", | 875 "i18n/icu_string_conversions.cc", |
| 871 "i18n/icu_string_conversions.h", | 876 "i18n/icu_string_conversions.h", |
| 872 "i18n/icu_util.cc", | 877 "i18n/icu_util.cc", |
| 873 "i18n/icu_util.h", | 878 "i18n/icu_util.h", |
| 874 "i18n/number_formatting.cc", | 879 "i18n/number_formatting.cc", |
| 875 "i18n/number_formatting.h", | 880 "i18n/number_formatting.h", |
| 876 "i18n/rtl.cc", | 881 "i18n/rtl.cc", |
| 877 "i18n/rtl.h", | 882 "i18n/rtl.h", |
| 883 "i18n/streaming_utf8_validator.cc", |
| 884 "i18n/streaming_utf8_validator.h", |
| 878 "i18n/string_compare.cc", | 885 "i18n/string_compare.cc", |
| 879 "i18n/string_compare.h", | 886 "i18n/string_compare.h", |
| 880 "i18n/string_search.cc", | 887 "i18n/string_search.cc", |
| 881 "i18n/string_search.h", | 888 "i18n/string_search.h", |
| 882 "i18n/time_formatting.cc", | 889 "i18n/time_formatting.cc", |
| 883 "i18n/time_formatting.h", | 890 "i18n/time_formatting.h", |
| 891 "i18n/timezone.cc", |
| 892 "i18n/timezone.h", |
| 893 "i18n/utf8_validator_tables.cc", |
| 894 "i18n/utf8_validator_tables.h", |
| 884 ] | 895 ] |
| 885 defines = [ "BASE_I18N_IMPLEMENTATION" ] | 896 defines = [ "BASE_I18N_IMPLEMENTATION" ] |
| 886 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 897 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 887 deps = [ | 898 deps = [ |
| 888 ":base", | 899 ":base", |
| 889 "//base/third_party/dynamic_annotations", | 900 "//base/third_party/dynamic_annotations", |
| 890 "//third_party/icu", | 901 "//third_party/icu", |
| 891 ] | 902 ] |
| 892 | 903 |
| 893 if (toolkit_uses_gtk) { | 904 if (toolkit_uses_gtk) { |
| 894 # i18n/rtl.cc uses gtk | 905 # i18n/rtl.cc uses gtk |
| 895 configs += [ "//build/config/linux:gtk" ] | 906 configs += [ "//build/config/linux:gtk" ] |
| 896 } | 907 } |
| 897 | 908 |
| 898 #'conditions': [ | 909 #'conditions': [ |
| 899 # ['OS == "win"', { | 910 # ['OS == "win"', { |
| 900 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 911 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 901 # 'msvs_disabled_warnings': [ | 912 # 'msvs_disabled_warnings': [ |
| 902 # 4267, | 913 # 4267, |
| 903 # ], | 914 # ], |
| 904 # }], | 915 # }], |
| 905 #], | 916 #], |
| 906 #'variables': { | 917 #'variables': { |
| 907 # 'optimize': 'max', | 918 # 'optimize': 'max', |
| 908 #}, | 919 #}, |
| 909 } | 920 } |
| OLD | NEW |