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

Unified Diff: base/BUILD.gn

Issue 2654073002: base: Introduce SharedMemoryTracker for POSIX (but not macOS) (Closed)
Patch Set: Use 1 bucket / actually no more bucket 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/memory/shared_memory.h » ('j') | base/memory/shared_memory.h » ('J')
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 fc39018efc63064b454280af10a0892817190c72..c6a8b626a8aea5daa235b5099828e96f3969b623 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1577,6 +1577,13 @@ component("base") {
sources += [ "power_monitor/power_monitor_device_source_posix.cc" ]
}
+ if (is_posix && !is_mac && !is_nacl) {
+ sources += [
+ "memory/shared_memory_tracker.cc",
+ "memory/shared_memory_tracker.h",
+ ]
+ }
+
if (!use_glib) {
sources -= [
"message_loop/message_pump_glib.cc",
« no previous file with comments | « no previous file | base/memory/shared_memory.h » ('j') | base/memory/shared_memory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698