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

Unified Diff: base/BUILD.gn

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: (rebase) Created 3 years, 7 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/discardable_shared_memory.h » ('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 82e9c8ab987551da3731838b09493b4708c48eae..5f64bf17e9d88864dbf4f6df6d3fe4672d90c901 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -514,6 +514,8 @@ component("base") {
"memory/shared_memory_mac.cc",
"memory/shared_memory_nacl.cc",
"memory/shared_memory_posix.cc",
+ "memory/shared_memory_tracker.cc",
+ "memory/shared_memory_tracker.h",
"memory/shared_memory_win.cc",
"memory/singleton.cc",
"memory/singleton.h",
@@ -1649,13 +1651,6 @@ 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/discardable_shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698