Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5189)

Unified Diff: base/BUILD.gn

Issue 2484803003: Move WTF::SpinLock to base::SpinLock. (Closed)
Patch Set: Rebase and fix build (NaCl can't have inline assembly). Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/synchronization/spin_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 47ee8fa6aed558d1c468483428b0bad932d76901..28b50b93842daabc6183dd2ff0a5df60f4c50e35 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1201,6 +1201,14 @@ component("base") {
"rand_util_nacl.cc",
"synchronization/read_write_lock_nacl.cc",
]
+
+ # Add stuff that doesn't work in NaCl.
+ sources += [
+ # SpinLock uses GNU-style inline assembly, which the pnacl-clang++
+ # compiler doesn't allow.
dcheng 2016/11/15 02:46:03 Will we need to move things like LazyInstance and
+ "synchronization/spin_lock.cc",
+ "synchronization/spin_lock.h",
+ ]
}
# Windows.
« no previous file with comments | « no previous file | base/synchronization/spin_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698