diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-05 23:15:58 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-05 23:15:58 +0000 |
commit | 56fedfa29f49ce793d3343525f120eaff5f2b752 (patch) | |
tree | a4b709a6fbc9587338f3fed58f5f885e8138486a /base/base.gypi | |
parent | 27bc9e8ac1922f88fbe003c9b050add4e27321b0 (diff) | |
download | chromium_src-56fedfa29f49ce793d3343525f120eaff5f2b752.zip chromium_src-56fedfa29f49ce793d3343525f120eaff5f2b752.tar.gz chromium_src-56fedfa29f49ce793d3343525f120eaff5f2b752.tar.bz2 |
[Mac] Use Linux WorkerPool code.
Adapts things to use the Linux WorkerPool code by default, with
--disable-linux-workerpool to switch back to the old version.
The old implementation uses NSOperationQueue, which is implemented in
terms of pthread workqueues. These are implicated by the stack traces
from the recent unit test flakiness. This change attempts to
influence that flakiness.
BUG=20471, 60426
TEST=Tree green.
Review URL: http://codereview.chromium.org/4595001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r-- | base/base.gypi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi index f9570aab..abad639 100644 --- a/base/base.gypi +++ b/base/base.gypi @@ -354,6 +354,13 @@ ], }, ], + # Temporarily include linux implementation while debugging a + # workerpool issue. See http://crbug.com/20471 and + # http://crbug.com/60426 + [ 'OS == "mac"', { + 'sources/': [ ['include', '(^|/)worker_pool_linux\.cc$'] ], + }, + ], [ 'OS != "mac"', { 'sources!': [ 'scoped_aedesc.h' |