diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-03 23:38:51 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-03 23:38:51 +0000 |
commit | 4006448408b35ca6be5aef5db1be1e966d31eee4 (patch) | |
tree | d5b94f868aed7307b289fe0ab937d49a21a762ef /base/base.gypi | |
parent | bdcf77a58ac680951fc6bf4f02b3b46f172ab01b (diff) | |
download | chromium_src-4006448408b35ca6be5aef5db1be1e966d31eee4.zip chromium_src-4006448408b35ca6be5aef5db1be1e966d31eee4.tar.gz chromium_src-4006448408b35ca6be5aef5db1be1e966d31eee4.tar.bz2 |
Modify ThreadChecker and NonThreadSafe so that their
functionality is available in release builds if explicitly
requested by using their Impl types. The default usage remains
that they do nothing in release mode.
Also, update unit tests to run in release mode, verifying that the release versions of NonThreadSafe and ThreadChecker do nothing in release builds.
BUG=none
TEST=base unit tests
Review URL: http://codereview.chromium.org/6599004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r-- | base/base.gypi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/base.gypi b/base/base.gypi index 508c4a4..ef1d8d8 100644 --- a/base/base.gypi +++ b/base/base.gypi @@ -251,8 +251,9 @@ 'task_queue.cc', 'task_queue.h', 'template_util.h', - 'threading/non_thread_safe.cc', 'threading/non_thread_safe.h', + 'threading/non_thread_safe_impl.cc', + 'threading/non_thread_safe_impl.h', 'threading/platform_thread.h', 'threading/platform_thread_mac.mm', 'threading/platform_thread_posix.cc', @@ -261,8 +262,9 @@ 'threading/simple_thread.h', 'threading/thread.cc', 'threading/thread.h', - 'threading/thread_checker.cc', 'threading/thread_checker.h', + 'threading/thread_checker_impl.cc', + 'threading/thread_checker_impl.h', 'threading/thread_collision_warner.cc', 'threading/thread_collision_warner.h', 'threading/thread_local.h', |