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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 "win/startup_information.cc", | 676 "win/startup_information.cc", |
677 "win/startup_information.h", | 677 "win/startup_information.h", |
678 "win/win_util.cc", | 678 "win/win_util.cc", |
679 "win/win_util.h", | 679 "win/win_util.h", |
680 "win/windows_version.cc", | 680 "win/windows_version.cc", |
681 "win/windows_version.h", | 681 "win/windows_version.h", |
682 "win/wrapped_window_proc.cc", | 682 "win/wrapped_window_proc.cc", |
683 "win/wrapped_window_proc.h", | 683 "win/wrapped_window_proc.h", |
684 ] | 684 ] |
685 | 685 |
| 686 if (is_android) { |
| 687 sources -= [ |
| 688 "debug/stack_trace_posix.cc", |
| 689 ] |
| 690 |
| 691 # TODO(dpranke): crbug.com/360936. |
| 692 # These are disabled until we have JNI support on Android. |
| 693 sources -= [ |
| 694 "android/activity_status.cc", |
| 695 "android/base_jni_registrar.cc", |
| 696 "android/base_jni_registrar.h", |
| 697 "android/build_info.cc", |
| 698 "android/build_info.h", |
| 699 "android/cpu_features.cc", |
| 700 "android/important_file_writer_android.cc", |
| 701 "android/memory_pressure_listener_android.cc", |
| 702 "android/path_service_android.cc", |
| 703 "android/path_utils.cc", |
| 704 "android/sys_utils.cc", |
| 705 "android/trace_event_binding.cc", |
| 706 "message_loop/message_pump_android.cc", |
| 707 "power_monitor/power_monitor_device_source_android.cc", |
| 708 "threading/platform_thread_android.cc", |
| 709 ] |
| 710 } |
| 711 |
686 # TODO(brettw) I don't understand the conditions this file is used. | 712 # TODO(brettw) I don't understand the conditions this file is used. |
687 sources -= [ "files/file_path_watcher_stub.cc" ] | 713 sources -= [ "files/file_path_watcher_stub.cc" ] |
688 | 714 |
689 sources -= [ | 715 sources -= [ |
690 "process/process_handle_freebsd.cc", | 716 "process/process_handle_freebsd.cc", |
691 "process/process_handle_openbsd.cc", | 717 "process/process_handle_openbsd.cc", |
692 "process/process_iterator_freebsd.cc", | 718 "process/process_iterator_freebsd.cc", |
693 "process/process_iterator_openbsd.cc", | 719 "process/process_iterator_openbsd.cc", |
694 "process/process_metrics_freebsd.cc", | 720 "process/process_metrics_freebsd.cc", |
695 "process/process_metrics_openbsd.cc", | 721 "process/process_metrics_openbsd.cc", |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 928 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
903 # 'msvs_disabled_warnings': [ | 929 # 'msvs_disabled_warnings': [ |
904 # 4267, | 930 # 4267, |
905 # ], | 931 # ], |
906 # }], | 932 # }], |
907 #], | 933 #], |
908 #'variables': { | 934 #'variables': { |
909 # 'optimize': 'max', | 935 # 'optimize': 'max', |
910 #}, | 936 #}, |
911 } | 937 } |
OLD | NEW |