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

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, remove a few more targets that do not work on android yet 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') | url/BUILD.gn » ('J')
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 d1709d441f732c1dccd3730ec55f7544ee0b92d9..cddc0d489b4bd838527c2c6726ef273acc5bbe1c 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -683,6 +683,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') | url/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698