Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(772)

Side by Side Diff: base/BUILD.gn

Issue 227673008: Checkpoint work to get GN builds working on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "../build/build_config.h", 9 "../build/build_config.h",
10 "third_party/dmg_fp/dmg_fp.h", 10 "third_party/dmg_fp/dmg_fp.h",
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 "win/startup_information.cc", 675 "win/startup_information.cc",
676 "win/startup_information.h", 676 "win/startup_information.h",
677 "win/win_util.cc", 677 "win/win_util.cc",
678 "win/win_util.h", 678 "win/win_util.h",
679 "win/windows_version.cc", 679 "win/windows_version.cc",
680 "win/windows_version.h", 680 "win/windows_version.h",
681 "win/wrapped_window_proc.cc", 681 "win/wrapped_window_proc.cc",
682 "win/wrapped_window_proc.h", 682 "win/wrapped_window_proc.h",
683 ] 683 ]
684 684
685 if (is_android) {
686 sources -= [
687 "debug/stack_trace_posix.cc",
688 ]
689
690 # TODO(dpranke): crbug.com/360936.
691 # These are disabled until we have JNI support on Android.
692 sources -= [
693 "android/activity_status.cc",
694 "android/base_jni_registrar.cc",
695 "android/base_jni_registrar.h",
696 "android/build_info.cc",
697 "android/build_info.h",
698 "android/cpu_features.cc",
699 "android/important_file_writer_android.cc",
700 "android/memory_pressure_listener_android.cc",
701 "android/path_service_android.cc",
702 "android/path_utils.cc",
703 "android/sys_utils.cc",
704 "android/trace_event_binding.cc",
705 "message_loop/message_pump_android.cc",
706 "power_monitor/power_monitor_device_source_android.cc",
707 "threading/platform_thread_android.cc",
708 ]
709 }
710
685 # TODO(brettw) I don't understand the conditions this file is used. 711 # TODO(brettw) I don't understand the conditions this file is used.
686 sources -= [ "files/file_path_watcher_stub.cc" ] 712 sources -= [ "files/file_path_watcher_stub.cc" ]
687 713
688 sources -= [ 714 sources -= [
689 "process/process_handle_freebsd.cc", 715 "process/process_handle_freebsd.cc",
690 "process/process_handle_openbsd.cc", 716 "process/process_handle_openbsd.cc",
691 "process/process_iterator_freebsd.cc", 717 "process/process_iterator_freebsd.cc",
692 "process/process_iterator_openbsd.cc", 718 "process/process_iterator_openbsd.cc",
693 "process/process_metrics_freebsd.cc", 719 "process/process_metrics_freebsd.cc",
694 "process/process_metrics_openbsd.cc", 720 "process/process_metrics_openbsd.cc",
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 924 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
899 # 'msvs_disabled_warnings': [ 925 # 'msvs_disabled_warnings': [
900 # 4267, 926 # 4267,
901 # ], 927 # ],
902 # }], 928 # }],
903 #], 929 #],
904 #'variables': { 930 #'variables': {
905 # 'optimize': 'max', 931 # 'optimize': 'max',
906 #}, 932 #},
907 } 933 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698