Index: base/base.gypi |
diff --git a/base/base.gypi b/base/base.gypi |
index d88824ad001f43bc79d51c68b99831a00ad95ac7..375546a16a61b0847f421d23f4b1047a0def5f7b 100644 |
--- a/base/base.gypi |
+++ b/base/base.gypi |
@@ -471,6 +471,8 @@ |
'threading/non_thread_safe_impl.cc', |
'threading/non_thread_safe_impl.h', |
'threading/platform_thread.h', |
+ 'threading/platform_thread_android.cc', |
+ 'threading/platform_thread_linux.cc', |
'threading/platform_thread_mac.mm', |
'threading/platform_thread_posix.cc', |
'threading/platform_thread_win.cc', |
@@ -653,8 +655,11 @@ |
'threading/sequenced_worker_pool.cc', |
'third_party/dynamic_annotations/dynamic_annotations.c', |
], |
- # Metrics won't work in the NaCl sandbox. |
- 'sources/': [ ['exclude', '^metrics/'] ], |
+ 'sources/': [ |
+ # Metrics won't work in the NaCl sandbox. |
+ ['exclude', '^metrics/'], |
+ ['include', '^threading/platform_thread_linux\\.cc$'], |
+ ], |
}], |
['OS == "android" and >(nacl_untrusted_build)==0', { |
'sources!': [ |
@@ -672,6 +677,12 @@ |
['include', '^worker_pool_linux\\.cc$'], |
], |
}], |
+ ['OS == "android" and _toolset == "host" and host_os == "linux"', { |
+ 'sources/': [ |
+ # Pull in specific files for host builds. |
+ ['include', '^threading/platform_thread_linux\\.cc$'], |
+ ], |
+ }], |
['OS == "ios" and _toolset != "host"', { |
'sources/': [ |
# Pull in specific Mac files for iOS (which have been filtered out |