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

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: merge forward to 263376 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
« no previous file with comments | « BUILD.gn ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index cc9500d818c04a06c0b248bdb414eda5f3d33d8d..116d80baac8449524ff3f83f87717f26c5ee5a64 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -681,6 +681,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" ]
« no previous file with comments | « BUILD.gn ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698