Chromium Code Reviews| 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. |