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", |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 ] | 726 ] |
727 | 727 |
728 deps = [ | 728 deps = [ |
729 ":base_static", | 729 ":base_static", |
730 "//base/allocator:allocator_extension_thunks", | 730 "//base/allocator:allocator_extension_thunks", |
731 "//base/third_party/dynamic_annotations", | 731 "//base/third_party/dynamic_annotations", |
732 "//base/third_party/nspr", | 732 "//base/third_party/nspr", |
733 "//third_party/modp_b64", | 733 "//third_party/modp_b64", |
734 ] | 734 ] |
735 | 735 |
736 if (!is_chromeos) { | |
737 sources -= [ | |
738 "sys_info_chromeos.cc", | |
739 ] | |
740 } | |
741 | |
742 if (is_nacl) { | 736 if (is_nacl) { |
743 # These things would otherwise be built on a Posix build but aren't | 737 # These things would otherwise be built on a Posix build but aren't |
744 # supported on NaCl. | 738 # supported on NaCl. |
745 sources -= [ | 739 sources -= [ |
746 "debug/stack_trace_posix.cc", | 740 "debug/stack_trace_posix.cc", |
747 "files/file_enumerator_posix.cc", | 741 "files/file_enumerator_posix.cc", |
748 "file_util_posix.cc", | 742 "file_util_posix.cc", |
749 "message_loop/message_pump_libevent.cc", | 743 "message_loop/message_pump_libevent.cc", |
750 "process/kill_posix.cc", | 744 "process/kill_posix.cc", |
751 "process/launch_posix.cc", | 745 "process/launch_posix.cc", |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 914 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
921 # 'msvs_disabled_warnings': [ | 915 # 'msvs_disabled_warnings': [ |
922 # 4267, | 916 # 4267, |
923 # ], | 917 # ], |
924 # }], | 918 # }], |
925 #], | 919 #], |
926 #'variables': { | 920 #'variables': { |
927 # 'optimize': 'max', | 921 # 'optimize': 'max', |
928 #}, | 922 #}, |
929 } | 923 } |
OLD | NEW |