summaryrefslogtreecommitdiff
path: root/base/threading/thread_unittest.cc
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2015-12-21 08:41:38 -0800
committerChristopher Wiley <wiley@google.com>2015-12-22 11:16:06 -0800
commit69420b8b1f03c3a610b9d9291a3802799c18c99b (patch)
tree0d0d0b6f5a54634cd75a31f2cfa85c1540328522 /base/threading/thread_unittest.cc
parent0124f205017a3cec648ed742ffe075e8a030978a (diff)
downloadlibchrome-69420b8b1f03c3a610b9d9291a3802799c18c99b.tar.gz
Remove dynamic annotations
This is an outdated library that added support for thread/memory safety annotations before clang was extended to support the same. We don't run those tools on Chrome OS or Android, and it is easiest just to remove the library and includes. Bug: 26253162 Test: Compiles, libchrome unittests pass, brilloemulator_arm64 builds Change-Id: I72f3bdad82fa830c9c76922d98b16dfeebfb5389
Diffstat (limited to 'base/threading/thread_unittest.cc')
-rw-r--r--base/threading/thread_unittest.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/threading/thread_unittest.cc b/base/threading/thread_unittest.cc
index 926d5ddf35..9993ca6825 100644
--- a/base/threading/thread_unittest.cc
+++ b/base/threading/thread_unittest.cc
@@ -9,7 +9,6 @@
#include "base/bind.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
-#include "base/third_party/dynamic_annotations/dynamic_annotations.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
@@ -20,8 +19,6 @@ typedef PlatformTest ThreadTest;
namespace {
void ToggleValue(bool* value) {
- ANNOTATE_BENIGN_RACE(value, "Test-only data race on boolean "
- "in base/thread_unittest");
*value = !*value;
}
@@ -29,8 +26,6 @@ class SleepInsideInitThread : public Thread {
public:
SleepInsideInitThread() : Thread("none") {
init_called_ = false;
- ANNOTATE_BENIGN_RACE(
- this, "Benign test-only data race on vptr - http://crbug.com/98219");
}
~SleepInsideInitThread() override { Stop(); }