Index: base/base.gypi |
diff --git a/base/base.gypi b/base/base.gypi |
index 6e7d88d0e3f77b7d84fd2f7c3ed6822e7fc199c0..0092e56528553dcc571900b67fa819538840a73f 100644 |
--- a/base/base.gypi |
+++ b/base/base.gypi |
@@ -443,8 +443,6 @@ |
[ 'OS == "android"', { |
'sources!': [ |
'files/file_path_watcher_kqueue.cc', |
- 'debug/stack_trace.cc', |
- 'debug/stack_trace_posix.cc', |
'system_monitor/system_monitor_posix.cc', |
], |
'sources/': [ |
@@ -456,9 +454,9 @@ |
# TODO(michaelbai): The below files are excluded because of the |
# missing JNI, add them back when JNI is ready. |
['exclude', '^android/'], |
- ['exclude', '^message_pump_android\\.cc$'], |
['exclude', '^base_paths_android\\.cc$'], |
['exclude', '^debug/stack_trace_android\\.cc$'], |
+ ['exclude', '^message_pump_android\\.cc$'], |
], |
}], |
[ 'OS != "mac"', { |
@@ -603,16 +601,25 @@ |
'defines': [ |
'USE_SYMBOLIZE', |
], |
- 'link_settings': { |
- 'libraries': [ |
- '-llog', |
- ], |
- }, |
'conditions': [ |
[ '_toolset=="host" and host_os=="linux"', { |
'dependencies': [ |
'../build/linux/system.gyp:glib', |
], |
+ 'sources/': [ |
+ ['include', '^atomicops_internals_x86_gcc\\.cc$'], |
+ ], |
+ }], |
+ [ '_toolset=="target"', { |
+ 'sources!': [ |
+ 'debug/stack_trace.cc', |
+ 'debug/stack_trace_posix.cc', |
+ ], |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-llog', |
+ ], |
+ }, |
}], |
], |
}], |