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

Unified Diff: base/BUILD.gn

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: Implement buckets 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_handle.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 40f5713cf27d73b72005ab8d8313ed31539737da..96c0aae10519b19b84c2fb493ea9bb7a95da4d14 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -511,12 +511,15 @@ component("base") {
"memory/shared_memory_android.cc",
"memory/shared_memory_handle.h",
"memory/shared_memory_handle_mac.cc",
+ "memory/shared_memory_handle_posix.cc",
"memory/shared_memory_handle_win.cc",
"memory/shared_memory_helper.cc",
"memory/shared_memory_helper.h",
"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",
@@ -1381,6 +1384,7 @@ component("base") {
# Mac or iOS.
if (is_mac || is_ios) {
sources -= [
+ "memory/shared_memory_handle_posix.cc",
"memory/shared_memory_posix.cc",
"native_library_posix.cc",
"strings/sys_string_conversions_posix.cc",
@@ -1498,6 +1502,7 @@ component("base") {
"mac/scoped_objc_class_swizzler.h",
"mac/scoped_objc_class_swizzler.mm",
"mac/scoped_typeref.h",
+ "memory/shared_memory_handle_posix.cc",
"memory/shared_memory_posix.cc",
"message_loop/message_pump_mac.h",
"message_loop/message_pump_mac.mm",
« no previous file with comments | « no previous file | base/memory/shared_memory.h » ('j') | base/memory/shared_memory_handle.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698