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

Unified Diff: base/BUILD.gn

Issue 2654073002: base: Introduce SharedMemoryTracker for POSIX (but not macOS) (Closed)
Patch Set: Address on reviews Created 3 years, 11 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 fa5e369d68a7df4b924f93cd774f22b95f5672d5..ea384c33807e095e69496f7dbb8094c1a0a9ba6e 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1534,6 +1534,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