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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 ] | 724 ] |
725 | 725 |
726 deps = [ | 726 deps = [ |
727 ":base_static", | 727 ":base_static", |
728 "//base/allocator:allocator_extension_thunks", | 728 "//base/allocator:allocator_extension_thunks", |
729 "//base/third_party/dynamic_annotations", | 729 "//base/third_party/dynamic_annotations", |
730 "//base/third_party/nspr", | 730 "//base/third_party/nspr", |
731 "//third_party/modp_b64", | 731 "//third_party/modp_b64", |
732 ] | 732 ] |
733 | 733 |
734 if (!is_chromeos) { | |
735 sources -= [ | |
736 "sys_info_chromeos.cc", | |
737 ] | |
738 } | |
739 | |
740 if (is_nacl) { | 734 if (is_nacl) { |
741 # These things would otherwise be built on a Posix build but aren't | 735 # These things would otherwise be built on a Posix build but aren't |
742 # supported on NaCl. | 736 # supported on NaCl. |
743 sources -= [ | 737 sources -= [ |
744 "debug/stack_trace_posix.cc", | 738 "debug/stack_trace_posix.cc", |
745 "files/file_enumerator_posix.cc", | 739 "files/file_enumerator_posix.cc", |
746 "file_util_posix.cc", | 740 "file_util_posix.cc", |
747 "message_loop/message_pump_libevent.cc", | 741 "message_loop/message_pump_libevent.cc", |
748 "process/kill_posix.cc", | 742 "process/kill_posix.cc", |
749 "process/launch_posix.cc", | 743 "process/launch_posix.cc", |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 900 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
907 # 'msvs_disabled_warnings': [ | 901 # 'msvs_disabled_warnings': [ |
908 # 4267, | 902 # 4267, |
909 # ], | 903 # ], |
910 # }], | 904 # }], |
911 #], | 905 #], |
912 #'variables': { | 906 #'variables': { |
913 # 'optimize': 'max', | 907 # 'optimize': 'max', |
914 #}, | 908 #}, |
915 } | 909 } |
OLD | NEW |