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

Unified Diff: base/BUILD.gn

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: (wip) 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 e2c748d7af6ec7f71ba90fbaabf701f4faa23219..894238ab5bb29be40b7eb3af37dbb3b45018c3d5 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -541,6 +541,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",
@@ -1250,6 +1252,7 @@ component("base") {
"memory/shared_memory_helper.cc",
"memory/shared_memory_helper.h",
"memory/shared_memory_posix.cc",
+ "memory/shared_memory_tracker.cc",
"native_library.cc",
"native_library_posix.cc",
"path_service.cc",
@@ -1589,13 +1592,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/shared_memory.h » ('j') | components/discardable_memory/service/discardable_shared_memory_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698