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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 7aa8659b50c078f00fb261ccd136a9ffe6096fe9..c10935b8a7682674a981bbaeb9aa586fb73343ba 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -682,6 +682,32 @@ component("base") {
"win/wrapped_window_proc.h",
]
+ if (is_android) {
+ sources -= [
+ "debug/stack_trace_posix.cc",
+ ]
+
+ # TODO(dpranke): crbug.com/360936.
+ # These are disabled until we have JNI support on Android.
+ sources -= [
+ "android/activity_status.cc",
+ "android/base_jni_registrar.cc",
+ "android/base_jni_registrar.h",
+ "android/build_info.cc",
+ "android/build_info.h",
+ "android/cpu_features.cc",
+ "android/important_file_writer_android.cc",
+ "android/memory_pressure_listener_android.cc",
+ "android/path_service_android.cc",
+ "android/path_utils.cc",
+ "android/sys_utils.cc",
+ "android/trace_event_binding.cc",
+ "message_loop/message_pump_android.cc",
+ "power_monitor/power_monitor_device_source_android.cc",
+ "threading/platform_thread_android.cc",
+ ]
+ }
+
# TODO(brettw) I don't understand the conditions this file is used.
sources -= [ "files/file_path_watcher_stub.cc" ]

Powered by Google App Engine
This is Rietveld 408576698