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

Unified Diff: base/BUILD.gn

Issue 2654073002: base: Introduce SharedMemoryTracker for POSIX (but not macOS) (Closed)
Patch Set: Fix PRESUBMIT.py Created 3 years, 9 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
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 96ddf2f1aa29aa53108183494792d799df752ef4..e048e3bfe3883e2e3db75df273297b2f6c2749eb 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1592,6 +1592,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 | « PRESUBMIT.py ('k') | base/memory/shared_memory.h » ('j') | base/memory/shared_memory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698