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 external = true | |
9 sources = [ | 8 sources = [ |
10 "../build/build_config.h", | 9 "../build/build_config.h", |
11 "third_party/dmg_fp/dmg_fp.h", | 10 "third_party/dmg_fp/dmg_fp.h", |
12 "third_party/dmg_fp/g_fmt.cc", | 11 "third_party/dmg_fp/g_fmt.cc", |
13 "third_party/dmg_fp/dtoa_wrapper.cc", | 12 "third_party/dmg_fp/dtoa_wrapper.cc", |
14 "third_party/icu/icu_utf.cc", | 13 "third_party/icu/icu_utf.cc", |
15 "third_party/icu/icu_utf.h", | 14 "third_party/icu/icu_utf.h", |
16 "allocator/allocator_extension.cc", | 15 "allocator/allocator_extension.cc", |
17 "allocator/allocator_extension.h", | 16 "allocator/allocator_extension.h", |
18 "allocator/type_profiler_control.cc", | 17 "allocator/type_profiler_control.cc", |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 "message_loop/message_pump_gtk.cc", | 835 "message_loop/message_pump_gtk.cc", |
837 "message_loop/message_pump_gtk.h", | 836 "message_loop/message_pump_gtk.h", |
838 ] | 837 ] |
839 } | 838 } |
840 } | 839 } |
841 | 840 |
842 # This is the subset of files from base that should not be used with a dynamic | 841 # This is the subset of files from base that should not be used with a dynamic |
843 # library. Note that this library cannot depend on base because base depends on | 842 # library. Note that this library cannot depend on base because base depends on |
844 # base_static. | 843 # base_static. |
845 static_library("base_static") { | 844 static_library("base_static") { |
846 external = true | |
847 sources = [ | 845 sources = [ |
848 "base_switches.cc", | 846 "base_switches.cc", |
849 "base_switches.h", | 847 "base_switches.h", |
850 "win/pe_image.cc", | 848 "win/pe_image.cc", |
851 "win/pe_image.h", | 849 "win/pe_image.h", |
852 ] | 850 ] |
853 } | 851 } |
854 | 852 |
855 component("base_i18n") { | 853 component("base_i18n") { |
856 external = true | |
857 sources = [ | 854 sources = [ |
858 "i18n/base_i18n_export.h", | 855 "i18n/base_i18n_export.h", |
859 "i18n/bidi_line_iterator.cc", | 856 "i18n/bidi_line_iterator.cc", |
860 "i18n/bidi_line_iterator.h", | 857 "i18n/bidi_line_iterator.h", |
861 "i18n/break_iterator.cc", | 858 "i18n/break_iterator.cc", |
862 "i18n/break_iterator.h", | 859 "i18n/break_iterator.h", |
863 "i18n/char_iterator.cc", | 860 "i18n/char_iterator.cc", |
864 "i18n/char_iterator.h", | 861 "i18n/char_iterator.h", |
865 "i18n/case_conversion.cc", | 862 "i18n/case_conversion.cc", |
866 "i18n/case_conversion.h", | 863 "i18n/case_conversion.h", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 899 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
903 # 'msvs_disabled_warnings': [ | 900 # 'msvs_disabled_warnings': [ |
904 # 4267, | 901 # 4267, |
905 # ], | 902 # ], |
906 # }], | 903 # }], |
907 #], | 904 #], |
908 #'variables': { | 905 #'variables': { |
909 # 'optimize': 'max', | 906 # 'optimize': 'max', |
910 #}, | 907 #}, |
911 } | 908 } |
OLD | NEW |