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

Unified Diff: base/BUILD.gn

Issue 2713903002: Move spin_lock into partition_allocator. (Closed)
Patch Set: Remove unnecessary DEPS line. Created 3 years, 10 months 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/allocator/partition_allocator/address_space_randomization.cc » ('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 f82f436086f9a6c357125d25b8d023b752749a62..995becb5af36f33ad6ae8853d7b90bd374710a35 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1311,19 +1311,12 @@ component("base") {
"allocator/partition_allocator/page_allocator.h",
"allocator/partition_allocator/partition_alloc.cc",
"allocator/partition_allocator/partition_alloc.h",
+ "allocator/partition_allocator/spin_lock.cc",
+ "allocator/partition_allocator/spin_lock.h",
]
}
}
- # SpinLock uses inline assembly that doesn't work on NaCl, and for which there
- # is no code for ARMv6.
- if (!is_nacl && (current_cpu != "arm" || arm_version >= 7)) {
- sources += [
- "synchronization/spin_lock.cc",
- "synchronization/spin_lock.h",
- ]
- }
-
# Windows.
if (is_win) {
sources += [
« no previous file with comments | « no previous file | base/allocator/partition_allocator/address_space_randomization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698